Hi,
I am getting the following exceptions when I try running the jms sample
that comes bundled with Axis 1.0.
I am using SonicMQ 4.0.2 on my Win2K box.
E:\work\xml-axis-10>java samples.jms.JMSTest -c
jndi-connection-factory.properties -d "MyQ" IBM PRGS
Exception in thread "main" javax.naming.NameNotFoundException: MyQ
        at
com.sun.jndi.fscontext.RefFSContext.getObjectFromBindings(RefFSContex
t.java:400)
        at
com.sun.jndi.fscontext.RefFSContext.lookupObject(RefFSContext.java:32
7)
        at
com.sun.jndi.fscontext.RefFSContext.lookup(RefFSContext.java:146)
        at com.sun.jndi.fscontext.FSContext.lookup(FSContext.java:127)
        at javax.naming.InitialContext.lookup(InitialContext.java:347)
        at
org.apache.axis.components.jms.JNDIVendorAdapter.getQueue(JNDIVendorA
dapter.java:112)
        at
org.apache.axis.transport.jms.QueueConnector.createQueue(QueueConnect
or.java:165)
        at
org.apache.axis.transport.jms.QueueConnector.access$300(QueueConnecto
r.java:87)
        at
org.apache.axis.transport.jms.QueueConnector$QueueEndpoint.getDestina
tion(QueueConnector.java:253)
        at
org.apache.axis.transport.jms.QueueConnector$QueueAsyncConnection.cre
ateListenerSession(QueueConnector.java:328)
        at
org.apache.axis.transport.jms.JMSConnector$AsyncConnection.subscribe(
JMSConnector.java:838)
        at
org.apache.axis.transport.jms.JMSEndpoint.registerListener(JMSEndpoin
t.java:149)
        at
org.apache.axis.transport.jms.SimpleJMSListener.start(SimpleJMSListen
er.java:179)
        at samples.jms.JMSTest.main(JMSTest.java:121)
*****************
It is not able to lookup MyQ.

Any thoughts on this?

Regards,
Arul

Reply via email to