[JBoss JIRA] (GTNPORTAL-2602) IllegalStateException on shutdown on AS7
by Stian Thorgersen (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2602?page=com.atlassian.jira.pl... ]
Stian Thorgersen commented on GTNPORTAL-2602:
---------------------------------------------
With the 'sample-ext' not deployed any more this same exception is caused by 'gatein-wsrp-integration'
{code}
14:25:47,154 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gatein-wsrp-integration]] Exception sending context destroyed event to listener instance of class org.exoplatform.container.web.PortalContainerConfigOwner: java.lang.IllegalStateException: No pre init tasks can be added to the portal container 'portal', because it has already been initialized. Check the webapp 'gatein-wsrp-integration'
at org.exoplatform.container.RootContainer$PortalContainerPreInitTask.onAlreadyExists(RootContainer.java:1317) [exo.kernel.container-2.4.0-CR1.jar:2.4.0-CR1]
at org.exoplatform.container.RootContainer.addInitTask(RootContainer.java:1108) [exo.kernel.container-2.4.0-CR1.jar:2.4.0-CR1]
at org.exoplatform.container.PortalContainer.addInitTask(PortalContainer.java:464) [exo.kernel.container-2.4.0-CR1.jar:2.4.0-CR1]
at org.exoplatform.container.PortalContainer.addInitTask(PortalContainer.java:438) [exo.kernel.container-2.4.0-CR1.jar:2.4.0-CR1]
at org.exoplatform.container.web.PortalContainerConfigOwner.contextDestroyed(PortalContainerConfigOwner.java:56) [exo.kernel.container-2.4.0-CR1.jar:2.4.0-CR1]
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3489) [jbossweb-7.0.17.Final.jar:]
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3999) [jbossweb-7.0.17.Final.jar:]
at org.jboss.as.web.deployment.WebDeploymentService.stop(WebDeploymentService.java:107) [jboss-as-web-7.1.3.Final.jar:7.1.3.Final]
at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:1911)
at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:1874)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09]
{code}
> IllegalStateException on shutdown on AS7
> ----------------------------------------
>
> Key: GTNPORTAL-2602
> URL: https://issues.jboss.org/browse/GTNPORTAL-2602
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Packaging
> Reporter: Chris Laprun
> Priority: Minor
> Fix For: 3.5.0.Final
>
>
> {code}
> 1:43:52,396 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/sample-ext]] Exception sending context destroyed event to listener instance of class org.exoplatform.container.web.PortalContainerConfigOwner: java.lang.IllegalStateException: No pre init tasks can be added to the portal container 'portal', because it has already been initialized. Check the webapp 'sample-ext'
> at org.exoplatform.container.RootContainer$PortalContainerPreInitTask.onAlreadyExists(RootContainer.java:1305) [exo.kernel.container-2.4.0-Beta01.jar:2.4.0-Beta01]
> at org.exoplatform.container.RootContainer.addInitTask(RootContainer.java:1096) [exo.kernel.container-2.4.0-Beta01.jar:2.4.0-Beta01]
> at org.exoplatform.container.PortalContainer.addInitTask(PortalContainer.java:464) [exo.kernel.container-2.4.0-Beta01.jar:2.4.0-Beta01]
> at org.exoplatform.container.PortalContainer.addInitTask(PortalContainer.java:438) [exo.kernel.container-2.4.0-Beta01.jar:2.4.0-Beta01]
> at org.exoplatform.container.web.PortalContainerConfigOwner.contextDestroyed(PortalContainerConfigOwner.java:56) [exo.kernel.container-2.4.0-Beta01.jar:2.4.0-Beta01]
> at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3489) [jbossweb-7.0.16.Final.jar:]
> at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3999) [jbossweb-7.0.16.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.stop(WebDeploymentService.java:108) [jboss-as-web-7.1.2.Final.jar:7.1.2.Final]
> at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:1911)
> at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:1874)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_35]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_35]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_35]
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira