[jboss-user] [Messaging, JMS & JBossMQ] - JBoss MQSeries, remote connection not working....
SriniRaghu
do-not-reply at jboss.com
Mon Aug 6 03:42:09 EDT 2007
Hi Friends,
I am integrating JBoss with MQSeries. I have issues when I connect to MQSeries on a remote system, how ever with my local things work FINE...
I use the MDB in JBoss to listen to MQseries. below is the JBoss-service.xml for generating the sar file for JNDI lookup.
when I replace the external ip with "localhost" and then change the QM, Channel and Queue name things work fine. However with the below XML it gives me an exception
----------------------------Exception-------------
13:08:00,359 INFO [JMSContainerInvoker] Trying to reconnect to JMS provider for
MDB
13:08:20,875 ERROR [JMSContainerInvoker] Reconnect failed: JMS provider failure
detected for MDB
javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for '192.168.
1.91:QM_cg111'
--------------------------------------------------------
Can anyone please help me in resolving this issue. I have double checked the IP, QM, Channel, Port and Qname its all fine. I have changed the port from 1414 to 8000, and I am able to telnet to the same...
Thanks,
Srini
________________JBoss-Service.xml________________________
<server>
|
| <mbean code="jmx.service.wsmq.WSMQConnectionFactory"
| name="jmx.service.wsmq:service=WSMQXAQueueConnectionFactory">
| <attribute name="JndiName">WSMQXAQueueConnectionFactory</attribute>
| <attribute name="JMSStyle">Queue</attribute>
| <attribute name="IsXA">true</attribute>
| <attribute name="QueueManagerName">QM_cg111</attribute>
| <attribute name="HostName">192.168.1.91</attribute>
| <attribute name="Port">8000</attribute>
| <attribute name="Channel">S_cg111</attribute>
| <!-- MQJMS_TP_BINDINGS_MQ, MQJMS_TP_CLIENT_MQ_TCPIP, MQJMS_TP_DIRECT_TCPIP -->
| <attribute name="TransportType">MQJMS_TP_CLIENT_MQ_TCPIP</attribute>
| <depends>jboss:service=Naming</depends>
| </mbean>
|
| <mbean code="jmx.service.wsmq.WSMQConnectionFactory"
| name="jmx.service.wsmq:service=MQQueueConnectionFactory">
| <attribute name="JndiName">WSMQQueueConnectionFactory</attribute>
| <attribute name="JMSStyle">Queue</attribute>
| <attribute name="IsXA">false</attribute>
| <attribute name="QueueManagerName">QM_cg111</attribute>
| <attribute name="HostName">192.168.1.91</attribute>
| <attribute name="Port">8000</attribute>
| <attribute name="Channel">S_cg111</attribute>
| <!-- MQJMS_TP_BINDINGS_MQ, MQJMS_TP_CLIENT_MQ_TCPIP, MQJMS_TP_DIRECT_TCPIP -->
| <attribute name="TransportType">MQJMS_TP_CLIENT_MQ_TCPIP</attribute>
| <depends>jboss:service=Naming</depends>
| </mbean>
|
| <mbean code="jmx.service.wsmq.WSMQDestination"
| name="jmx.service.wsmq:service=WSMQRequestQueue">
| <attribute name="JndiName">wsmq/RequestQueue</attribute>
| <attribute name="JMSStyle">Queue</attribute>
| <attribute name="QueueManagerName">QM_cg111</attribute>
| <attribute name="DestinationName">RequestQueue</attribute>
| <depends>jboss:service=Naming</depends>
| </mbean>
|
| <mbean code="jmx.service.wsmq.WSMQDestination"
| name="jmx.service.wsmq:service=WSMQResponseQueue">
| <attribute name="JndiName">wsmq/ResponseQueue</attribute>
| <attribute name="JMSStyle">Queue</attribute>
| <attribute name="QueueManagerName">QM_cg111</attribute>
| <attribute name="DestinationName">ResponseQueue</attribute>
| <depends>jboss:service=Naming</depends>
| </mbean>
|
| </server>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071040#4071040
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071040
More information about the jboss-user
mailing list