shutdown order issue
--------------------
Key: SRAMP-201
URL:
https://issues.jboss.org/browse/SRAMP-201
Project: S-RAMP
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Core
Affects Versions: 0.3.0 - JBPM6 Integration
Reporter: Kurt Stam
Assignee: Kurt Stam
Fix For: 0.3.1 - jBPM - bugfix 1
auditing should be shutdown BEFORE JCR not the other way around:
13:17:39,060 INFO [org.apache.coyote.http11] (MSC service thread 1-12) JBWEB003077:
Coyote HTTP/1.1 stopping on : http-/127.0.0.1:8080
13:17:40,125 ERROR [org.overlord.sramp.repository.jcr.JCRRepository] (ServerService
Thread Pool -- 59) Error turning off auditing.: javax.jcr.RepositoryException: The session
with an ID of '0d8e1b512' has been closed and can no longer be used.
at org.modeshape.jcr.JcrSession.checkLive(JcrSession.java:261)
at
org.modeshape.jcr.JcrWorkspace.getObservationManager(JcrWorkspace.java:513)
at
org.overlord.sramp.repository.jcr.JCRRepository.disableAuditing(JCRRepository.java:114)
[s-ramp-repository-jcr-0.2.1-SNAPSHOT.jar:0.2.1-SNAPSHOT]
at
org.overlord.sramp.repository.jcr.JCRRepository.shutdown(JCRRepository.java:70)
[s-ramp-repository-jcr-0.2.1-SNAPSHOT.jar:0.2.1-SNAPSHOT]
at
org.overlord.sramp.repository.jcr.JCRRepositoryFactory.destroy(JCRRepositoryFactory.java:53)
[s-ramp-repository-jcr-0.2.1-SNAPSHOT.jar:0.2.1-SNAPSHOT]
at
org.overlord.sramp.repository.jcr.JCRPersistence.shutdown(JCRPersistence.java:633)
[s-ramp-repository-jcr-0.2.1-SNAPSHOT.jar:0.2.1-SNAPSHOT]
at
org.overlord.sramp.server.SrampLifeCycle.contextDestroyed(SrampLifeCycle.java:25)
[classes:]
at
org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3427)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3920)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.jboss.as.web.deployment.WebDeploymentService.doStop(WebDeploymentService.java:171)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at
org.jboss.as.web.deployment.WebDeploymentService.access$100(WebDeploymentService.java:60)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at
org.jboss.as.web.deployment.WebDeploymentService$2.run(WebDeploymentService.java:113)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
[classes.jar:1.6.0_45]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
[classes.jar:1.6.0_45]
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
[classes.jar:1.6.0_45]
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
[classes.jar:1.6.0_45]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
[classes.jar:1.6.0_45]
at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_45]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
create a new version of this paste RAW Paste Data
13:17:39,060 INFO [org.apache.coyote.http11] (MSC service thread 1-12) JBWEB003077:
Coyote HTTP/1.1 stopping on : http-/127.0.0.1:8080 13:17:40,125 ERROR
[org.overlord.sramp.repository.jcr.JCRRepository] (ServerService Thread Pool -- 59) Error
turning off auditing.: javax.jcr.RepositoryException: The session with an ID of
'0d8e1b512' has been closed and can no longer be used. at
org.modeshape.jcr.JcrSession.checkLive(JcrSession.java:261) at
org.modeshape.jcr.JcrWorkspace.getObservationManager(JcrWorkspace.java:513) at
org.overlord.sramp.repository.jcr.JCRRepository.disableAuditing(JCRRepository.java:114)
[s-ramp-repository-jcr-0.2.1-SNAPSHOT.jar:0.2.1-SNAPSHOT] at
org.overlord.sramp.repository.jcr.JCRRepository.shutdown(JCRRepository.java:70)
[s-ramp-repository-jcr-0.2.1-SNAPSHOT.jar:0.2.1-SNAPSHOT] at
org.overlord.sramp.repository.jcr.JCRRepositoryFactory.destroy(JCRRepositoryFactory.java:53)
[s-ramp-repository-jcr-0.2.1-SNAPSHOT.jar:0.2.1-SNAPSHOT] at
org.overlord.sramp.repository.jcr.JCRPersistence.shutdown(JCRPersistence.java:633)
[s-ramp-repository-jcr-0.2.1-SNAPSHOT.jar:0.2.1-SNAPSHOT] at
org.overlord.sramp.server.SrampLifeCycle.contextDestroyed(SrampLifeCycle.java:25)
[classes:] at
org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3427)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:3920)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at
org.jboss.as.web.deployment.WebDeploymentService.doStop(WebDeploymentService.java:171)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] at
org.jboss.as.web.deployment.WebDeploymentService.access$100(WebDeploymentService.java:60)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] at
org.jboss.as.web.deployment.WebDeploymentService$2.run(WebDeploymentService.java:113)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
[classes.jar:1.6.0_45] at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [classes.jar:1.6.0_45]
at java.util.concurrent.FutureTask.run(FutureTask.java:138) [classes.jar:1.6.0_45] at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
[classes.jar:1.6.0_45] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
[classes.jar:1.6.0_45] at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_45] at
org.jboss.threads.JBossThread.run(JBossThread.java:122)
Pastebin.com Tools & Applications
iPhone/iPad Windows Firefox Chrome WebOS Android Mac Opera Click.to UNIX WinPhone
create new paste | api | trends | users | faq | tools | privacy | cookies
policy | contact | stats | go pro
Follow us: pastebin on facebook | pastebin on twitter | pastebin in the news
Pastebin v3.1 rendered in: 0.014 seconds
13:17:39,060 INFO [org.apache.coyote.http11] (MSC service thread 1-12) JBWEB003077:
Coyote HTTP/1.1 stopping on : http-/127.0.0.1:8080 13:17:40,125 ERROR
[org.overlord.sramp.repository.jcr.JCRRepository] (ServerService Thread Pool -- 59) Error
turning off auditing.: javax.jcr.RepositoryException: The session with an ID of
'0d8e1b512' has been closed and can no longer be used. at
org.modeshape.jcr.JcrSession.checkLive(JcrSession.java:261) at
org.modeshape.jcr.JcrWorkspace.getObservationManager(JcrWorkspace.java:513) at
org.overlord.sramp.repository.jcr.JCRRepository.disableAuditing(JCRRepository.java:114)
[s-ramp-repository-jcr-0.2.1-SNAPSHOT.jar:0.2.1-SNAPSHOT] at
org.overlord.sramp.repository.jcr.JCRRepository.shutdown(JCRRepository.java:70)
[s-ramp-repository-jcr-0.2.1-SNAPSHOT.jar:0.2.1-SNAPSHOT] at
org.overlord.sramp.repository.jcr.JCRRepositoryFactory.destroy(JCRRepositoryFactory.java:53)
[s-ramp-repository-jcr-0.2.1-SNAPSHOT.jar:0.2.1-SNAPSHOT] at
org.overlord.sramp.repository.jcr.JCRPersistence.shutdown(JCRPersistence.java:633)
[s-ramp-repository-jcr-0.2.1-SNAPSHOT.jar:0.2.1-SNAPSHOT] at
org.overlord.sramp.server.SrampLifeCycle.contextDestroyed(SrampLifeCycle.java:25)
[classes:] at
org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3427)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:3920)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at
org.jboss.as.web.deployment.WebDeploymentService.doStop(WebDeploymentService.java:171)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] at
org.jboss.as.web.deployment.WebDeploymentService.access$100(WebDeploymentService.java:60)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] at
org.jboss.as.web.deployment.WebDeploymentService$2.run(WebDeploymentService.java:113)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
[classes.jar:1.6.0_45] at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [classes.jar:1.6.0_45]
at java.util.concurrent.FutureTask.run(FutureTask.java:138) [classes.jar:1.6.0_45] at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
[classes.jar:1.6.0_45] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
[classes.jar:1.6.0_45] at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_45] at
org.jboss.threads.JBossThread.run(JBossThread.java:122)
--
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: