0 Replies Latest reply on Mar 19, 2010 8:13 PM by awolfard

    Problem with JMS Bridge and IBM MQ

      Hi,

       

      I am trying to create a JMS bridge which bridges a IBM MQ queue (source) and a JBoss Messaging topic (= target).

       

      I installed the IBM MQ stuff via an JCA adapter and I am able to read a message from it via a MDB.

      After that I removed the MDB and put a JMS bridge in stead so the bridge can send the incoming

      message from the IBM MQ queue to the (internal) JBoss topic.

       

      This is not working. I get the following exception:

      com.ibm.msg.client.jms.DetailedIllegalStateException: MQJCA1031: The method can only be called in the application client container. The application was not running in the application client container when this method was called.  Ensure that the application runs in the application client container, or modify the application to avoid this method call.

              at com.ibm.mq.connector.services.JCAExceptionBuilder.buildException(JCAExceptionBuilder.java:149)
              at com.ibm.mq.connector.services.JCAExceptionBuilder.buildException(JCAExceptionBuilder.java:86)
              at com.ibm.mq.connector.outbound.ConnectionWrapper.setExceptionListener(ConnectionWrapper.java:183)
              at org.jboss.jms.server.bridge.Bridge.setupJMSObjects(Bridge.java:968)
              at org.jboss.jms.server.bridge.Bridge.setupJMSObjectsWithRetry(Bridge.java:1166)
              at org.jboss.jms.server.bridge.Bridge.access$1600(Bridge.java:66)
              at org.jboss.jms.server.bridge.Bridge$FailureHandler.run(Bridge.java:1512)
              at java.lang.Thread.run(Unknown Source)

       

      Did anyone seen this error before? And how I can solve this?

       

      I will send some config files later if needed (I am not at work at the moment).

       

      With kind regards,

       

      Arnoud.