[
http://issues.apache.org/jira/browse/GERONIMO-2654?page=comments#action_12458579
]
Joe Bohn commented on GERONIMO-2654:
------------------------------------
This change appears to result in NPEs being thrown at server start up and the
inability to access any web application via any context :-( .... I'll look at
it to see if I can figure out how to fix it but I think we need to revert the
change.
Here's the stacktrace:
java.lang.NullPointerException
at
org.mortbay.jetty.servlet.AbstractSessionManager.doStart(AbstractSessionManager.java:157)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at
org.mortbay.jetty.servlet.SessionHandler.doStart(SessionHandler.java:115)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at
org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.doStart(AbstractImmutableHandler.java:36)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at
org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.doStart(AbstractImmutableHandler.java:36)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at
org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.doStart(AbstractImmutableHandler.java:36)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:119)
at
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:493)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:129)
at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1180)
at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:474)
at
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:433)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at
org.apache.geronimo.jetty6.JettyWebAppContext$StartCommand.lifecycleMethod(JettyWebAppContext.java:346)
at
org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.lifecycleCommand(AbstractImmutableHandler.java:52)
at
org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.lifecycleCommand(ThreadClassloaderHandler.java:57)
at
org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.lifecycleCommand(AbstractImmutableHandler.java:50)
at
org.apache.geronimo.jetty6.handler.ComponentContextHandler.lifecycleCommand(ComponentContextHandler.java:57)
[*********************> ] 79% 54s Starting org.apache.geronimo... at
org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.lifecycleCommand(Abstract
ImmutableHandler.java:50)
at
org.apache.geronimo.jetty6.handler.InstanceContextHandler.lifecycleCommand(InstanceContextHandler.java:81)
at
org.apache.geronimo.jetty6.JettyWebAppContext.doStart(JettyWebAppContext.java:319)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:984)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:543)
at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:378)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:508)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:820)
at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
at
org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$b72089d6.startConfiguration(<generated>)
at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:286)
at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
at org.apache.geronimo.system.main.Daemon.main(Daemon.java:366)
2006-12-14 14:00:22.867::WARN: failed [EMAIL PROTECTED]
> Enabling Welcome App (context "/") on geronimo-jetty6-jee5 assembly breaks
> web-console (context "/console")
> -----------------------------------------------------------------------------------------------------------
>
> Key: GERONIMO-2654
> URL: http://issues.apache.org/jira/browse/GERONIMO-2654
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Jetty
> Affects Versions: 2.0-M1
> Environment: Windows XP ... most likely all.
> Reporter: Joe Bohn
> Assigned To: Greg Wilkins
>
> There seems to be something strange going on with context resolution. When
> the welcome application is enabled on the jetty6-jee5 assembly (update
> config.xml and remove load="false" for webconsole-jetty6) the welcome
> application works fine (context "/"). However, it appears that all other
> applications, such as the web console (context "/console") are no longer
> accessible and return 404 errors when attempting to access the application
> from a browser.
> This may actually be a Jetty 6.1 problem rather than a Geronimo problem.
> David Jencks recommended looking into Jetty's ContextHandlerCollection
> class for clues as to what is happening.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira