Hi all,
I'm using a webservice with Axis2 version 1.1.1 deployed to JBoss 4.0.5.GA within an ear file. This works fine with the HTTP transport protocol. Now, I have to switch to the JMS transport protocol. Has anybody experiences with this subject? I did the following steps but without success: 1. axis2.xml: I uncommented the JMS transportReceiver and transportSender. 2. ActiveMQ: I followed the steps to integrate the Apache ActiveMQ with JBoss as decribed in http://activemq.apache.org/integrating-apache-activemq-with-jboss.html 3. Client: I changed the URL to jms:/StockQuoteService?transport.jms.ConnectionFactoryJNDIName=QueueConn ectionFactory&java.naming.factory.initial=org.apache.activemq.jndi.Activ eMQInitialContextFactory&java.naming.provider.url=tcp://localhost:61616 The result is that I get no response: 2008-03-28 12:13:39,286 WARN org.apache.axis2.transport.jms.JMSOutTransportInfo - Cannot get or lookup JMS destination : StockQuoteService from url : jms:/ StockQuoteService?transport.jms.ConnectionFactoryJNDIName=QueueConnectio nFactory&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQIn itialContextFactory&java.naming.provider.url=tcp://localhost:61616 : StockQuoteService 2008-03-28 12:14:10,023 WARN org.apache.axis2.transport.jms.JMSSender - Did not receive a JMS response within 30000 ms to destination : queue:// StockQuoteService 2008-03-28 12:14:10,070 FATAL - org.apache.axis2.AxisFault: Incoming message input stream is null There is no entry in the servers logfile that indicates that the called webservice operation was executed. When I try to setup the following option in the client: Stub._getServiceClient().getOptions().setUseSeparateListener(true); I get the following exception: 2008-03-28 12:25:37,037 FATAL - org.apache.axis2.AxisFault: Unknown transport jms When I use the simple Axis2 server from the distribution I get the rigth response although I also get the warning: 2008-03-28 12:13:39,286 WARN org.apache.axis2.transport.jms.JMSOutTransportInfo - Cannot get or lookup JMS destination : StockQuoteService from url : jms:/ StockQuoteService?transport.jms.ConnectionFactoryJNDIName=QueueConnectio nFactory&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQIn itialContextFactory&java.naming.provider.url=tcp://localhost:61616 : StockQuoteService The test example from the ActiveMQ integration with JBoss also works fine. Has anybody an idea what is wrong with my JBoss or webservice or ActiveMQ configuration? Thanks for help and best regards! Ines
