java.lang.IllegalStateException: Cannot start an unitialised service.

MuleSoft JIRA | Angelo Bresci | 8 years ago
  1. 0

    Unable to use HashMap optimization in JRockit JDK, because it causes errors due to this assumption. Changing HashSet to LinkedHashMap does not seem to eliminate problem. Here's the stack trace: ******************************************************************************** Message : Failed to invoke lifecycle phase "start" on object: _jerseyConnector3836657138366571 Type : org.mule.api.lifecycle.LifecycleException Code : MULE_ERROR-70228 JavaDoc : http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/lifecycle/LifecycleException.html ******************************************************************************** Exception stack is: 1. Cannot start an unitialised service. (java.lang.IllegalStateException) org.mule.service.AbstractService:275 (http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html) 2. Failed to invoke lifecycle phase "start" on object: _jerseyConnector3836657138366571 (org.mule.api.lifecycle.LifecycleException) org.mule.lifecycle.DefaultLifecyclePhase:278 (http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/lifecycle/LifecycleException.html) ******************************************************************************** Root Exception stack trace: java.lang.IllegalStateException: Cannot start an unitialised service. at org.mule.service.AbstractService.start(AbstractService.java:275) at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.mule.lifecycle.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:274) at org.mule.lifecycle.GenericLifecycleManager.applyCompletedPhases(GenericLifecycleManager.java:157) at org.mule.registry.TransientRegistry.registerObject(TransientRegistry.java:221) at org.mule.registry.AbstractRegistryBroker.registerObject(AbstractRegistryBroker.java:130) at org.mule.registry.MuleRegistryHelper.registerService(MuleRegistryHelper.java:505) at com.gsicommerce.mule.transport.jersey.JerseyConnector.onNotification(JerseyConnector.java:158) at org.mule.context.notification.Sender.dispatch(Sender.java:40) at org.mule.context.notification.Policy.dispatch(Policy.java:127) at org.mule.context.notification.ServerNotificationManager.notifyListeners(ServerNotificationManager.java:211) at org.mule.context.notification.ServerNotificationManager.fireNotification(ServerNotificationManager.java:164) at org.mule.DefaultMuleContext.fireNotification(DefaultMuleContext.java:351) at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:166) at org.mule.config.builders.MuleXmlBuilderContextListener.initialize(MuleXmlBuilderContextListener.java:81) at org.mule.config.builders.MuleXmlBuilderContextListener.contextInitialized(MuleXmlBuilderContextListener.java:56) at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:458) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:168) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1744) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2909) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:973) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:361) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80) at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:182) at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:359) at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51) at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196) at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30) at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233) at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169) at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123) at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173) at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89) at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200) at weblogic.work.ExecuteThread.run(ExecuteThread.java:172) ********************************************************************************

    MuleSoft JIRA | 8 years ago | Angelo Bresci
    java.lang.IllegalStateException: Cannot start an unitialised service.
  2. 0

    Unable to use HashMap optimization in JRockit JDK, because it causes errors due to this assumption. Changing HashSet to LinkedHashMap does not seem to eliminate problem. Here's the stack trace: ******************************************************************************** Message : Failed to invoke lifecycle phase "start" on object: _jerseyConnector3836657138366571 Type : org.mule.api.lifecycle.LifecycleException Code : MULE_ERROR-70228 JavaDoc : http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/lifecycle/LifecycleException.html ******************************************************************************** Exception stack is: 1. Cannot start an unitialised service. (java.lang.IllegalStateException) org.mule.service.AbstractService:275 (http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html) 2. Failed to invoke lifecycle phase "start" on object: _jerseyConnector3836657138366571 (org.mule.api.lifecycle.LifecycleException) org.mule.lifecycle.DefaultLifecyclePhase:278 (http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/lifecycle/LifecycleException.html) ******************************************************************************** Root Exception stack trace: java.lang.IllegalStateException: Cannot start an unitialised service. at org.mule.service.AbstractService.start(AbstractService.java:275) at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.mule.lifecycle.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:274) at org.mule.lifecycle.GenericLifecycleManager.applyCompletedPhases(GenericLifecycleManager.java:157) at org.mule.registry.TransientRegistry.registerObject(TransientRegistry.java:221) at org.mule.registry.AbstractRegistryBroker.registerObject(AbstractRegistryBroker.java:130) at org.mule.registry.MuleRegistryHelper.registerService(MuleRegistryHelper.java:505) at com.gsicommerce.mule.transport.jersey.JerseyConnector.onNotification(JerseyConnector.java:158) at org.mule.context.notification.Sender.dispatch(Sender.java:40) at org.mule.context.notification.Policy.dispatch(Policy.java:127) at org.mule.context.notification.ServerNotificationManager.notifyListeners(ServerNotificationManager.java:211) at org.mule.context.notification.ServerNotificationManager.fireNotification(ServerNotificationManager.java:164) at org.mule.DefaultMuleContext.fireNotification(DefaultMuleContext.java:351) at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:166) at org.mule.config.builders.MuleXmlBuilderContextListener.initialize(MuleXmlBuilderContextListener.java:81) at org.mule.config.builders.MuleXmlBuilderContextListener.contextInitialized(MuleXmlBuilderContextListener.java:56) at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:458) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:168) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1744) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2909) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:973) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:361) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80) at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:182) at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:359) at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51) at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196) at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30) at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233) at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169) at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123) at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173) at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89) at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200) at weblogic.work.ExecuteThread.run(ExecuteThread.java:172) ********************************************************************************

    MuleSoft JIRA | 8 years ago | Angelo Bresci
    java.lang.IllegalStateException: Cannot start an unitialised service.
  3. 0

    Crash on XMLConfiguration.setAttribute : Cannot resolve the property java.lang.IllegalArgumentException: Cannot resolve: catalina.base See attached logs, same with jpa, toplink, etc but in the same environment works fine with 1.0.2 release C:\jetty-6.1.22>java -jar start.jar 2010-02-24 20:20:45.982:INFO::Logging to STDERR via org.mortbay.log.StdErrLog 2010-02-24 20:20:46.451:INFO::jetty-6.1.22 2010-02-24 20:20:46.732:INFO::Deploy C:\jetty-6.1.22\contexts\test-jndi.xml -> org.mortbay.jetty.webapp.WebAppContext@7808b9{/test-j ndi,C:\jetty-6.1.22/contexts/test-jndi.d} 2010-02-24 20:20:46.763:INFO::Deploy C:\jetty-6.1.22\contexts\test.xml -> org.mortbay.jetty.webapp.WebAppContext@5973ea{/,C:\jetty-6 .1.22/webapps/test} 2010-02-24 20:20:46.841:INFO::Deploy C:\jetty-6.1.22\contexts\javadoc.xml -> org.mortbay.jetty.handler.ContextHandler@1bbd23f{/javad oc,file:/C:/jetty-6.1.22/javadoc/} 2010-02-24 20:20:47.138:INFO::No Transaction manager found - if your webapp requires one, please configure one. 2010-02-24 20:20:48.373:INFO:/:Transparent AsyncProxyServlet @ /google to http://www.google.com 2010-02-24 20:20:50.529:INFO::Extract file:/C:/jetty-6.1.22/webapps/cometd.war to C:\DOCUME~1\fga\LOCALS~1\Temp\Jetty_0_0_0_0_8080_c ometd.war__cometd__.t2qfkl\webapp 2010-02-24 20:21:35.216:INFO::Extract file:/C:/jetty-6.1.22/webapps/ow2-easybeans-hibernate-1.2.0-enhancedpoolbranch-SNAPSHOT.war to C:\DOCUME~1\fga\LOCALS~1\Temp\Jetty_0_0_0_0_8080_ow2.easybeans.hibernate.1.2.0.enhancedpoolbranch.SNAPSHOT.war__ow2.easybeans.hiber nate.1.2.0.enhancedpoolbranch.SNAPSHOT__skycdj\webapp 24/02/10 20:21:39 (I) EmbeddedBootstrap.start : Configuring EasyBeans for Web Container type 'JETTY' 24/02/10 20:21:39 (I) EmbeddedBootstrap.start : No user-defined configuration file named 'easybeans.xml' found in classpath. Using d efault settings from 'jar:file:/C:/Documents%20and%20Settings/fga/Local%20Settings/Temp/Jetty_0_0_0_0_8080_ow2.easybeans.hibernate.1 .2.0.enhancedpoolbranch.SNAPSHOT.war__ow2.easybeans.hibernate.1.2.0.enhancedpoolbranch.SNAPSHOT__skycdj/webapp/WEB-INF/lib/easybeans -ee-war-1.2.0-enhancedpoolbranch-SNAPSHOT.jar!/org/ow2/easybeans/server/war/easybeans-default.xml' 24/02/10 20:21:39 (I) EmbeddedBootstrap.start : Add deploy directory 'C:\jetty-6.1.22\easybeans-deploy' 24/02/10 20:21:39 (I) Embedded.start : Configuring EasyBeans with the configuration URLs '[jar:file:/C:/Documents%20and%20Settings/f ga/Local%20Settings/Temp/Jetty_0_0_0_0_8080_ow2.easybeans.hibernate.1.2.0.enhancedpoolbranch.SNAPSHOT.war__ow2.easybeans.hibernate.1 .2.0.enhancedpoolbranch.SNAPSHOT__skycdj/webapp/WEB-INF/lib/easybeans-core-1.2.0-enhancedpoolbranch-SNAPSHOT.jar!/org/ow2/easybeans/ server/easybeans-core.xml, jar:file:/C:/Documents%20and%20Settings/fga/Local%20Settings/Temp/Jetty_0_0_0_0_8080_ow2.easybeans.hibern ate.1.2.0.enhancedpoolbranch.SNAPSHOT.war__ow2.easybeans.hibernate.1.2.0.enhancedpoolbranch.SNAPSHOT__skycdj/webapp/WEB-INF/lib/easy beans-ee-war-1.2.0-enhancedpoolbranch-SNAPSHOT.jar!/org/ow2/easybeans/server/war/easybeans-default.xml]' 24/02/10 20:21:40 (G) XMLConfiguration.setAttribute : Cannot resolve the property java.lang.IllegalArgumentException: Cannot resolve : catalina.base java.lang.IllegalArgumentException: Cannot resolve: catalina.base at org.ow2.util.xmlconfig.properties.PropertyResolverHelper.resolveProperty(PropertyResolverHelper.java:137) at org.ow2.util.xmlconfig.properties.PropertyResolverHelper.resolve(PropertyResolverHelper.java:54) at org.ow2.util.xmlconfig.XMLConfiguration.setAttribute(XMLConfiguration.java:572) at org.ow2.util.xmlconfig.XMLConfiguration.setAttributes(XMLConfiguration.java:424) at org.ow2.util.xmlconfig.XMLConfiguration.configure(XMLConfiguration.java:366) at org.ow2.util.xmlconfig.XMLConfiguration.configure(XMLConfiguration.java:375) at org.ow2.util.xmlconfig.XMLConfiguration.configure(XMLConfiguration.java:375) at org.ow2.util.xmlconfig.XMLConfiguration.configure(XMLConfiguration.java:207) at org.ow2.easybeans.server.EmbeddedConfigurator.configure(EmbeddedConfigurator.java:162) at org.ow2.easybeans.server.EmbeddedConfigurator.init(EmbeddedConfigurator.java:90) at org.ow2.easybeans.server.Embedded.start(Embedded.java:295) at org.ow2.easybeans.server.war.EmbeddedBootstrap.start(EmbeddedBootstrap.java:208) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.ow2.easybeans.server.war.EasyBeansContextListener.contextInitialized(EasyBeansContextListener.java:131) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.mortbay.start.Main.invokeMain(Main.java:194) at org.mortbay.start.Main.start(Main.java:534) at org.mortbay.start.Main.start(Main.java:441) at org.mortbay.start.Main.main(Main.java:119) java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.ow2.easybeans.server.war.EasyBeansContextListener.contextInitialized(EasyBeansContextListener.java:131) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.mortbay.start.Main.invokeMain(Main.java:194) at org.mortbay.start.Main.start(Main.java:534) at org.mortbay.start.Main.start(Main.java:441) at org.mortbay.start.Main.main(Main.java:119) Caused by: java.lang.IllegalStateException: Cannot start embedded EasyBeans server at org.ow2.easybeans.server.war.EmbeddedBootstrap.start(EmbeddedBootstrap.java:210) ... 28 more Caused by: org.ow2.easybeans.server.EmbeddedException: Cannot configure the embedded server at org.ow2.easybeans.server.Embedded.start(Embedded.java:298) at org.ow2.easybeans.server.war.EmbeddedBootstrap.start(EmbeddedBootstrap.java:208) ... 28 more Caused by: org.ow2.easybeans.server.EmbeddedException: Cannot configure the embedded server at org.ow2.easybeans.server.EmbeddedConfigurator.configure(EmbeddedConfigurator.java:164) at org.ow2.easybeans.server.EmbeddedConfigurator.init(EmbeddedConfigurator.java:90) at org.ow2.easybeans.server.Embedded.start(Embedded.java:295) ... 29 more Caused by: org.ow2.util.xmlconfig.XMLConfigurationException: No value Object found for required parameter 'directory' on class 'clas s org.ow2.easybeans.component.depmonitor.ScanningMonitor'. at org.ow2.util.xmlconfig.XMLConfiguration.setAttribute(XMLConfiguration.java:627) at org.ow2.util.xmlconfig.XMLConfiguration.setAttributes(XMLConfiguration.java:424) at org.ow2.util.xmlconfig.XMLConfiguration.configure(XMLConfiguration.java:366) at org.ow2.util.xmlconfig.XMLConfiguration.configure(XMLConfiguration.java:375) at org.ow2.util.xmlconfig.XMLConfiguration.configure(XMLConfiguration.java:375) at org.ow2.util.xmlconfig.XMLConfiguration.configure(XMLConfiguration.java:207) at org.ow2.easybeans.server.EmbeddedConfigurator.configure(EmbeddedConfigurator.java:162) ... 31 more 2010-02-24 20:21:40.357:WARN::Failed startup of context org.mortbay.jetty.webapp.WebAppContext@fa5ff3{/ow2-easybeans-hibernate-1.2.0 -enhancedpoolbranch-SNAPSHOT,file:/C:/jetty-6.1.22/webapps/ow2-easybeans-hibernate-1.2.0-enhancedpoolbranch-SNAPSHOT.war} java.lang.IllegalStateException: Cannot start at org.ow2.easybeans.server.war.EasyBeansContextListener.contextInitialized(EasyBeansContextListener.java:135) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.mortbay.start.Main.invokeMain(Main.java:194) at org.mortbay.start.Main.start(Main.java:534) at org.mortbay.start.Main.start(Main.java:441) at org.mortbay.start.Main.main(Main.java:119) 2010-02-24 20:21:40.466:WARN::Unknown realm: Test JAAS Realm 2010-02-24 20:21:40.638:INFO::Opened C:\jetty-6.1.22\logs\2010_02_24.request.log 2010-02-24 20:21:40.669:INFO::Started SelectChannelConnector@0.0.0.0:8080

    JIRA | 7 years ago | Frédéric Gaillard
    java.lang.IllegalStateException: Cannot start
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    problem enable gerrit for https

    Google Groups | 5 months ago | Joy Xiong
    java.lang.IllegalStateException: Cannot start HTTP daemon
  6. 0

    gerrit+postgresql, gerrit start fail

    Google Groups | 5 years ago | Jelly
    java.lang.IllegalStateException: Cannot start HTTP daemon

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Cannot start an unitialised service.

      at org.mule.service.AbstractService.start()
    2. Mule Core
      AbstractService.start
      1. org.mule.service.AbstractService.start(AbstractService.java:275)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    4. Mule Core
      MuleRegistryHelper.registerService
      1. org.mule.lifecycle.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:274)
      2. org.mule.lifecycle.GenericLifecycleManager.applyCompletedPhases(GenericLifecycleManager.java:157)
      3. org.mule.registry.TransientRegistry.registerObject(TransientRegistry.java:221)
      4. org.mule.registry.AbstractRegistryBroker.registerObject(AbstractRegistryBroker.java:130)
      5. org.mule.registry.MuleRegistryHelper.registerService(MuleRegistryHelper.java:505)
      5 frames
    5. com.gsicommerce.mule
      JerseyConnector.onNotification
      1. com.gsicommerce.mule.transport.jersey.JerseyConnector.onNotification(JerseyConnector.java:158)
      1 frame
    6. Mule Core
      MuleXmlBuilderContextListener.contextInitialized
      1. org.mule.context.notification.Sender.dispatch(Sender.java:40)
      2. org.mule.context.notification.Policy.dispatch(Policy.java:127)
      3. org.mule.context.notification.ServerNotificationManager.notifyListeners(ServerNotificationManager.java:211)
      4. org.mule.context.notification.ServerNotificationManager.fireNotification(ServerNotificationManager.java:164)
      5. org.mule.DefaultMuleContext.fireNotification(DefaultMuleContext.java:351)
      6. org.mule.DefaultMuleContext.start(DefaultMuleContext.java:166)
      7. org.mule.config.builders.MuleXmlBuilderContextListener.initialize(MuleXmlBuilderContextListener.java:81)
      8. org.mule.config.builders.MuleXmlBuilderContextListener.contextInitialized(MuleXmlBuilderContextListener.java:56)
      8 frames
    7. Atmosphere weblogic
      EventsManager$FireContextListenerAction.run
      1. weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:458)
      1 frame
    8. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    9. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(Unknown Source)
      1 frame
    10. Atmosphere weblogic
      WebAppModule.start
      1. weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:168)
      2. weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1744)
      3. weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2909)
      4. weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:973)
      5. weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:361)
      5 frames
    11. weblogic.application.internal
      ModuleStateDriver$3.next
      1. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
      1 frame
    12. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
      1 frame
    13. weblogic.application.internal
      ModuleStateDriver$3.next
      1. weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
      2. weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
      3. weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
      4. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
      4 frames
    14. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
      1 frame
    15. weblogic.application.internal
      BaseDeployment$2.next
      1. weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
      2. weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
      3. weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
      3 frames
    16. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
      1 frame
    17. weblogic.application.internal
      DeploymentStateChecker.activate
      1. weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
      2. weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
      2 frames
    18. weblogic.deploy.internal
      BasicDeployment.activateFromServerLifecycle
      1. weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
      2. weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:182)
      3. weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:359)
      3 frames
    19. weblogic.management.deploy
      DeploymentServerService.start
      1. weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
      2. weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
      3. weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
      4. weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
      5. weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
      6. weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
      7. weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
      8. weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
      8 frames
    20. weblogic.t3.srvr
      SubsystemRequest.run
      1. weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
      1 frame
    21. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
      2 frames