Topic
5 replies Latest Post - ‏2012-08-08T05:58:56Z by AvV
JBOdyssey
JBOdyssey
6 Posts
ACCEPTED ANSWER

Pinned topic JMS Receiver configuration

‏2009-04-20T19:47:54Z |
I'm trying to configure a JMS receiver in WPG 61. I must admit that I am realtively new to WPG but I have tried to follow the direction in the hub admin guide. I did manage to get a JMS destintation to work but I am getting the following exception on the receiver.

com.ibm.bcg.server.receiver.JmsReceiverProcessor trace Exception : Queue connection is null. Possible cause is that JMSConnectionFactory is configured instead of JMSQueueConnectionFactory

com.ibm.bcg.server.receiver.JmsReceiverProcessor trace Got exception while Polling: Exception : Queue connection is null. Possible cause is that JMSConnectionFactory is configured instead of JMSQueueConnectionFactory
javax.jms.JMSException: Exception : Queue connection is null. Possible cause is that JMSConnectionFactory is configured instead of JMSQueueConnectionFactory
at com.ibm.bcg.server.receiver.JmsReceiverProcessor.connect(JmsReceiverProcessor.java:346)
at com.ibm.bcg.server.receiver.JmsReceiverProcessor.run(JmsReceiverProcessor.java:1655)
I configured the queue connection factory as documented in the manual but perhaps I dont have some of the values correct. (examples not real clear)

WQM 6.0 is installed on the same machine. This is a pretty simple out of the box test configuration of MQ and WPG.
Updated on 2012-08-08T05:58:56Z at 2012-08-08T05:58:56Z by AvV
  • SystemAdmin
    SystemAdmin
    527 Posts
    ACCEPTED ANSWER

    Re: JMS Receiver configuration

    ‏2009-05-04T10:20:00Z  in response to JBOdyssey
    Check your configuration by mistake you would have point to JMS Connection factory JNDI instead of JMS Queue Connection Factory. WPG JMS receiver expects JMS Queue Connection Factory JNDI to connect with respective queue as specified.

    Thanks & Regards
    Jayp
    • JBOdyssey
      JBOdyssey
      6 Posts
      ACCEPTED ANSWER

      Re: JMS Receiver configuration

      ‏2009-05-04T13:47:45Z  in response to SystemAdmin
      Thanks for the reply. The actual issue was not having the jar files included correctly in the path.
      • IBM_parul
        IBM_parul
        1 Post
        ACCEPTED ANSWER

        Re: JMS Receiver configuration

        ‏2010-05-10T09:03:03Z  in response to JBOdyssey
        what were the jar files required and where did u put them?
        • brunocrt
          brunocrt
          1 Post
          ACCEPTED ANSWER

          Re: JMS Receiver configuration

          ‏2012-08-07T19:24:17Z  in response to IBM_parul
          I got this from WPG 6 docs
          (http://www-304.ibm.com/support/docview.wss?uid=swg27015291&aid=1)

          Although WebSphere Partner Gateway v6.2 does not require WMQ as a
          prerequisite, if the pre-migration system uses WMQ for JMS integration, then
          follow the instructions mentioned below: copy fscontext.jar and providerutil.jar
          from WMQ_path>\java\lib to the WebSphere Partner Gateway component
          userexits folder.Specifically:Receiver: < WebSphere Partner Gateway_path>\
          receiver\lib\userexits.
          Document Manager: <WebSphere Partner Gateway_path>\router\lib\userexits.
          Restart WebSphere Partner Gateway servers.

          I hope it helps

          regards
        • AvV
          AvV
          117 Posts
          ACCEPTED ANSWER

          Re: JMS Receiver configuration

          ‏2012-08-08T05:58:56Z  in response to IBM_parul
          Hi,

          Instead of copying jar files, it is best practice to change the WebSphere Variable : MQ_INSTALL_ROOT
          You need to install the WMQ Client (or WMQ Server) locally.

          This presentation attached is a collection of questions which has been asked in the past about WMQ and WPG.
          Arjan

          Senior IT-Specialist
          WebSphere B2B (WPG/WDI), WMQ AMS, WMQ FTE
          IBM Software Services for WebSphere
          Software Group, IMT BNL