activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mukeshs <mukesh...@gmail.com>
Subject bridge between activemq and websphere mq
Date Tue, 15 Sep 2009 12:58:30 GMT

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-tp25453540p25453540.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Mime
View raw message