Hi,
I'm new to Axis, now I'm trying to run the JMS sample with SonicMQ.
But I got an exception like this:
C:\xml-axis-10\samples\jms>java samples.jms.JMSTest -c
jndi-connection-factory.p
roperties -d "MyQ" IBM PRGS
Nov 18, 2002 4:57:57 PM org.apache.axis.transport.jms.SimpleJMSListener
<init>
SEVERE: Exception:
java.lang.ClassCastException: javax.naming.Reference
at
org.apache.axis.components.jms.JNDIVendorAdapter.getConnectionFactory
(JNDIVendorAdapter.java:106)
at
org.apache.axis.components.jms.JNDIVendorAdapter.getQueueConnectionFa
ctory(JNDIVendorAdapter.java:86)
at
org.apache.axis.transport.jms.JMSConnectorFactory.createConnector(JMS
ConnectorFactory.java:168)
at
org.apache.axis.transport.jms.JMSConnectorFactory.createServerConnect
or(JMSConnectorFactory.java:101)
at
org.apache.axis.transport.jms.SimpleJMSListener.<init>(SimpleJMSListe
ner.java:120)
at samples.jms.JMSTest.main(JMSTest.java:115)
Exception in thread "main" java.lang.ClassCastException:
javax.naming.Reference
at
org.apache.axis.components.jms.JNDIVendorAdapter.getConnectionFactory
(JNDIVendorAdapter.java:106)
at
org.apache.axis.components.jms.JNDIVendorAdapter.getQueueConnectionFa
ctory(JNDIVendorAdapter.java:86)
at
org.apache.axis.transport.jms.JMSConnectorFactory.createConnector(JMS
ConnectorFactory.java:168)
at
org.apache.axis.transport.jms.JMSConnectorFactory.createServerConnect
or(JMSConnectorFactory.java:101)
at
org.apache.axis.transport.jms.SimpleJMSListener.<init>(SimpleJMSListe
ner.java:120)
at samples.jms.JMSTest.main(JMSTest.java:115)
Can anybody help out?
Thanks in advance.
Kevin