webMethods

webMethods

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
Expand all | Collapse all

JMS Adapter with Sonic MQ V7.x -

  • 1.  JMS Adapter with Sonic MQ V7.x -

    Posted Tue June 17, 2008 12:06 PM

    Hello,
    I am facing issue while creating JM Adapter connection in wM with Sonic MQ V7.6. Find below config properties and error log. Appreciate your help.

    Jar file:
    C:\webMethods65\IntegrationServer\lib\jars\jms.jar
    C:\webMethods65\IntegrationServer\lib\jars\mfcontext.jar
    C:\webMethods65\IntegrationServer\lib\jars\providerutil.jar
    C:\webMethods65\IntegrationServer\lib\jars\sonic_Client.jar
    C:\webMethods65\IntegrationServer\lib\jars\sonic_Crypto.jar
    C:\webMethods65\IntegrationServer\lib\jars\sonic_mgmt_client.jar
    C:\webMethods65\IntegrationServer\lib\jars\sonic_Selector.jar
    C:\webMethods65\IntegrationServer\lib\jars\sonic_XA.jar

    Connection info:
    JNDI Initial Context Factory: com.sonicsw.jndi.mfcontext.MFContextFactory
    JNDI Provider URL: tcp://localhost:2506
    QueueConnectionFactory JNDI Name: SampleQ1

    Exception:
    [ADA.680.911] Exception Looking up JNDI Entry “SampleQ1”.
    /SampleQ1 not found in the specified context >>>BasicData:errorResourceBundleName=com.wm.adapter.wmjms.JMSAdapterResourceBundle,errorMessageArgs=[0]SampleQ1,errorCode=911,pipeline=null,stack=javax.naming.NameNotFoundException: /SampleQ1 not found in the specified context
    at com.sonicsw.jndi.mfcontext.MFContext.lookup(Unknown Source)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at com.wm.adapter.wmjms.service.WmJMSUtils.lookupConnectionFactory(WmJMSUtils.java:489)
    at com.wm.adapter.wmjms.service.WmJMSUtils.createQueueConnection(WmJMSUtils.java:102)
    at com.wm.adapter.wmjms.connection.WmJMSQueueConnectionFactory.createQueueConnection(WmJMSQueueConnectionFactory.java:362)
    at com.wm.adapter.wmjms.connection.WmJMSQueueConnectionFactory.getQueueConnection(WmJMSQueueConnectionFactory.java:393)
    at com.wm.adapter.wmjms.connection.WmJMSQueueConnectionFactory.createQueueSession(WmJMSQueueConnectionFactory.java:466)
    at com.wm.adapter.wmjms.connection.WmJMSQueueConnectionFactory.createQueueSession(WmJMSQueueConnectionFactory.java:446)
    at com.wm.adapter.wmjms.connection.WmJMSQueueConnection._createQueueSession(WmJMSQueueConnection.java:85)
    at com.wm.adapter.wmjms.connection.WmJMSQueueConnection.initializeConnection(WmJMSQueueConnection.java:77)
    at com.wm.adk.connection.WmManagedConnectionFactory.createManagedConnection(WmManagedConnectionFactory.java:198)
    at com.wm.app.b2b.server.jca.WmConnectionPool.init(WmConnectionPool.java:244)
    at com.wm.app.b2b.server.jca.WmConnectionPool.(WmConnectionPool.java:161)
    at com.wm.app.b2b.server.jca.WmConnectionManager.setConfiguration(WmConnectionManager.java:207)
    at com.wm.pkg.art.j2eecaBridge.WmConnectionManagerPropertiesBridge.setManagerProperties(WmConnectionManagerPropertiesBridge.java:154)
    at com.wm.pkg.art.ns.ConnectionDataNodeManager.createConnectionManager(ConnectionDataNodeManager.java:826)
    at com.wm.pkg.art.ns.ConnectionDataNode.createAndStartConnectionResource(ConnectionDataNode.java:897)
    at com.wm.pkg.art.ns.Connectionwm.art.admin.connection:setResourceState


    #Integration-Server-and-ESB
    #Adapters-and-E-Standards
    #webMethods


  • 2.  RE: JMS Adapter with Sonic MQ V7.x -

    Posted Fri June 20, 2008 06:12 PM

    Hello,
    This peroblem was resolved, the following link was helpful in configuring connection factory JNDIs at SonicMQ side.

    http://www.iona.com/support/docs/artix/connectwcf/beta/users_guide/ArtixWCFIntroJMSSetSonicMQ.html

    Also, look at Chapter "JMS Administered Objects Tool " in Sonic documentation pdf mq_config_manage file which comes along with SonicMQ installer.

    Cheers.


    #webMethods
    #Adapters-and-E-Standards
    #Integration-Server-and-ESB