geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tina Li (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMO-5841) Unable to start web application for EBA bundle "HelloWorldWAB1.app.eba"
Date Tue, 29 Mar 2011 07:57:06 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-5841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012370#comment-13012370
] 

Tina Li commented on GERONIMO-5841:
-----------------------------------

Use the build 2011.03.25-07:50:50.807+0800, start the server and depoly the eba bundle "HelloWorldWAB1.app.eba",check
console output, error displyed:
2011-03-29 15:47:32,781 ERROR [WebBeansAnnotatedTypeUtil] Error is occured while getting injection
points for the Java EE component instance class, class org.apache.catalina.core.StandardWrapper
java.lang.NullPointerException
	at org.apache.webbeans.portable.AnnotatedTypeImpl.init(AnnotatedTypeImpl.java:77)
	at org.apache.webbeans.portable.AnnotatedTypeImpl.getFields(AnnotatedTypeImpl.java:174)
	at org.apache.webbeans.util.WebBeansAnnotatedTypeUtil.defineInjectedFields(WebBeansAnnotatedTypeUtil.java:340)
	at org.apache.webbeans.component.creation.AbstractInjectedTargetBeanCreator.defineInjectedFields(AbstractInjectedTargetBeanCreator.java:80)
	at org.apache.webbeans.util.WebBeansAnnotatedTypeUtil.getJavaEeComponentInstanceInjectionPoints(WebBeansAnnotatedTypeUtil.java:724)
	at org.apache.webbeans.inject.OWBInjector.inject(OWBInjector.java:121)
	at org.apache.webbeans.inject.OWBInjector.inject(OWBInjector.java:93)
	at org.apache.geronimo.j2ee.annotation.Holder.newInstance(Holder.java:185)
	at org.apache.geronimo.tomcat.TomcatInstanceManager.newInstance(TomcatInstanceManager.java:74)
	at org.apache.geronimo.tomcat.GeronimoStandardContext.createWrapper(GeronimoStandardContext.java:364)
	at org.apache.catalina.core.ApplicationContext.addServlet(ApplicationContext.java:1111)
	at org.apache.catalina.core.ApplicationContext.addServlet(ApplicationContext.java:1041)
	at org.apache.catalina.core.ApplicationContextFacade.addServlet(ApplicationContextFacade.java:509)
	at org.apache.geronimo.web.assembler.Assembler.addServlet(Assembler.java:74)
	at org.apache.geronimo.web.assembler.Assembler.assemble(Assembler.java:44)
	at org.apache.geronimo.tomcat.BaseGeronimoContextConfig.configureStart(BaseGeronimoContextConfig.java:91)
	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:317)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4881)
	at org.apache.geronimo.tomcat.GeronimoStandardContext.access$101(GeronimoStandardContext.java:106)
	at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:688)
	at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:48)
	at org.apache.geronimo.tomcat.valve.ProtectedTargetValve.invoke(ProtectedTargetValve.java:53)
	at org.apache.geronimo.tomcat.GeronimoStandardContext.startInternal(GeronimoStandardContext.java:470)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:812)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
	at org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:310)
	at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:569)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:975)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:546)
	at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
	at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
	at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:234)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:546)
	at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
	at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
	at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:234)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:560)
	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:460)
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
	at org.apache.geronimo.osgi.web.extender.WebApplication.doRun(WebApplication.java:238)
	at org.apache.geronimo.osgi.web.extender.WebApplication.run(WebApplication.java:120)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
	at java.util.concurrent.FutureTask.run(FutureTask.java:149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
	at java.lang.Thread.run(Thread.java:736)
2011-03-29 15:47:32,796 ERROR [[/hello1]] createWrapper
java.lang.InstantiationException: web beans injection problem
	at org.apache.geronimo.j2ee.annotation.Holder.newInstance(Holder.java:187)
	at org.apache.geronimo.tomcat.TomcatInstanceManager.newInstance(TomcatInstanceManager.java:74)
	at org.apache.geronimo.tomcat.GeronimoStandardContext.createWrapper(GeronimoStandardContext.java:364)
	at org.apache.catalina.core.ApplicationContext.addServlet(ApplicationContext.java:1111)
	at org.apache.catalina.core.ApplicationContext.addServlet(ApplicationContext.java:1041)
	at org.apache.catalina.core.ApplicationContextFacade.addServlet(ApplicationContextFacade.java:509)
	at org.apache.geronimo.web.assembler.Assembler.addServlet(Assembler.java:74)
	at org.apache.geronimo.web.assembler.Assembler.assemble(Assembler.java:44)
	at org.apache.geronimo.tomcat.BaseGeronimoContextConfig.configureStart(BaseGeronimoContextConfig.java:91)
	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:317)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4881)
	at org.apache.geronimo.tomcat.GeronimoStandardContext.access$101(GeronimoStandardContext.java:106)
	at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:688)
	at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:48)
	at org.apache.geronimo.tomcat.valve.ProtectedTargetValve.invoke(ProtectedTargetValve.java:53)
	at org.apache.geronimo.tomcat.GeronimoStandardContext.startInternal(GeronimoStandardContext.java:470)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:812)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
	at org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:310)
	at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:569)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:975)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:546)
	at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
	at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
	at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:234)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:546)
	at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
	at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
	at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:234)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:560)
	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:460)
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
	at org.apache.geronimo.osgi.web.extender.WebApplication.doRun(WebApplication.java:238)
	at org.apache.geronimo.osgi.web.extender.WebApplication.run(WebApplication.java:120)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
	at java.util.concurrent.FutureTask.run(FutureTask.java:149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
	at java.lang.Thread.run(Thread.java:736)
Caused by: java.lang.IllegalArgumentException: Error is occured while getting injection points
for the Java EE component instance class, class org.apache.catalina.core.StandardWrapper
	at org.apache.webbeans.util.WebBeansAnnotatedTypeUtil.getJavaEeComponentInstanceInjectionPoints(WebBeansAnnotatedTypeUtil.java:735)
	at org.apache.webbeans.inject.OWBInjector.inject(OWBInjector.java:126)
	at org.apache.webbeans.inject.OWBInjector.inject(OWBInjector.java:93)
	at org.apache.geronimo.j2ee.annotation.Holder.newInstance(Holder.java:185)
	... 59 more
Caused by: java.lang.NullPointerException
	at org.apache.webbeans.portable.AnnotatedTypeImpl.init(AnnotatedTypeImpl.java:77)
	at org.apache.webbeans.portable.AnnotatedTypeImpl.getFields(AnnotatedTypeImpl.java:174)
	at org.apache.webbeans.util.WebBeansAnnotatedTypeUtil.defineInjectedFields(WebBeansAnnotatedTypeUtil.java:340)
	at org.apache.webbeans.component.creation.AbstractInjectedTargetBeanCreator.defineInjectedFields(AbstractInjectedTargetBeanCreator.java:80)
	at org.apache.webbeans.util.WebBeansAnnotatedTypeUtil.getJavaEeComponentInstanceInjectionPoints(WebBeansAnnotatedTypeUtil.java:724)
	at org.apache.webbeans.inject.OWBInjector.inject(OWBInjector.java:121)
	... 61 more
2011-03-29 15:47:32,796 ERROR [GBeanInstance] Problem in doFail of default/com.******.sjlee.HelloWorldWAB1/1301384852546/wab?J2EEApplication=null,j2eeType=WebModule,name=default/com.******.sjlee.HelloWorldWAB1/1301384852546/wab
java.lang.RuntimeException: org.apache.catalina.LifecycleException: An invalid Lifecycle transition
was attempted ([before_stop]) for component [StandardEngine[Catalina].StandardHost[0.0.0.0].StandardContext[/hello1]]
in state [STARTING_PREP]
	at org.apache.geronimo.tomcat.TomcatContainer.removeContext(TomcatContainer.java:327)
	at org.apache.geronimo.tomcat.TomcatWebAppContext.doFail(TomcatWebAppContext.java:595)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:1031)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:546)
	at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
	at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
	at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:234)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:546)
	at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
	at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
	at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:234)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:560)
	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:460)
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
	at org.apache.geronimo.osgi.web.extender.WebApplication.doRun(WebApplication.java:238)
	at org.apache.geronimo.osgi.web.extender.WebApplication.run(WebApplication.java:120)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
	at java.util.concurrent.FutureTask.run(FutureTask.java:149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
	at java.lang.Thread.run(Thread.java:736)
Caused by: org.apache.catalina.LifecycleException: An invalid Lifecycle transition was attempted
([before_stop]) for component [StandardEngine[Catalina].StandardHost[0.0.0.0].StandardContext[/hello1]]
in state [STARTING_PREP]
	at org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:351)
	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:216)
	at org.apache.geronimo.tomcat.GeronimoStandardContext.kill(GeronimoStandardContext.java:449)
	at org.apache.geronimo.tomcat.TomcatContainer.removeContext(TomcatContainer.java:325)
	... 37 more
