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.

 View Only
  • 1.  JMS Adapter Configuration Problem for XA transactions

    Posted Fri October 28, 2005 05:31 PM

    While I was configuring the JMS adapter for XA transaction, I have the following Error.

    Error encountered
    [ART.118.5042] Adapter Runtime (Connection): Unable to enable connection resource wMJmsQueue:sboJMSqueue.
    [ART.118.5036] Adapter Runtime (Connection): Unable to configure connection manager.
    can only be called from server

    I CONFIGURED AS FOLLOWS:

    Connection Properties

    Transaction Type: XA_TRANSACTION
    JNDI Initial Context Factory: weblogic.jndi.WLInitialContextFactory
    JNDI Provider URL: t3://localhost:7001
    JNDI Security Principal: weblogic
    JNDI Security Credentials: weblogic
    JNDI Other Properties:
    QueueConnectionFactory JNDI Name: javax.jms.QueueConnectionFactory
    JMS user weblogic
    JMS password weblogic
    Retype JMS password weblogic

    Connection Management Properties

    Enable Connection Pooling true
    Minimum Pool Size 1
    Maximum Pool Size 10
    Pool Increment Size 1
    Block Timeout (msec) 1000
    Expire Timeout (msec) 1000
    Startup Retry Count 0
    Startup Backoff Timeout (sec) 10

    Please let me know this ASAP.
    Thanks in Advance
    Sunny.


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods-Architecture


  • 2.  RE: JMS Adapter Configuration Problem for XA transactions

    Posted Fri October 28, 2005 09:51 PM

    Please make sure you have all the right and updated jars in the common/lib directory. Please also make sure you have put the weblogic.jar under <is_dir>/lib/jars.

    Let me know what jars have you loaded.

    Thanks,
    -L


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods-Architecture
    #webMethods


  • 3.  RE: JMS Adapter Configuration Problem for XA transactions

    Posted Sat October 29, 2005 08:44 PM

    Yes weblogic.jar is in IS/LIB/Jars. In that I have OJDBC.jar and weblogic.jar. I want to know if we have to create a QueueConnectionFactory in webLogic for having a connection. If so how? Is the queueconnectionfactory javax.jms.queueconnectionfactory will do the work or I have to change it to some XA transaction related connection.
    Regards
    Suny.


    #webMethods
    #webMethods-Architecture
    #Integration-Server-and-ESB
    #webMethods-General


  • 4.  RE: JMS Adapter Configuration Problem for XA transactions

    Posted Mon October 31, 2005 07:41 PM

    Sunil,

    You need to create a QueueConnectionFactory in weblogic and give the JNDI name of that connection factory in your settings. I am not sure how you can create the same in weblogic as I have never worked on it. But I tried this with other JMS/JNDI providers.


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods
    #webMethods-Architecture


  • 5.  RE: JMS Adapter Configuration Problem for XA transactions

    Posted Wed November 02, 2005 11:19 PM

    Aneel,
    Yes I have Created that queueconnectionfactory in weblogic and tried to give that JNDI name but it gives me the same error.
    Error:
    can only be called from server.
    What does it mean if it says that it can only be called from server?


    #webMethods-Architecture
    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: JMS Adapter Configuration Problem for XA transactions

    Posted Fri November 18, 2005 11:26 PM

    Hi Sunil,
    Please give a try by removing the values for the parameters JNDI Security Principal and JNDI Security Credentials from the JMS Adapter Connection.
    If the JMS queues are not secured(meaning there exists no security settings for the JMS Queues on the application servers and that the JMS Queues are accessed by any application) then providing the values for the above said parameters for the JMS Adapter Connections causes many issues.

    Thanks
    sivaram


    #webMethods-Architecture
    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General