You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Wu Gang (JIRA)" <ji...@apache.org> on 2006/12/22 09:58:21 UTC

[jira] Created: (AXIS2-1909) JMS samples for Axis2 release 1.2

JMS samples for Axis2 release 1.2
---------------------------------

                 Key: AXIS2-1909
                 URL: http://issues.apache.org/jira/browse/AXIS2-1909
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Improvement
          Components: samples
    Affects Versions: 1.2
            Reporter: Wu Gang


Appreciate a couple of JMS samples, possibly using geronimo's activemq

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (AXIS2-1909) JMS samples for Axis2 release 1.2

Posted by "Ali Sadik Kumlali (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1909?page=comments#action_12460415 ] 
            
Ali Sadik Kumlali commented on AXIS2-1909:
------------------------------------------

You may start from attached sample. Just follow the readme.txt and it should work.

Regards,

Ali Sadik Kumlali

> JMS samples for Axis2 release 1.2
> ---------------------------------
>
>                 Key: AXIS2-1909
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1909
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: samples
>    Affects Versions: 1.2
>            Reporter: Wu Gang
>         Attachments: Axis2JmsWorkingSample.zip
>
>
> Appreciate a couple of JMS samples, possibly using geronimo's activemq

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Assigned: (AXIS2-1909) JMS samples for Axis2 release 1.2

Posted by "Thilina Gunarathne (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thilina Gunarathne reassigned AXIS2-1909:
-----------------------------------------

    Assignee: Thilina Gunarathne

> JMS samples for Axis2 release 1.2
> ---------------------------------
>
>                 Key: AXIS2-1909
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1909
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: samples
>    Affects Versions: 1.2
>            Reporter: Wu Gang
>         Assigned To: Thilina Gunarathne
>         Attachments: Axis2JmsWorkingSample.zip, Axis2JmsWorkingSample_2.zip
>
>
> Appreciate a couple of JMS samples, possibly using geronimo's activemq

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (AXIS2-1909) JMS samples for Axis2 release 1.2

Posted by "Wu Gang (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12461683 ] 

Wu Gang commented on AXIS2-1909:
--------------------------------

Hi,

I tested sample and it worked. The sample program takes care of both the client side service calling and server side jmslistener startup. But when i broke down the sample and first deploy the service to repository and then start jmslistener through axis2server.bat, then the client call  got exception as following:

####################################################
2007-1-2 15:27:42 userguide.loggingmodule.LogHandler invoke
info: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:soa
penv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header><wsa:To>jms:/myTestQueue?transport.jms.ConnectionFactor
yJNDIName=QueueConnectionFactory&amp;java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&
amp;java.naming.provider.url=tcp://localhost:61616</wsa:To><wsa:ReplyTo><wsa:Address>http://www.w3.org/2005/08/addressin
g/anonymous</wsa:Address></wsa:ReplyTo><wsa:MessageID>urn:uuid:9A648D5CFDE1A1DE8911677228618541</wsa:MessageID><wsa:Acti
on>JMSEchoService</wsa:Action></soapenv:Header><soapenv:Body><my:echoOMElement xmlns:my="http://jms.axis2.apache.org/xsd
"><my:myValue>This is the JMS testing text!</my:myValue></my:echoOMElement></soapenv:Body></soapenv:Envelope>
2007-1-2 15:27:42 org.apache.axis2.rpc.receivers.RPCMessageReceiver invokeBusinessLogic
critical: Exception occurred while trying to invoke service method echoOMElement
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:118)
        at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)

        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:493)
        at org.apache.axis2.transport.jms.JMSMessageReceiver$Worker.run(JMSMessageReceiver.java:198)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)

        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
        at org.apache.axis2.jms.JMSEchoService.echoOMElement(JMSEchoService.java:45)
        ... 11 more
2007-1-2 15:27:42 org.apache.axis2.transport.jms.JMSMessageReceiver$Worker run
critical: JMS Worker [JMSWorker-1] Encountered an Axis Fault : Exception occurred while trying to invoke service method echo
OMElement
org.apache.axis2.AxisFault: Exception occurred while trying to invoke service method echoOMElement
        at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:154)
        at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)

        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:493)
        at org.apache.axis2.transport.jms.JMSMessageReceiver$Worker.run(JMSMessageReceiver.java:198)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)

        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
        at java.lang.Thread.run(Thread.java:595)
2007-1-2 15:28:14 org.apache.activemq.ActiveMQConnection onAsyncException
warning: Async exception with no exception listener: java.io.EOFException
java.io.EOFException
        at java.io.DataInputStream.readInt(DataInputStream.java:358)
        at org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:274)
        at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:142)
        at java.lang.Thread.run(Thread.java:595)
2007-1-2 15:28:14 org.apache.activemq.ActiveMQConnection onAsyncException
warning: Async exception with no exception listener: java.io.EOFException
java.io.EOFException
        at java.io.DataInputStream.readInt(DataInputStream.java:358)
        at org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:274)
        at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:142)
        at java.lang.Thread.run(Thread.java:595)
2007-1-2 15:28:14 org.apache.activemq.ActiveMQConnection onAsyncException
warning: Async exception with no exception listener: java.io.EOFException
java.io.EOFException
        at java.io.DataInputStream.readInt(DataInputStream.java:358)
        at org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:274)
        at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:142)
        at java.lang.Thread.run(Thread.java:595)
####################################################

"Ali Sadik Kumlali (JIRA)" <ji...@apache.org> wrote:      [ http://issues.apache.org/jira/browse/AXIS2-1909?page=all ]

Ali Sadik Kumlali updated AXIS2-1909:
-------------------------------------

    Attachment: Axis2JmsWorkingSample.zip


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


 __________________________________________________
赶快注册雅虎超大容量免费邮箱?
http://cn.mail.yahoo.com


> JMS samples for Axis2 release 1.2
> ---------------------------------
>
>                 Key: AXIS2-1909
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1909
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: samples
>    Affects Versions: 1.2
>            Reporter: Wu Gang
>         Attachments: Axis2JmsWorkingSample.zip
>
>
> Appreciate a couple of JMS samples, possibly using geronimo's activemq

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] Updated: (AXIS2-1909) JMS samples for Axis2 release 1.2

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-1909:
------------------------------------

    Assignee: Sanka Samaranayake  (was: Thilina Gunarathne)

> JMS samples for Axis2 release 1.2
> ---------------------------------
>
>                 Key: AXIS2-1909
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1909
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: samples
>    Affects Versions: 1.2
>            Reporter: falom
>         Assigned To: Sanka Samaranayake
>         Attachments: Axis2JmsWorkingSample.zip, Axis2JmsWorkingSample_2.zip
>
>
> Appreciate a couple of JMS samples, possibly using geronimo's activemq

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-1909) JMS samples for Axis2 release 1.2

Posted by "Wu Gang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12461912 ] 

Wu Gang commented on AXIS2-1909:
--------------------------------


Hi,

Thanks i'll try it and give feedback. 

I wonder if in future release the jmslistener can be initilized in app 
server like tomcat, geronimo or websphere? This feature will be quite 
important if someone is seriously considering running soap/ jms over 
axis2.

falom 


"Ali Sadik Kumlali (JIRA)" <ji...@apache.org> 写道: 
    [ http://issues.apache.org/jira/browse/AXIS2-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12461845 ] 

Ali Sadik Kumlali commented on AXIS2-1909:
------------------------------------------

Hi Wu,

Yes, the sample contains both the client and the server side codes. But, it seems you need leaving the server side process to the axis2 server. It's possible by preparing an .aar file and deploying to axis2 server. In this case, no server side initialization and deployment are made in the test code.

To achieve this, I've added JMSEchoRawXMLClientOnlyTest.java test and deploy folder to the project. I also made some enhancements on comments. Please follow the readme.txt and comments in the code than give it a try.

Regards,

Ali Sadik Kumlali


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


 __________________________________________________
赶快注册雅虎超大容量免费邮箱?
http://cn.mail.yahoo.com


> JMS samples for Axis2 release 1.2
> ---------------------------------
>
>                 Key: AXIS2-1909
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1909
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: samples
>    Affects Versions: 1.2
>            Reporter: Wu Gang
>         Attachments: Axis2JmsWorkingSample.zip, Axis2JmsWorkingSample_2.zip
>
>
> Appreciate a couple of JMS samples, possibly using geronimo's activemq

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] Commented: (AXIS2-1909) JMS samples for Axis2 release 1.2

Posted by "Wu Gang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462116 ] 

Wu Gang commented on AXIS2-1909:
--------------------------------

Hi,
   
  Under jms sample src directory there is log4j.properties file, where to put the property file to get the logging on client respective server side?
   
  falom

"Ali Sadik Kumlali (JIRA)" <ji...@apache.org> 写道:
  
[ http://issues.apache.org/jira/browse/AXIS2-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12461845 ] 

Ali Sadik Kumlali commented on AXIS2-1909:
------------------------------------------

Hi Wu,

Yes, the sample contains both the client and the server side codes. But, it seems you need leaving the server side process to the axis2 server. It's possible by preparing an .aar file and deploying to axis2 server. In this case, no server side initialization and deployment are made in the test code.

To achieve this, I've added JMSEchoRawXMLClientOnlyTest.java test and deploy folder to the project. I also made some enhancements on comments. Please follow the readme.txt and comments in the code than give it a try.

Regards,

Ali Sadik Kumlali


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




 __________________________________________________
赶快注册雅虎超大容量免费邮箱?
http://cn.mail.yahoo.com


> JMS samples for Axis2 release 1.2
> ---------------------------------
>
>                 Key: AXIS2-1909
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1909
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: samples
>    Affects Versions: 1.2
>            Reporter: Wu Gang
>         Attachments: Axis2JmsWorkingSample.zip, Axis2JmsWorkingSample_2.zip
>
>
> Appreciate a couple of JMS samples, possibly using geronimo's activemq

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] Updated: (AXIS2-1909) JMS samples for Axis2 release 1.2

Posted by "Ali Sadik Kumlali (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ali Sadik Kumlali updated AXIS2-1909:
-------------------------------------

    Attachment: Axis2JmsWorkingSample_2.zip

> JMS samples for Axis2 release 1.2
> ---------------------------------
>
>                 Key: AXIS2-1909
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1909
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: samples
>    Affects Versions: 1.2
>            Reporter: Wu Gang
>         Attachments: Axis2JmsWorkingSample.zip, Axis2JmsWorkingSample_2.zip
>
>
> Appreciate a couple of JMS samples, possibly using geronimo's activemq

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (AXIS2-1909) JMS samples for Axis2 release 1.2

Posted by "Wu Gang (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12461685 ] 

Wu Gang commented on AXIS2-1909:
--------------------------------


 Hi,

I tested sample and it worked. The sample program takes care of both the client side service calling and server side jmslistener startup. But when i broke down the sample and first deploy the service to repository and then start jmslistener through axis2server.bat, then the client call  got exception as following:

####################################################
2007-1-2 15:27:42 userguide.loggingmodule.LogHandler invoke
info: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:wsa="http://www.w3.org/2005/08/addressing"  xmlns:soa
penv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header><wsa:To>jms:/myTestQueue?transport.jms.ConnectionFactor
yJNDIName=QueueConnectionFactory&amp;java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&
amp;java.naming.provider.url=tcp://localhost:61616</wsa:To><wsa:ReplyTo><wsa:Address>http://www.w3.org/2005/08/addressin
g/anonymous</wsa:Address></wsa:ReplyTo><wsa:MessageID>urn:uuid:9A648D5CFDE1A1DE8911677228618541</wsa:MessageID><wsa:Acti
on>JMSEchoService</wsa:Action></soapenv:Header><soapenv:Body><my:echoOMElement xmlns:my="http://jms.axis2.apache.org/xsd
"><my:myValue>This is the JMS testing text!</my:myValue></my:echoOMElement></soapenv:Body></soapenv:Envelope>
2007-1-2 15:27:42 org.apache.axis2.rpc.receivers.RPCMessageReceiver invokeBusinessLogic
critical: Exception  occurred while trying to invoke service method echoOMElement
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:118)
        at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)

        at  org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:493)
        at org.apache.axis2.transport.jms.JMSMessageReceiver$Worker.run(JMSMessageReceiver.java:198)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)

        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
        at org.apache.axis2.jms.JMSEchoService.echoOMElement(JMSEchoService.java:45)
        ... 11 more
2007-1-2 15:27:42 org.apache.axis2.transport.jms.JMSMessageReceiver$Worker run
critical: JMS Worker [JMSWorker-1] Encountered an Axis Fault :  Exception occurred while trying to invoke service method echo
OMElement
org.apache.axis2.AxisFault: Exception occurred while trying to invoke service method echoOMElement
        at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:154)
        at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)

        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:493)
        at org.apache.axis2.transport.jms.JMSMessageReceiver$Worker.run(JMSMessageReceiver.java:198)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)

        at  edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
        at java.lang.Thread.run(Thread.java:595)
