You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Kevan Miller (JIRA)" <ji...@apache.org> on 2010/04/23 17:11:49 UTC

[jira] Created: (GERONIMO-5268) Context did not start for an unknown reason -- does not help identify the true cause of a deployment failure

Context did not start for an unknown reason -- does not help identify the true cause of a deployment failure
------------------------------------------------------------------------------------------------------------

                 Key: GERONIMO-5268
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5268
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
    Affects Versions: 2.2, 2.1.5, 3.0
            Reporter: Kevan Miller


Errors like the following are difficult to debug/diagnose. We should do something to make it easier for users to diagnose the actual issue. 


$ ./bin/deploy.sh -v --user system --password manager deploy jms-webapp.war 
Using GERONIMO_HOME:   /opt/geronimo-tomcat6-minimal-2.2
Using GERONIMO_TMPDIR: var/temp
Using JRE_HOME:        
22:49:03,936 INFO  [AbstractGBeanReference] GBean references are not using proxies
22:49:04,212 INFO  [MultiParentClassLoader] ClassLoading behaviour has changed.  The Original Classloading mode is in effect.  If you are experiencing a problem
you can change the behaviour by specifying -DXorg.apache.geronimo.kernel.config.MPCLSearchOption= property.  Specify 
="safe" to revert to the original behaviour.  This is a temporary change until we decide whether or not to make it
permanent for the 2.0 release
2010-04-22 22:49:13,247 ERROR [DeployTool] Error: 
org.apache.geronimo.common.DeploymentException: Operation failed: start of org.apache.activemq.book/jms-webapp/1.0-SNAPSHOT/war failed
org.apache.geronimo.kernel.config.LifecycleException: start of org.apache.activemq.book/jms-webapp/1.0-SNAPSHOT/war failed
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
        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.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:851)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:237)
        at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
        at sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:851)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:237)
        at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
        at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1426)
        at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
        at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1264)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1366)
        at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
        at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
        at sun.rmi.transport.Transport$1.run(Transport.java:159)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:637)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:522)
        at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546)
        ... 39 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration org.apache.activemq.book/jms-webapp/1.0-SNAPSHOT/war failed to start due to the following reasons:
  The service J2EEApplication=null,j2eeType=WebModule,name=org.apache.activemq.book/jms-webapp/1.0-SNAPSHOT/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:485)
        ... 41 more

        at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:169)
        at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:125)
        at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:168)
        at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
        at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
        at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.