[gatein-issues] [JBoss JIRA] (GTNPORTAL-3564) ContainerLifecyclePlugin errors on shutdown

Lucas Ponce (JIRA) issues at jboss.org
Wed Nov 19 06:05:39 EST 2014


Lucas Ponce created GTNPORTAL-3564:
--------------------------------------

             Summary: ContainerLifecyclePlugin errors on shutdown
                 Key: GTNPORTAL-3564
                 URL: https://issues.jboss.org/browse/GTNPORTAL-3564
             Project: GateIn Portal
          Issue Type: Bug
    Affects Versions: 3.8.9.Alpha01
            Reporter: Lucas Ponce
             Fix For: 3.8.9.Alpha02


After showdown a GateIn instance from command line using a CTRL+C signal we can see an Exception like this:

{code}
11:48:19,555 WARN  [exo.kernel.container.ExoContainer] (Thread-69) An error occurs with the ContainerLifecyclePlugin 'org.gatein.integration.wsrp.WSRPContainerLifecyclePlugin': java.lang.IllegalStateException: Cannot close the session as it hasn't been opened first!
	at org.gatein.wsrp.jcr.BaseChromatticPersister.getOpenedSessionOrFail(BaseChromatticPersister.java:145)
	at org.gatein.wsrp.jcr.BaseChromatticPersister.closeSession(BaseChromatticPersister.java:121)
	at org.gatein.wsrp.producer.config.JCRProducerConfigurationService.getPersistedLastModifiedForConfiguration(JCRProducerConfigurationService.java:135)
	at org.gatein.wsrp.producer.config.impl.AbstractProducerConfigurationService.getConfiguration(AbstractProducerConfigurationService.java:48)
	at org.gatein.wsrp.producer.WSRPProducerImpl.getProducerConfiguration(WSRPProducerImpl.java:346)
	at org.gatein.wsrp.producer.WSRPProducerImpl.getProducerRegistrationRequirements(WSRPProducerImpl.java:193)
	at org.gatein.wsrp.producer.WSRPProducerImpl.stop(WSRPProducerImpl.java:417)
	at org.gatein.integration.wsrp.WSRPServiceIntegration.stopProducer(WSRPServiceIntegration.java:397)
	at org.gatein.integration.wsrp.WSRPServiceIntegration.stopContainer(WSRPServiceIntegration.java:391)
	at org.gatein.integration.wsrp.WSRPContainerLifecyclePlugin.stopContainer(WSRPContainerLifecyclePlugin.java:39)
	at org.exoplatform.container.ExoContainer.stopContainerInternal(ExoContainer.java:332) [exo.kernel.container-2.4.10-GA.jar:2.4.10-GA]
	at org.exoplatform.container.ExoContainer.stop(ExoContainer.java:290) [exo.kernel.container-2.4.10-GA.jar:2.4.10-GA]
	at org.exoplatform.container.PortalContainer.stop(PortalContainer.java:690) [exo.kernel.container-2.4.10-GA.jar:2.4.10-GA]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_67]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_67]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_67]
	at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_67]
	at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:100) [exo.kernel.container-2.4.10-GA.jar:2.4.10-GA]
	at org.exoplatform.container.LifecycleVisitor.stop(LifecycleVisitor.java:179) [exo.kernel.container-2.4.10-GA.jar:2.4.10-GA]
	at org.exoplatform.container.ConcurrentPicoContainer.stop(ConcurrentPicoContainer.java:569) [exo.kernel.container-2.4.10-GA.jar:2.4.10-GA]
	at org.exoplatform.container.management.ManageableContainer.stop(ManageableContainer.java:266) [exo.kernel.container-2.4.10-GA.jar:2.4.10-GA]
	at org.exoplatform.container.ExoContainer.stop(ExoContainer.java:291) [exo.kernel.container-2.4.10-GA.jar:2.4.10-GA]
	at org.exoplatform.container.RootContainer.stop(RootContainer.java:1326) [exo.kernel.container-2.4.10-GA.jar:2.4.10-GA]
	at org.exoplatform.container.RootContainer$ShutdownThread$1.run(RootContainer.java:1316) [exo.kernel.container-2.4.10-GA.jar:2.4.10-GA]
	at org.exoplatform.container.RootContainer$ShutdownThread$1.run(RootContainer.java:1313) [exo.kernel.container-2.4.10-GA.jar:2.4.10-GA]
	at org.exoplatform.commons.utils.SecurityHelper.doPrivilegedAction(SecurityHelper.java:290) [exo.kernel.commons-2.4.10-GA.jar:2.4.10-GA]
	at org.exoplatform.container.RootContainer$ShutdownThread.run(RootContainer.java:1312) [exo.kernel.container-2.4.10-GA.jar:2.4.10-GA]
{code}

This behaviour appears randomly.



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the gatein-issues mailing list