You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by David payam <ot...@yahoo.ca> on 2002/12/18 18:26:07 UTC

Can't JMS Sample

hi:

   When I ran the JMS sample, I got the erro code:

 

- Exception:
javax.naming.NameNotFoundException: MyCF
        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:350)
        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:116)
Exception in thread "main" javax.naming.NameNotFoundException: MyCF
        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:350)
        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:116)

So why "MyCF" can been found?

 

Regards

David

 



---------------------------------
Post your free ad now! Yahoo! Canada Personals