2011-03-29 15:47:32,796 ERROR [GBeanInstanceState] Error while starting; GBean is now in the
FAILED state: abstractName="default/com.******.sjlee.HelloWorldWAB1/1301384852546/wab?J2EEApplication=null,j2eeType=WebModule,name=default/com.******.sjlee.HelloWorldWAB1/1301384852546/wab"
java.lang.NullPointerException
	at org.apache.catalina.core.ApplicationContext.addServlet(ApplicationContext.java:1112)
	at org.apache.catalina.core.ApplicationContext.addServlet(ApplicationContext.java:1041)
	at org.apache.catalina.core.ApplicationContextFacade.addServlet(ApplicationContextFacade.java:509)
	at org.apache.geronimo.web.assembler.Assembler.addServlet(Assembler.java:74)
	at org.apache.geronimo.web.assembler.Assembler.assemble(Assembler.java:44)
	at org.apache.geronimo.tomcat.BaseGeronimoContextConfig.configureStart(BaseGeronimoContextConfig.java:91)
	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:317)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4881)
	at org.apache.geronimo.tomcat.GeronimoStandardContext.access$101(GeronimoStandardContext.java:106)
	at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:688)
	at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:48)
	at org.apache.geronimo.tomcat.valve.ProtectedTargetValve.invoke(ProtectedTargetValve.java:53)
	at org.apache.geronimo.tomcat.GeronimoStandardContext.startInternal(GeronimoStandardContext.java:470)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:812)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
	at org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:310)
	at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:569)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:975)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:546)
	at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
	at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
	at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:234)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:546)
	at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
	at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
	at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:234)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:560)
	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:460)
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
	at org.apache.geronimo.osgi.web.extender.WebApplication.doRun(WebApplication.java:238)
	at org.apache.geronimo.osgi.web.extender.WebApplication.run(WebApplication.java:120)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
	at java.util.concurrent.FutureTask.run(FutureTask.java:149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
	at java.lang.Thread.run(Thread.java:736)
2011-03-29 15:47:32,796 ERROR [WebApplication] Unable to start web application for bundle
com.******.sjlee.HelloWorldWAB1
org.apache.geronimo.kernel.config.LifecycleException: start of default/com.******.sjlee.HelloWorldWAB1/1301384852546/wab
failed
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:718)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
	at org.apache.geronimo.osgi.web.extender.WebApplication.doRun(WebApplication.java:238)
	at org.apache.geronimo.osgi.web.extender.WebApplication.run(WebApplication.java:120)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
	at java.util.concurrent.FutureTask.run(FutureTask.java:149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
	at java.lang.Thread.run(Thread.java:736)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:521)
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
	... 9 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration default/com.******.sjlee.HelloWorldWAB1/1301384852546/wab
