Full stack-trace - javax.naming.NameNotFoundException: Name comp is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:774) at org.apache.naming.NamingContext.lookup(NamingContext.java:157) at org.apache.naming.SelectorContext.lookup(SelectorContext.java:156) at javax.naming.InitialContext.lookup(InitialContext.java:392) at au.com.test.web.MyServletContextListener.contextInitialized(MyServletContextListener.java:21) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4221) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4700) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:128) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:986) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:857) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:128) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:986) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:452) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:128) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:456) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:128) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:662) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:128) at org.apache.catalina.startup.Catalina.startInternal(Catalina.java:564) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:128) 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:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
I have updated the bug with a sample war file + code. https://issues.apache.org/bugzilla/show_bug.cgi?id=49132 Konstantin Kolinko wrote: > > 2010/4/22 alvins <alvins1...@hotmail.com>: >> >> Any thoughts on this? >> > > I would like to see the Tomcat part of the exception that you are > observing. > That is, at what point in application lifecycle the initialization is > performed. > > If you can attach a sample application to > https://issues.apache.org/bugzilla/show_bug.cgi?id=49132 > that would be nice. It would be a bit easier if it would be a simple one. > > Best regards, > Konstantin Kolinko > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://old.nabble.com/-Tomcat-7-RC1--JNDI-Startup-Issue-tp28279732p28327054.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org