2007-1-2 15:28:14 org.apache.activemq.ActiveMQConnection onAsyncException
warning: Async exception with no exception listener: java.io.EOFException
java.io.EOFException
        at java.io.DataInputStream.readInt(DataInputStream.java:358)
        at org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:274)
        at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:142)
        at java.lang.Thread.run(Thread.java:595)
2007-1-2 15:28:14 org.apache.activemq.ActiveMQConnection onAsyncException
warning: Async exception with no exception listener:  java.io.EOFException
java.io.EOFException
        at java.io.DataInputStream.readInt(DataInputStream.java:358)
        at org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:274)
        at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:142)
        at java.lang.Thread.run(Thread.java:595)
2007-1-2 15:28:14 org.apache.activemq.ActiveMQConnection onAsyncException
warning: Async exception with no exception listener: java.io.EOFException
java.io.EOFException
        at java.io.DataInputStream.readInt(DataInputStream.java:358)
        at org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:274)
        at  org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:142)
        at java.lang.Thread.run(Thread.java:595)
####################################################

"Ali Sadik Kumlali (JIRA)" <ji...@apache.org> wrote:      [ http://issues.apache.org/jira/browse/AXIS2-1909?page=all ]

Ali Sadik Kumlali updated AXIS2-1909:
-------------------------------------

    Attachment: Axis2JmsWorkingSample.zip


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


 __________________________________________________
赶快注册雅虎超大容量免费邮箱?
http://cn.mail.yahoo.com


> JMS samples for Axis2 release 1.2
> ---------------------------------
>
>                 Key: AXIS2-1909
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1909
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: samples
>    Affects Versions: 1.2
>            Reporter: Wu Gang
>         Attachments: Axis2JmsWorkingSample.zip
>
>
> Appreciate a couple of JMS samples, possibly using geronimo's activemq

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] Commented: (AXIS2-1909) JMS samples for Axis2 release 1.2

Posted by "Thilina Gunarathne (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462780 ] 

Thilina Gunarathne commented on AXIS2-1909:
-------------------------------------------

Good stuff Ali...

I'll review and commit your patch as soon as we are done with the 1.1.1 release...

cheers,
Thilina

> JMS samples for Axis2 release 1.2
> ---------------------------------
>
>                 Key: AXIS2-1909
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1909
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: samples
>    Affects Versions: 1.2
>            Reporter: Wu Gang
>         Assigned To: Thilina Gunarathne
>         Attachments: Axis2JmsWorkingSample.zip, Axis2JmsWorkingSample_2.zip
>
>
> Appreciate a couple of JMS samples, possibly using geronimo's activemq

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (AXIS2-1909) JMS samples for Axis2 release 1.2

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12475889 ] 

Davanum Srinivas commented on AXIS2-1909:
-----------------------------------------

Any update on this sample?

thanks,
dims

> JMS samples for Axis2 release 1.2
> ---------------------------------
>
>                 Key: AXIS2-1909
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1909
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: samples
>    Affects Versions: 1.2
>            Reporter: falom
>         Assigned To: Sanka Samaranayake
>         Attachments: Axis2JmsWorkingSample.zip, Axis2JmsWorkingSample_2.zip
>
>
> Appreciate a couple of JMS samples, possibly using geronimo's activemq

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-1909) JMS samples for Axis2 release 1.2

Posted by "Ali Sadik Kumlali (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12461845 ] 

Ali Sadik Kumlali commented on AXIS2-1909:
------------------------------------------

Hi Wu,

Yes, the sample contains both the client and the server side codes. But, it seems you need leaving the server side process to the axis2 server. It's possible by preparing an .aar file and deploying to axis2 server. In this case, no server side initialization and deployment are made in the test code.

To achieve this, I've added JMSEchoRawXMLClientOnlyTest.java test and deploy folder to the project. I also made some enhancements on comments. Please follow the readme.txt and comments in the code than give it a try.

Regards,

Ali Sadik Kumlali

> JMS samples for Axis2 release 1.2
> ---------------------------------
>
>                 Key: AXIS2-1909
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1909
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: samples
>    Affects Versions: 1.2
>            Reporter: Wu Gang
>         Attachments: Axis2JmsWorkingSample.zip, Axis2JmsWorkingSample_2.zip
>
>
> Appreciate a couple of JMS samples, possibly using geronimo's activemq

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Resolved: (AXIS2-1909) JMS samples for Axis2 release 1.2

Posted by "Sanka Samaranayake (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sanka Samaranayake resolved AXIS2-1909.
---------------------------------------

    Resolution: Fixed


