I'm trying to run the Messenger Example under Tomact 4.0.6, using J2EE SDK
as JMS server but tomcat can't find QueueConnectionFactory in the context.
Before I start Tomcat I started j2ee -v so the JMS server will run, but
still the lookup in Tomcat fails.
Does anyone has an idea how to make it run?

The Exception I get is:

StandardContext[/Messenger]: Servlet /Messenger threw load() exception:
javax.servlet.ServletException: Failed to initialize:
javax.jms.JMSException: Failed to lookup:
java:comp/env/QueueConnectionFactory using JNDI. 
javax.naming.NameNotFoundException: Name QueueConnectionFactory is not bound
in this Context javax.servlet.ServletException: Failed to initialize:
javax.jms.JMSException: Failed to lookup:
java:comp/env/QueueConnectionFactory using JNDI. 
javax.naming.NameNotFoundException: Name QueueConnectionFactory is not bound
in this Context         
at org.apache.commons.messagelet.ManagerServlet.init(ManagerServlet.java:96)

at javax.servlet.GenericServlet.init(GenericServlet.java:256)   
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
8)      
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)

at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3279)   
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3421)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)   
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)

at org.apache.catalina.core.StandardService.start(StandardService.java:388)

at org.apache.catalina.core.StandardServer.start(StandardServer.java:506)

at org.apache.catalina.startup.Catalina.start(Catalina.java:781)        
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)      
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)      
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)       
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)       
at java.lang.reflect.Method.invoke(Method.java:324)     
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to