camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: bridge between activemq and websphere mq
Date Tue, 15 Sep 2009 13:09:48 GMT
Hi

Its best to ask at activeMQ user forum.

And use google to search this token: JMSWMQ0018

And go ask your IBM MQ admin to see if the MQ broker is configured to
allow remote java clients to connect to it.




On Tue, Sep 15, 2009 at 3:05 PM, mukeshs <mukeshs23@gmail.com> wrote:
>
> Hi,
>
> I am trying to create a bridge between activemq and Websphere MQ but it is
> throwing an exception, that it failed to connect to the Queue Manager.
>
> The activemq.xml conf i am using is as follows:
>
>        <!-- The transport connectors ActiveMQ will listen to -->
>        <transportConnectors>
>            <transportConnector name="openwire" uri="tcp://localhost:61616"
> discoveryUri="multicast://default"/>
>            <transportConnector name="ssl" uri="ssl://localhost:61617"/>
>            <transportConnector name="stomp" uri="stomp://localhost:61613"/>
>            <transportConnector name="xmpp" uri="xmpp://localhost:61222"/>
>        </transportConnectors>
>
>        <jmsBridgeConnectors>
>            <jmsQueueConnector name="OpenJMSBridge-Outbound"
> outboundQueueConnectionFactory="#remoteFactory">
>
>             <outboundQueueBridges>
>              <outboundQueueBridge outboundQueueName="jmstojmsBridgeQueue"
> localQueueName="jmstojmsBridgeQueue"/>
>             </outboundQueueBridges>
>
>            </jmsQueueConnector>
>        </jmsBridgeConnectors>
>     </broker>
>
>    <bean id="remoteFactory"
> class="com.ibm.mq.jms.MQQueueConnectionFactory">
>     <property name="transportType" value="1"/>
>     <property name="hostName" value="192.168.178.239"/>
>     <property name="port" value="1444"/>
>     <property name="queueManager" value="QM_MAPPLE"/>
>     <property name="channel" value="jmstojmsBridgeQueue"/>
>   </bean>
>
>
> and the exception which i am getting is :
>
>
> jvm 1    | INFO  NetworkConnector               - Network Connector
> default-nc S
> tarted
> jvm 1    | ERROR JmsQueueConnector              - Failed to initialize the
> JMSConnector
>
> jvm 1    | com.ibm.msg.client.jms.DetailedIllegalStateException: JMSWMQ0018:
> Fai
> led to connect to queue manager 'QM_MAPPLE' with connection mode 'Client'
> and ho
> st name 'localhost'. Check the queue manager is started and if running in
> client
>  mode, check there is a listener running. Please see the linked exception
> for mo
> re information.
> jvm 1    |      at
> com.ibm.msg.client.wmq.common.internal.Reason.reasonToExcepti
> on(Reason.java:489)
> jvm 1    |      at
> com.ibm.msg.client.wmq.common.internal.Reason.createException
> (Reason.java:219)
> jvm 1    |      at
> com.ibm.msg.client.wmq.internal.WMQConnection.<init>(WMQConne
> ction.java:410)
> jvm 1    |      at
> com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createV
> 7ProviderConnection(WMQConnectionFactory.java:7855)
> jvm 1    |      at
> com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createP
> roviderConnection(WMQConnectionFactory.java:7331)
> jvm 1    |      at
> com.ibm.msg.client.jms.admin.JmsConnectionFactoryImpl.createC
> onnection(JmsConnectionFactoryImpl.java:276)
> jvm 1    |      at
> com.ibm.mq.jms.MQConnectionFactory.createCommonConnection(MQC
> onnectionFactory.java:6055)
> jvm 1    |      at
> com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection
> (MQQueueConnectionFactory.java:115)
> jvm 1    |      at
> org.apache.activemq.network.jms.JmsQueueConnector.initializeF
> oreignQueueConnection(JmsQueueConnector.java:209)
> jvm 1    |      at
> org.apache.activemq.network.jms.JmsQueueConnector.init(JmsQue
> ueConnector.java:54)
> jvm 1    |      at
> org.apache.activemq.network.jms.JmsConnector.start(JmsConnect
> or.java:116)
> jvm 1    |      at
> org.apache.activemq.broker.BrokerService.startAllConnectors(B
> rokerService.java:1831)
> jvm 1    |      at
> org.apache.activemq.broker.BrokerService.start(BrokerService.
> java:455)
> jvm 1    |      at
> org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesS
> et(XBeanBrokerService.java:50)
> jvm 1    |      at
> org.springframework.beans.factory.support.AbstractAutowireCap
> ableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1288)
> jvm 1    |      at
> org.springframework.beans.factory.support.AbstractAutowireCap
> ableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1257)
> jvm 1    |      at
> org.springframework.beans.factory.support.AbstractAutowireCap
> ableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:438)
> jvm 1    |      at
> org.springframework.beans.factory.support.AbstractAutowireCap
> ableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:383)
>
>
> If anyone has tried this can give the details
> or else any help on this is appriciated by anyone.
>
>
> Thanks
> --
> View this message in context: http://www.nabble.com/bridge-between-activemq-and-websphere-mq-tp25453670p25453670.html
> Sent from the Camel - Development (activemq) mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message