Hi everybody,
in my oppinion it's a really great feature that axis supports JMS with
SonicMQ.
Unfortunately I could not get it running until now and I would be very very
happy if someone could help me out.
When invoking
java samples.jms.JMSTest -c jndi-connection-factory.properties -d "MyQ" XXX
I get this error:
Exception in thread "main" AxisFault
faultCode: {http://xml.apache.org/axis/}Server.NoService
faultString: The AXIS engine could not find a target service to invoke!
targetService is null
faultActor: null
faultDetail:
stackTrace: AxisFault
faultCode: {http://xml.apache.org/axis/}Server.NoService
faultString: The AXIS engine could not find a target service to invoke!
targetService is null
faultActor: null
faultDetail:
The AXIS engine could not find a target service to invoke! targetService is
null
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:307)
at
org.apache.axis.transport.jms.SimpleJMSWorker.run(SimpleJMSWorker.java:130)
at
org.apache.axis.transport.jms.SimpleJMSListener.onMessage(SimpleJMSListener.
java:165)
at progress.message.jimpl.Session.EPB_(:2074)
at progress.message.jimpl.QueueSession.run(:785)
at progress.message.jimpl.fw.run(:1886)
The AXIS engine could not find a target service to invoke! targetService is
null
at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:13
5)
at
org.apache.axis.encoding.DeserializationContextImpl.endElement(Deserializati
onContextImpl.java:942)
at
org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.jav
a:568)
at
org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespaceBinde
r.java:853)
at
org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java
:643)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.
java:3006)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:9
30)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDo
cumentFragmentScannerImpl.java:1145)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocu
mentFragmentScannerImpl.java:988)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(XMLDocumentFragmentScannerImpl.java:1446)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocume
ntFragmentScannerImpl.java:333)
at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserCo
nfiguration.java:525)
at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserCo
nfiguration.java:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:115
7)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationCon
textImpl.java:232)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:546)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:377)
at org.apache.axis.client.Call.invokeEngine(Call.java:2132)
at org.apache.axis.client.Call.invoke(Call.java:2102)
at org.apache.axis.client.Call.invoke(Call.java:1851)
at org.apache.axis.client.Call.invoke(Call.java:1777)
at org.apache.axis.client.Call.invoke(Call.java:1315)
at samples.jms.JMSTest.main(JMSTest.java:156)
I've walked through AxisJMSSample.pdf and I've applied all the settings in
the SonicMQ Explorer, I've double-checked all the settings in the SonicMQ
Explorer, and everything seems to be ok here, also in the
JNDIStore-directory a .bindings-file gets created. Also the SonicMQ Broker
is started without errors.
Then I have started Axis with Tomcat 4.0.6, I've manually deployed the
StockQuote-service with AdminClient and tested it:
java samples.stock.GetQuote -lhttp://localhost:8080/axis/servlet/AxisServlet
-uuser1 -wpass1 XXX
prints out XXX: 55.25.
Then I've tried java samples.jms.JMSTest -c
jndi-connection-factory.properties -d MyQ XXX,
but the error above occurs. I've also tried invoking these commands before
invoking JMSTest:
- java org.apache.axis.utils.Admin client client_deploy.wsdd
- java org.apache.axis.utils.Admin server server-config.wsdd
But the result is the same.
In the SonicMQ Explorer nothing happens. I would be very happy if someone
could give me a hint how to solve this problem.
I've also tried copying broker.jar and tools.jar from SonicMQ and
fscontext.jar and providerutil.jar from FSContext to
webapps\axis\WEB-INF\lib with the same result.
Thanks a lot in advance,
Ludwig.