Can I suggest you try something ..? Can you download
http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/synapse/synapse-transports/1.1/synapse-transports-1.1.jar
into your lib folder (i.e. where your axis2-kernel.jar currently
resides) and edit your axis2.xml as
<transportReceiver name="jms"
class="org.apache.*synapse*.transport.jms.JMSListener">
....
</transportReceiver>
and
<transportSender name="jms"
class="org.apache.*synapse*.transport.jms.JMSSender"/>
Leave everything else the same.. and only change the package name as
shown above.. Let me know if this fixes the issue.
asankha
zze-TRABELSI Anis RD-BIZZ-ISS wrote:
Thank you for your answer
I have already seen this thread, I think the problem does not come
from the deployment of the service.
Here is what I get when I start tomcat (the JMS transport is
initialized) :
13 nov. 2007 15:40:10 org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path:
C:\Java\JDK\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;c:\orawin\bin;C:\oracle\ora81\bin\;C:\Program
Files\Oracle\jre\1.1.7bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Axalto\Access Client\v5\;C:\Program
Files\QuickTime\QTSystem\;C:\Sun\SDK\bin;C:\Sun\jwsdp-2.0\jwsdp-shared\bin;C:\Sun\AppServer\bin;C:\Java\Sun\bin;C:\JOnAS-4.8.5ant\bin;C:\Java\JDK\bin;C:\JOnAS-4.8.5\bin\nt;C:\Sun\jwsdp-2.0\jwsdp-shared\bin;AXIS2_HOME;AXIS2_HOME\bin;J2EE_HOME\bin;M2_HOME;M2_HOME\bin
13 nov. 2007 15:40:10 org.apache.coyote.http11.Http11Protocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
13 nov. 2007 15:40:10 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 525 ms
13 nov. 2007 15:40:10 org.apache.catalina.core.StandardService start
INFO: DÚmarrage du service Catalina
13 nov. 2007 15:40:10 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.13
13 nov. 2007 15:40:10 org.apache.catalina.startup.HostConfig deployWAR
INFO: DÚploiement de l'archive axis2.war de l'application web
13 nov. 2007 15:40:11 org.apache.axis2.deployment.ModuleDeployer deploy
INFO: Deploying module: addressing-1.2
13 nov. 2007 15:40:11 org.apache.axis2.deployment.ModuleDeployer deploy
INFO: Deploying module: soapmonitor-1.2
13 nov. 2007 15:40:11 org.apache.axis2.deployment.ServiceDeployer deploy
INFO: Deploying Web service: MyService.aar
13 nov. 2007 15:40:12
org.apache.axis2.transport.jms.JMSConnectionFactory getDestinationName
ATTENTION: Error looking up destination with JNDI name : MyService to
map its corresponding provider specific Destination name
13 nov. 2007 15:40:12
org.apache.axis2.transport.jms.JMSConnectionFactory addDestination
ATTENTION: JMS Destination with JNDI name : MyService does not exist
13 nov. 2007 15:40:12
org.apache.axis2.transport.jms.JMSConnectionFactory addDestination
ATTENTION: JMS Destination with JNDI name : MyService created
13 nov. 2007 15:40:12
org.apache.axis2.transport.jms.JMSConnectionFactory addDes
tinationINFO: Mapping JNDI name : MyService and JMS Destination name :
MyService against service : MyService
13 nov. 2007 15:40:12 org.apache.axis2.transport.jms.JMSListener init
INFO: *JMS Transport Receiver (Listener) initialized...
*13 nov. 2007 15:40:12
org.apache.axis2.transport.jms.JMSConnectionFactory listenOnDestination
ATTENTION: Cannot find destination : MyService Creating a Queue with
this name
13 nov. 2007 15:40:12
org.apache.axis2.transport.jms.JMSConnectionFactory listen
INFO: Connection factory : default initialized...
13 nov. 2007 15:40:12
org.apache.axis2.transport.jms.JMSConnectionFactory listen
INFO: Connection factory : myTopicConnectionFactory initialized...
13 nov. 2007 15:40:12
org.apache.axis2.transport.jms.JMSConnectionFactory listen
INFO: Connection factory : myQueueConnectionFactory initialized...
13 nov. 2007 15:40:13 org.apache.coyote.http11.Http11Protocol start
INFO: DÚmarrage de Coyote HTTP/1.1 sur http-8080
13 nov. 2007 15:40:13 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
13 nov. 2007 15:40:13 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/32 config=null
13 nov. 2007 15:40:13 org.apache.catalina.startup.Catalina start
INFO: Server startup in 2732 ms
------------------------------------------------------------------------
*De :* Ted Jones [mailto:[EMAIL PROTECTED]
*Envoyé :* mardi 13 novembre 2007 17:12
*À :* [email protected]
*Objet :* Re: JMS on axis2
Here is a thread on JMS with Axis2 that may be helpful to you.
http://www.mail-archive.com/[email protected]/msg26522.html
HTH,
Ted
zze-TRABELSI Anis RD-BIZZ-ISS wrote:
Hello,
I'm trying to run JMS over axis2 1.2
I create a web service called MyService which I deploy on tomcat 6.0.13
I generate the client stub and I start activemq (as JMS provider)
The problem appears when I invoke MyService, I get the following
exception :
13 nov. 2007 15:56:51
org.apache.axis2.transport.jms.JMSOutTransportInfo getDestination
ATTENTION: Cannot get or lookup JMS destination : MyService from url
:
jms:/MyService?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.provider.url=tcp://P-XZZPRET103.rd.francetelecom.fr:61616&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory
: MyService
org.apache.axis2.AxisFault:
at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(_Utils.java:434_)
at
org.apache.axis2.description.OutInAxisOperationClient.send(_OutInAxisOperation.java:373_)
at
org.apache.axis2.description.OutInAxisOperationClient.execute(_OutInAxisOperation.java:294_)
at
clientstub.MyServiceMyServiceSOAP12Port_jmsStub.AddNumbers(_MyServiceMyServiceSOAP12Port_jmsStub.java:165_)
at service.Client.test(_Client.java:27_)
at service.Client.main(_Client.java:40_)
Can someone help me with that?
Thanks in advance
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] For
additional commands, e-mail: [EMAIL PROTECTED]