Applied with modifications to make them align with the other sample format (Committed revision 521918). 

Thanks Falom !!

Sanka

> JMS samples for Axis2 release 1.2
> ---------------------------------
>
>                 Key: AXIS2-1909
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1909
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: samples
>    Affects Versions: 1.2
>            Reporter: falom
>         Assigned To: Sanka Samaranayake
>         Attachments: Axis2JmsWorkingSample.zip, Axis2JmsWorkingSample_2.zip
>
>
> Appreciate a couple of JMS samples, possibly using geronimo's activemq

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (AXIS2-1909) JMS samples for Axis2 release 1.2

Posted by "Ali Sadik Kumlali (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1909?page=all ]

Ali Sadik Kumlali updated AXIS2-1909:
-------------------------------------

    Attachment: Axis2JmsWorkingSample.zip

> JMS samples for Axis2 release 1.2
> ---------------------------------
>
>                 Key: AXIS2-1909
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1909
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: samples
>    Affects Versions: 1.2
>            Reporter: Wu Gang
>         Attachments: Axis2JmsWorkingSample.zip
>
>
> Appreciate a couple of JMS samples, possibly using geronimo's activemq

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (AXIS2-1909) JMS samples for Axis2 release 1.2

Posted by "Ali Sadik Kumlali (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462157 ] 

Ali Sadik Kumlali commented on AXIS2-1909:
------------------------------------------

To enable server side "log4j" logging, you should: 
- Put log4j's jar (e.g. log4j-1.2.13.jar) under AXIS2_HOME\lib folder
- Put log4j.properties file into AXIS2_HOME

P.S.: AXIS2_HOME is where the axis2 distribution resides. (e.g. c:\axis2)


> JMS samples for Axis2 release 1.2
> ---------------------------------
>
>                 Key: AXIS2-1909
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1909
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: samples
>    Affects Versions: 1.2
>            Reporter: Wu Gang
>         Attachments: Axis2JmsWorkingSample.zip, Axis2JmsWorkingSample_2.zip
>
>
> Appreciate a couple of JMS samples, possibly using geronimo's activemq

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (AXIS2-1909) JMS samples for Axis2 release 1.2

Posted by "Wu Gang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462771 ] 

Wu Gang commented on AXIS2-1909:
--------------------------------

Hi,

I tried out the sample, it works fine. Still it will be desirable if axis can be configured to start jmslistener in tomcat, geronimo, websphere or other j2ee appserver.

falom

"Ali Sadik Kumlali (JIRA)" <ji...@apache.org> wrote: 
    [ http://issues.apache.org/jira/browse/AXIS2-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12461845 ] 

Ali Sadik Kumlali commented on AXIS2-1909:
------------------------------------------

Hi Wu,

Yes, the sample contains both the client and the server side codes. But, it seems you need leaving the server side process to the axis2 server. It's possible by preparing an .aar file and deploying to axis2 server. In this case, no server side initialization and deployment are made in the test code.

To achieve this, I've added JMSEchoRawXMLClientOnlyTest.java test and deploy folder to the project. I also made some enhancements on comments. Please follow the readme.txt and comments in the code than give it a try.

Regards,

Ali Sadik Kumlali


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


 __________________________________________________
赶快注册雅虎超大容量免费邮箱?
http://cn.mail.yahoo.com


> JMS samples for Axis2 release 1.2
> ---------------------------------
>
>                 Key: AXIS2-1909
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1909
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: samples
>    Affects Versions: 1.2
>            Reporter: Wu Gang
>         Attachments: Axis2JmsWorkingSample.zip, Axis2JmsWorkingSample_2.zip
>
>
> Appreciate a couple of JMS samples, possibly using geronimo's activemq

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] Commented: (AXIS2-1909) JMS samples for Axis2 release 1.2

Posted by "Sanka Samaranayake (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476199 ] 

Sanka Samaranayake commented on AXIS2-1909:
-------------------------------------------

Will look into this shortly.

Thanks,
Sanka

> JMS samples for Axis2 release 1.2
> ---------------------------------
>
>                 Key: AXIS2-1909
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1909
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: samples
>    Affects Versions: 1.2
>            Reporter: falom
>         Assigned To: Sanka Samaranayake
>         Attachments: Axis2JmsWorkingSample.zip, Axis2JmsWorkingSample_2.zip
>
>
> Appreciate a couple of JMS samples, possibly using geronimo's activemq

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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