users@glassfish.java.net

Re: Unable to access context after deploy in build build b45-beta3

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Tue, 15 May 2007 15:05:52 -0700

glassfish_at_javadesktop.org wrote On 05/15/07 07:43,:

>After deploying my ear I get the following exception in the log and I'm not really sure where to go from here. I thought maybe it was how my sun-web.xml was setup but I just wanted to get some insight.
>
>Any assistance or direction is greatly appreciated :)
>
>

 From your server.log, it looks like the exception is thrown when your
webapp
is started during a server restart.

I suspect that your webapp did not deploy properly to begin with.

When you deploy your webapp before restarting the server, do you see
any exceptions in the server.log?


Jan


>--snip--
>Log Level
>
>SEVERE
>Logger
>
>javax.enterprise.system.container.web
>Name-Value Pairs
>
>_ThreadID=10;_ThreadName=main;_RequestID=ddcd969e-fcb6-44ef-a45c-3a903a4b5e00;
>Record Number
>
>164
>Message ID
>
>WEB0207
>Complete Message
>
>Error starting web context StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[/expressweb] on virtual server server LifecycleException: java.lang.NullPointerException at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4797) at org.apache.catalina.core.StandardContext.start(StandardContext.java:5175) at com.sun.enterprise.web.WebModule.start(WebModule.java:311) at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:45) at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:283) at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:155) at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:171) at com.sun.enterprise.web.VirtualServer.startChildren(VirtualServer.java:1593) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1218) at org.apache.catalina.core.StandardHost.start(StandardHost.java:942) at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:45) at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:283) at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:155) at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:171) at com.sun.enterprise.web.EmbeddedWebContainer$WebEngine.startChildren(EmbeddedWebContainer.java:440) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1218) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:520) at org.apache.catalina.startup.Embedded.start(Embedded.java:923) at com.sun.enterprise.web.WebContainer.start(WebContainer.java:844) at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:795) at com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:71) at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:401) at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:104) at com.sun.enterprise.server.PEMain.run(PEMain.java:402) at com.sun.enterprise.server.PEMain.main(PEMain.java:326) 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:585) at com.sun.enterprise.server.PELaunch.main(PELaunch.java:274)
>[Message sent by forum member 'areplogle' (areplogle)]
>
>http://forums.java.net/jive/thread.jspa?messageID=216994
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>