axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suprie Leonhart" <suprie.leonhe...@gmail.com>
Subject problem with JMS connectivity
Date Sun, 09 Mar 2008 05:18:14 GMT
Hi,

I'm having trouble when trying the example that i found somewhere in
this mailing list archive.
nothing wrong with the server actually since it said

[INFO] JMS Transport Receiver (Listener) initialized...

But when i tried to connect to services the Client there some error like this

     [java] org.apache.axis2.AxisFault: No Tranport Sender found for : jms

I ran it with this command

/axis2-1.3/samples/axis2Client$ ant dumbstockquote
-Dgatewayurl="jms:/SimpleStockQuoteService?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&java.naming.provider.url=tcp://localhost:61616"

And i have uncommented
<transportReceiver name="jms"
class="org.apache.axis2.transport.jms.JMSListener">

        <parameter name="myTopicConnectionFactory">

        	<parameter
name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>

        	<parameter
name="java.naming.provider.url">tcp://localhost:61616</parameter>

        	<parameter
name="transport.jms.ConnectionFactoryJNDIName">TopicConnectionFactory</parameter>

        </parameter>



        <parameter name="myQueueConnectionFactory">

        	<parameter
name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>

        	<parameter
name="java.naming.provider.url">tcp://localhost:61616</parameter>

        	<parameter
name="transport.jms.ConnectionFactoryJNDIName">QueueConnectionFactory</parameter>

        </parameter>



        <parameter name="default">

        	<parameter
name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>

        	<parameter
name="java.naming.provider.url">tcp://localhost:61616</parameter>

        	<parameter
name="transport.jms.ConnectionFactoryJNDIName">QueueConnectionFactory</parameter>

        </parameter>

    </transportReceiver>
and
<transportSender name="jms" class="org.apache.axis2.transport.jms.JMSSender"/>


i appriciate any help


TIA

-- 
--
Best Regards
Suprie
ID  : http://suprie1983.wordpress.com
EN : http://suprie.in.ruangkopi.com

"Great deed of great man is to forgive and forget"

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message