Yes, I think there was some confusion as to which build the patch for the particular JIRA went in.. so could you try with the 1.2 RC1 or the latest nighly build and let me know? The information in the general JMS transport configuration should suffice for you to get it started

asankha

lee hanu wrote:
Thanks Asanka,
I don't see the INFO message for tomcat.

I am using Tomcat 5.5(not the axis2 standalone). I am doing this against
axis2 1.1.1. Do I have to use the latest nightlies for this to work? Can I
use Axis2 1.2 RC1?

Thanks


asankha wrote:
  
I assume you are running a standalone client against your JMS web
service echo. However it seems like your echo service is not correctly
deployed for JMS. 

Can you confirm that the JMS transport has started in your Axis2
deployment on Tomcat? You should see an "[INFO] JMS Transport Receiver
(Listener) initialized..." if it has. If you do not see this message,
please read https://issues.apache.org/jira/browse/AXIS2-1488 

Also let me know if you are trying this on the latest trunk or on a
release - if so which version 

asankha 

lee hanu wrote:

  I did all the steps mentioned in the JMS axis2 tutorial.  I get the
following
exception. Any suggestions what I am doing wrong here. I am using Tomcat
5.5
and ActiveMQ. Do I need to do any additional configuration in the tomcat
other than the steps mentioned in the Axis2 JMS User Guide.

WARNING: Cannot get or lookup JMS destination : echo from url :
jms:/echo?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&java.naming.provider.url=""
: echo
Mar 26, 2007 2:41:54 PM org.apache.axis2.transport.jms.JMSSender invoke
WARNING: Did not receive a JMS response within 30000 ms to destination :
queue://echo
org.apache.axis2.AxisFault: Incoming message input stream is null
	at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:64)
	at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:252)
	at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:202)
	at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:579)
	at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508)
	at org.apache.axis2.samples.jms.echo.ClientOne.main(ClientOne.java:34)

Thanks


lee hanu wrote:
  
  
    Sumedha,
Thanks for the step by step explanation. That was helpful but that was not
exactly what I was looking for. I am looking for a working JMS sample.

Thanks

sumedha rubasinghe wrote:
    
    
      Hi,
Try the following steps.(All these are mentioned in the url you
mentioned,
but check & see if you have missed anything ;-) )

1.Download & start ActiveMQ from apache.(Do not change default ports)

2.Open <AXIS2_HOME>/conf/axis2.xml

3.Uncomment transport receiver part for JMS.
   i.e. section starting with...
    <transportReceiver name="jms"


4.Uncomment line setting transport sender for JMS.
   i.e. line starting with
    <transportSender name="jms"

5.Start Axis Server by running <AXIS2_HOME>/bin/axis2server.(bat|sh)
(If you get a binding exception,change the port of axis server)

6.Type 'jconsole' on a new command/shell window. (i.e. assuming your
using
jdk 1.5 & <JAVA_HOME>/bin is in your path)

7.This will open up a GUI.

8.On left hand side of the UI check for jms queues created with service
names you have deployed under axis2.

9.Once the queues are there(this means the link between the axis server
&
JMS server is established),change you client code with following.

String url =
"";

//Replace <ABCDE> with you service name.


//and add following property to client
options.setProperty(Constants.Configuration.TRANSPORT_URL, url);


10.Add <ACTIVEMQ_HOME>/lib/*.jar to classpath & run the client.



Good luck!!!!! Happy messaging with JMS ;-)

/sumedha


      
      
        Are there any samples for JMS with Axis2. Also can some one point
some
useful
links on this topic. I could not find anything other than the
http://ws.apache.org/axis2/1_1_1/jms-transport.html  Axis2/Java - JMS
transport.

Thanks
Nishant
--
View this message in context:
http://www.nabble.com/Axis2-JMS-samples--tf3449408.html#a9621016 
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


        
      
      
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 



      
    
    
    
  
  
  




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



    

  
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to