commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aviran" <amo...@infosciences.com>
Subject Messenger doesn't work with Tomcat 4
Date Fri, 07 Nov 2003 16:35:12 GMT
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message