You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by MShah <mo...@yahoo.com> on 2007/10/12 00:35:09 UTC
org.apache.geronimo.kernel.config.LifecycleException - server start
up failed
When I try to run my web project in Geronimo 2.01 I get the following
exception and the server fails to start up. Any inputs on resolving this
will be much appreciated.
odule 38/38 default/p2k6App.war/1192141421673/war
Server Startup failed
org.apache.geronimo.kernel.config.LifecycleException: load of
default/p2k6App.war/1192141421673/war failed
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:274)
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:830)
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$$7b51cf3.loadConfiguration(<generated>)
at
org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:153)
at
org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78)
at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
Caused by: org.apache.geronimo.kernel.config.NoSuchConfigException:
default/p2k6App.war/1192141421673/war
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfigurationData(SimpleConfigurationManager.java:457)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:271)
... 14 more
[] received stop signal
15:29:49,745 ERROR [Connector] Error finding container
javax.management.AttributeNotFoundException: Cannot find attribute
managedResource for StandardEngine[Geronimo]
15:29:49,745 ERROR [CoyoteAdapter] An exception or error occurred in the
container during the request processing
java.lang.NullPointerException
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Exception in thread "Geronimo hot deploy scanner"
java.lang.NoClassDefFoundError:
org/apache/geronimo/deployment/hot/DirectoryMonitor$FileInfo
at
org.apache.geronimo.deployment.hot.DirectoryMonitor.getDirectoryInfo(DirectoryMonitor.java:436)
at
org.apache.geronimo.deployment.hot.DirectoryMonitor.initialize(DirectoryMonitor.java:234)
at
org.apache.geronimo.deployment.hot.DirectoryMonitor.run(DirectoryMonitor.java:213)
at java.lang.Thread.run(Unknown Source)
--
View this message in context: http://www.nabble.com/org.apache.geronimo.kernel.config.LifecycleException---server-start-up-failed-tf4610348s134.html#a13166044
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: org.apache.geronimo.kernel.config.LifecycleException - server start up failed
Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On 10/25/07, dbehm <DB...@de.ibm.com> wrote:
> i have quite a simliar problem, using WAS CE 2.0 (Server Build:
> V2.0.0.0-200709121103), Java Version: 1.5.0_13
It works fine with Geronimo built from the trunk. I'd try it out again
with the recent WASCE release.
jlaskowski@dev /cygdrive/c/geronimo
$ ./bin/deploy.sh -u system -p manager deploy JSPWiki_v1.war
Using GERONIMO_BASE: c:\geronimo
Using GERONIMO_HOME: c:\geronimo
Using GERONIMO_TMPDIR: c:\geronimo\var\temp
Using JRE_HOME: c:\apps\java5\jre
Deployed behm.wasce.samples/JSPWiki/1.0/war @ /JSPWiki
jlaskowski@dev /cygdrive/c/geronimo
$ ./bin/geronimo.sh run -vv
Using GERONIMO_BASE: c:\geronimo
Using GERONIMO_HOME: c:\geronimo
Using GERONIMO_TMPDIR: c:\geronimo\var\temp
Using JRE_HOME: c:\apps\java5\jre
...
Geronimo startup complete
13:16:44,703 INFO [JSPWiki] Assigning new engine to 12709013
13:16:44,703 INFO [JSPWiki] No jspwiki.propertyfile defined for this
context, using default from /WEB-INF/jspwiki.properties
and in the web browser I can see it's JSPWiki v2.4.104.
The geronimo-web.xml file looks fine - a bit old namespace
declarations, but there's not much changes you might be missing.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
Re: org.apache.geronimo.kernel.config.LifecycleException - server
start up failed
Posted by dbehm <DB...@de.ibm.com>.
Hi all,
i have quite a simliar problem, using WAS CE 2.0 (Server Build:
V2.0.0.0-200709121103), Java Version: 1.5.0_13
Deploying with the eclipse plugin, i receive following error. The Web
Console stops and the Server needs to be restartet. No entry in the
server-log.
It is possible to install the web app over the web console without starting.
Trying to start the application over the web console same behavior - WAS CE
console does not respond, app is not running.
Quite the same problem is described here:
http://www.google.de/search?q=org.apache.geronimo.kernel.config.LifecycleException%20Workaround&hl=de&start=0&sa=N&filter=0
For testing purpose, i attach the war file(
http://www.nabble.com/file/p13406431/JSPWiki_v1.war JSPWiki_v1.war ). check
the jspwiki.properties...
regards,
dennis
Redeploy of configuration failed. See log for details.
start of behm.wasce.samples/JSPWiki/1.0/war failed
org.apache.geronimo.kernel.config.LifecycleException: start of
behm.wasce.samples/JSPWiki/1.0/war failed
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:547)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:511)
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:865)
at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
at
org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.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:865)
at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
at
org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:168)
at
com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1410)
at
javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
at
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1247)
at java.security.AccessController.doPrivileged(Native Method)
at
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1350)
at
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:784)
at sun.reflect.GeneratedMethodAccessor189.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException:
Unknown start exception
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:514)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:530)
... 35 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
Configuration behm.wasce.samples/JSPWiki/1.0/war failed to start due to the
following reasons:
The service
J2EEApplication=null,j2eeType=WebModule,name=behm.wasce.samples/JSPWiki/1.0/war
did not start because ContainerBase.addChild: start: LifecycleException:
java.io.IOException: Context did not start for an unknown reason
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:477)
... 37 more
djencks wrote:
>
>
> If you can supply a reproducible procedure to get to this state from
> a fresh copy of geronimo we might be able to investigate further.
> Without knowing exactly what you did it is pretty hard to offer advice.
>
> Are you using the hot deployer? If you are I would suggest you try
> deploying your app in some other way such as through the console or
> the command line or a maven plugin as part of your project build. I
> think the eclipse plugin also offers deployment.
>
> thanks
> david jencks
>
> On Oct 11, 2007, at 3:35 PM, MShah wrote:
>
>>
>> When I try to run my web project in Geronimo 2.01 I get the following
>> exception and the server fails to start up. Any inputs on
>> resolving this
>> will be much appreciated.
>>
>>
>>
>> odule 38/38 default/p2k6App.war/1192141421673/war
>> Server Startup failed
>>
>> org.apache.geronimo.kernel.config.LifecycleException: load of
>> default/p2k6App.war/1192141421673/war failed
>> at
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi
>> guration(SimpleConfigurationManager.java:274)
>> 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:830)
>> 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$$7b51cf3.loadConfiguration(<generated>)
>> at
>> org.apache.geronimo.system.main.EmbeddedDaemon.doStartup
>> (EmbeddedDaemon.java:153)
>> at
>> org.apache.geronimo.system.main.EmbeddedDaemon.execute
>> (EmbeddedDaemon.java:78)
>> at
>> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main
>> (MainConfigurationBootstrapper.java:45)
>> at org.apache.geronimo.cli.AbstractCLI.executeMain
>> (AbstractCLI.java:67)
>> at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
>> Caused by: org.apache.geronimo.kernel.config.NoSuchConfigException:
>> default/p2k6App.war/1192141421673/war
>> at
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi
>> gurationData(SimpleConfigurationManager.java:457)
>> at
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi
>> guration(SimpleConfigurationManager.java:271)
>> ... 14 more
>> [] received stop signal
>> 15:29:49,745 ERROR [Connector] Error finding container
>> javax.management.AttributeNotFoundException: Cannot find attribute
>> managedResource for StandardEngine[Geronimo]
>> 15:29:49,745 ERROR [CoyoteAdapter] An exception or error occurred
>> in the
>> container during the request processing
>> java.lang.NullPointerException
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service
>> (CoyoteAdapter.java:261)
>> at
>> org.apache.coyote.http11.Http11Processor.process
>> (Http11Processor.java:844)
>> at
>> org.apache.coyote.http11.Http11Protocol
>> $Http11ConnectionHandler.process(Http11Protocol.java:581)
>> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run
>> (JIoEndpoint.java:447)
>> at java.lang.Thread.run(Unknown Source)
>> Exception in thread "Geronimo hot deploy scanner"
>> java.lang.NoClassDefFoundError:
>> org/apache/geronimo/deployment/hot/DirectoryMonitor$FileInfo
>> at
>> org.apache.geronimo.deployment.hot.DirectoryMonitor.getDirectoryInfo
>> (DirectoryMonitor.java:436)
>> at
>> org.apache.geronimo.deployment.hot.DirectoryMonitor.initialize
>> (DirectoryMonitor.java:234)
>> at
>> org.apache.geronimo.deployment.hot.DirectoryMonitor.run
>> (DirectoryMonitor.java:213)
>> at java.lang.Thread.run(Unknown Source)
>>
>> --
>> View this message in context: http://www.nabble.com/
>> org.apache.geronimo.kernel.config.LifecycleException---server-start-
>> up-failed-tf4610348s134.html#a13166044
>> Sent from the Apache Geronimo - Users mailing list archive at
>> Nabble.com.
>>
>
>
>
--
View this message in context: http://www.nabble.com/org.apache.geronimo.kernel.config.LifecycleException---server-start-up-failed-tf4610348s134.html#a13406431
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: org.apache.geronimo.kernel.config.LifecycleException - server start up failed
Posted by David Jencks <da...@yahoo.com>.
If you can supply a reproducible procedure to get to this state from
a fresh copy of geronimo we might be able to investigate further.
Without knowing exactly what you did it is pretty hard to offer advice.
Are you using the hot deployer? If you are I would suggest you try
deploying your app in some other way such as through the console or
the command line or a maven plugin as part of your project build. I
think the eclipse plugin also offers deployment.
thanks
david jencks
On Oct 11, 2007, at 3:35 PM, MShah wrote:
>
> When I try to run my web project in Geronimo 2.01 I get the following
> exception and the server fails to start up. Any inputs on
> resolving this
> will be much appreciated.
>
>
>
> odule 38/38 default/p2k6App.war/1192141421673/war
> Server Startup failed
>
> org.apache.geronimo.kernel.config.LifecycleException: load of
> default/p2k6App.war/1192141421673/war failed
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi
> guration(SimpleConfigurationManager.java:274)
> 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:830)
> 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$$7b51cf3.loadConfiguration(<generated>)
> at
> org.apache.geronimo.system.main.EmbeddedDaemon.doStartup
> (EmbeddedDaemon.java:153)
> at
> org.apache.geronimo.system.main.EmbeddedDaemon.execute
> (EmbeddedDaemon.java:78)
> at
> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main
> (MainConfigurationBootstrapper.java:45)
> at org.apache.geronimo.cli.AbstractCLI.executeMain
> (AbstractCLI.java:67)
> at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
> Caused by: org.apache.geronimo.kernel.config.NoSuchConfigException:
> default/p2k6App.war/1192141421673/war
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi
> gurationData(SimpleConfigurationManager.java:457)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi
> guration(SimpleConfigurationManager.java:271)
> ... 14 more
> [] received stop signal
> 15:29:49,745 ERROR [Connector] Error finding container
> javax.management.AttributeNotFoundException: Cannot find attribute
> managedResource for StandardEngine[Geronimo]
> 15:29:49,745 ERROR [CoyoteAdapter] An exception or error occurred
> in the
> container during the request processing
> java.lang.NullPointerException
> at
> org.apache.catalina.connector.CoyoteAdapter.service
> (CoyoteAdapter.java:261)
> at
> org.apache.coyote.http11.Http11Processor.process
> (Http11Processor.java:844)
> at
> org.apache.coyote.http11.Http11Protocol
> $Http11ConnectionHandler.process(Http11Protocol.java:581)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run
> (JIoEndpoint.java:447)
> at java.lang.Thread.run(Unknown Source)
> Exception in thread "Geronimo hot deploy scanner"
> java.lang.NoClassDefFoundError:
> org/apache/geronimo/deployment/hot/DirectoryMonitor$FileInfo
> at
> org.apache.geronimo.deployment.hot.DirectoryMonitor.getDirectoryInfo
> (DirectoryMonitor.java:436)
> at
> org.apache.geronimo.deployment.hot.DirectoryMonitor.initialize
> (DirectoryMonitor.java:234)
> at
> org.apache.geronimo.deployment.hot.DirectoryMonitor.run
> (DirectoryMonitor.java:213)
> at java.lang.Thread.run(Unknown Source)
>
> --
> View this message in context: http://www.nabble.com/
> org.apache.geronimo.kernel.config.LifecycleException---server-start-
> up-failed-tf4610348s134.html#a13166044
> Sent from the Apache Geronimo - Users mailing list archive at
> Nabble.com.
>