[jboss-user] [JBoss Messaging] - Problem with JMS Bridge and IBM MQ

Arnoud Wolfard do-not-reply at jboss.com
Fri Mar 19 20:13:49 EDT 2010


Arnoud Wolfard [http://community.jboss.org/people/awolfard] created the discussion

"Problem with JMS Bridge and IBM MQ"

To view the discussion, visit: http://community.jboss.org/message/533106#533106

--------------------------------------------------------------
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.

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/533106#533106]

Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100319/1336c693/attachment.html 


More information about the jboss-user mailing list