IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
Expand all | Collapse all

ExecSql problem

  • 1.  ExecSql problem

    Posted Tue April 08, 2003 09:27 PM

    Hi
    I am new to webMethods. I want to use the MSAccess North wind database in WM. I have created an alias with Control panels ODBC utility. When using this in pub.db.execSQL I am getting an error unknown Alias. Can anyone help me out what should I do to run execSQL?


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: ExecSql problem

    Posted Tue April 08, 2003 09:33 PM

    pls check the alias, whether it is establishing connection to MSAccess database or not.

    using service pub.db:connect

    Thanks.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 3.  RE: ExecSql problem

    Posted Tue April 08, 2003 09:40 PM

    All the necessary information is in the developers guide and the help documents. Please refer the same and you will be able to do most of the database stuff
    Good Luck!


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 4.  RE: ExecSql problem

    Posted Tue April 08, 2003 09:43 PM

    Hi, Michael.

    VR and Ram are both right. Start with the manuals and try the DB services. My hunch is that you didn’t properly create a Database Alias using the Administrator (http://localhost:5555).

    Give it a shot and let us know how you make out. Good luck with everything.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 5.  RE: ExecSql problem

    Posted Tue April 08, 2003 09:44 PM

    “…created an alias with Control panels ODBC utility.”

    You need to create an alias with the Integration Server Administration tool. It is this alias, not the ODBC alias, that gets passed to execSQL.

    Follow VR’s advice and take a look at the wM docs. They will provide the info you need to be successful.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: ExecSql problem

    Posted Tue April 08, 2003 10:11 PM

    You need to use WM’s JDBC-ODBC bridge adapter, which comes with the product. Via WM’s Admin, you create an alias with this adapter, using for parameter’s, the ODBC DSN you setup on ODBC manager.

    That’s it. I did not find the manuals very clear on the JDBC connections.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 7.  RE: ExecSql problem

    Posted Tue April 08, 2003 10:47 PM

    Be aware that the “standard” JDBC-ODBC bridge is not re-entrant and WILL cause IS to hang once you try to move to production (in classic Murphy’s Law form, the hang will most likely not occur during development).

    Would strongly encourage using a “real” JDBC driver or a JDBC-ODBC bridge that is known to be re-entrant.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 8.  RE: ExecSql problem

    Posted Tue April 08, 2003 11:06 PM

    Hi, Rob

    Do you have a list of “real” JDBC driver or a JDBC-ODBC bridge that is known to be re-entrant?


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 9.  RE: ExecSql problem

    Posted Tue April 08, 2003 11:11 PM

    What is your database? Every database has its own jdbc driver which is re-entrant. You can get the information from there websites.
    Thanks


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 10.  RE: ExecSql problem



  • 11.  RE: ExecSql problem

    Posted Tue April 08, 2003 11:30 PM

    Oh, and here is a link with information about the JDBC-ODBC driver from Sun:

    [url=“Oracle Java Technologies | Oracle”]Oracle Java Technologies | Oracle

    Note the sentence: “The JDBC-ODBC Bridge should be considered a transitional solution.”

    And I’m not quite being fair the JDBC-ODBC Bridge–usually it is the ODBC driver that is the culprit. “If you need to use multi-threading and your ODBC package does not support it, your client program will have to implement locking.”

    The preferred approach is to use a JDBC driver, avoiding ODBC altogether for performance reasons and to not get bitten by a non-reentrant ODBC driver.


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 12.  RE: ExecSql problem

    Posted Wed April 09, 2003 05:59 PM

    Hi Can anyone give some help on how to fill the parameters on dbalias window on IS.I want to connect to MSAccess default database Northwind.Do I need to load any driver at my machine. I am new to wm so please bear with me. I just installed wm at my local machine.
    Thanks
    Michael


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 13.  RE: ExecSql problem

    Posted Wed April 09, 2003 08:31 PM


  • 14.  RE: ExecSql problem

    Posted Wed April 09, 2003 08:57 PM

    Hi EveryOne
    Thanks for all the help.I have created one Alias in IS and its showing me the all the tables in my SQL statement. The allias name is BILogging. But when I am testing my SQL on IS Server DB page I am getting the following error…
    [MERANT][SequeLink JDBC Driver][SequeLink Server]License verification failed.

    Could anybody tell me whats the problem.

    John


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 15.  RE: ExecSql problem

    Posted Wed April 09, 2003 09:07 PM

    This topic has been discussed here a lot.
    Still, do you have a database setup for trading networks? If you do what driver are you using?
    Let us know.
    Thanks


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 16.  RE: ExecSql problem

    Posted Wed April 09, 2003 09:20 PM