failed to start due to the following reasons:
  The service J2EEApplication=null,j2eeType=WebModule,name=default/com.******.sjlee.HelloWorldWAB1/1301384852546/wab
did not start because null
java.lang.NullPointerException
	at org.apache.catalina.core.ApplicationContext.addServlet(ApplicationContext.java:1112)
	at org.apache.catalina.core.ApplicationContext.addServlet(ApplicationContext.java:1041)
	at org.apache.catalina.core.ApplicationContextFacade.addServlet(ApplicationContextFacade.java:509)
	at org.apache.geronimo.web.assembler.Assembler.addServlet(Assembler.java:74)
	at org.apache.geronimo.web.assembler.Assembler.assemble(Assembler.java:44)
	at org.apache.geronimo.tomcat.BaseGeronimoContextConfig.configureStart(BaseGeronimoContextConfig.java:91)
	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:317)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4881)
	at org.apache.geronimo.tomcat.GeronimoStandardContext.access$101(GeronimoStandardContext.java:106)
	at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:688)
	at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:48)
	at org.apache.geronimo.tomcat.valve.ProtectedTargetValve.invoke(ProtectedTargetValve.java:53)
	at org.apache.geronimo.tomcat.GeronimoStandardContext.startInternal(GeronimoStandardContext.java:470)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:812)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
	at org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:310)
	at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:569)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:975)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:546)
	at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
	at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
	at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:234)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:546)
	at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
	at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
	at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:234)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:560)
	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:460)
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
	at org.apache.geronimo.osgi.web.extender.WebApplication.doRun(WebApplication.java:238)
	at org.apache.geronimo.osgi.web.extender.WebApplication.run(WebApplication.java:120)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
	at java.util.concurrent.FutureTask.run(FutureTask.java:149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
	at java.lang.Thread.run(Thread.java:736)


	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:487)
	... 11 more

> Unable to start web application for EBA bundle "HelloWorldWAB1.app.eba"
> -----------------------------------------------------------------------
>
>                 Key: GERONIMO-5841
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5841
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 3.0
>            Reporter: LiWenQin
>            Assignee: Ivan
>             Fix For: 3.0
>
>
> Deploy the eba to the newest web-profile server built on 2011-03-01.
> But the same eba was deployed and worked well on the web-profile server built on 2011-02-28.
> Error info from server:
> 2011-03-01 15:51:34,753 ERROR [WebApplication] Unable to start web application f
> or bundle xxx.HelloWorldWAB1
> org.apache.geronimo.common.DeploymentException: Could not load servlet class org
> .apache.catalina.servlets.DefaultServlet from bundle xxx.HelloWorldWA
> B1_1.0.0 [276]
>         at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(T
> omcatModuleBuilder.java:600)
>         at org.apache.geronimo.osgi.web.extender.WebApplication.doRun(WebApplica
> tion.java:212)
>         at org.apache.geronimo.osgi.web.extender.WebApplication.run(WebApplicati
> on.java:120)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
> 1)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
> utor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
> .java:908)
>         at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.ClassNotFoundException: org.apache.catalina.servlets.Defaul
> tServlet
>         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(Bundl
> eLoader.java:506)
>         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.
> java:422)
>         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.
> java:410)
>         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(De
> faultClassLoader.java:107)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>         at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.
> java:338)
>         at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleH
> ost.java:232)
>         at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(Abs
> tractBundle.java:1197)
>         at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(T
> omcatModuleBuilder.java:598)
>         ... 8 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message