Hi
I am new to AXIS. I am trying out AXIS/JMS example. When i run the JMSTest
client i get the following error.
( ClassCastException ) .
The command is
java samples.jms.JMSTest -c ./samples/jms/jndi-connection-factory.properties
-d "MyQ" IBM PRGS
The response is
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)