[JBoss JIRA] (SRAMP-201) shutdown order issue
by Kurt Stam (JIRA)
[ https://issues.jboss.org/browse/SRAMP-201?page=com.atlassian.jira.plugin.... ]
Kurt Stam closed SRAMP-201.
---------------------------
> 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: http://www.atlassian.com/software/jira
11 years, 2 months
[JBoss JIRA] (SRAMP-201) shutdown order issue
by Kurt Stam (JIRA)
[ https://issues.jboss.org/browse/SRAMP-201?page=com.atlassian.jira.plugin.... ]
Kurt Stam resolved SRAMP-201.
-----------------------------
Resolution: Out of Date
Since the Audit imple changed this is no longer an issue
> 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: http://www.atlassian.com/software/jira
11 years, 2 months
[JBoss JIRA] (RTGOV-259) DroolsEventProcessor session caching not isolated or protected from redeployments
by Gary Brown (JIRA)
[ https://issues.jboss.org/browse/RTGOV-259?page=com.atlassian.jira.plugin.... ]
Gary Brown resolved RTGOV-259.
------------------------------
Resolution: Done
Removed static cache of sessions, so now each node has its own session linked to its own EPNContext.
Only issue is where the EPN (and therefore node) is updated to a new version - if temporal rules are used, then there is potential for some temporal dependencies to be lost by the correlated events spanning across the EPN versions.
> DroolsEventProcessor session caching not isolated or protected from redeployments
> ---------------------------------------------------------------------------------
>
> Key: RTGOV-259
> URL: https://issues.jboss.org/browse/RTGOV-259
> Project: RTGov (Run Time Governance)
> Issue Type: Bug
> Reporter: Gary Brown
> Assignee: Gary Brown
> Fix For: 1.1.0.Final
>
>
> Drools sessions are cached based on rule names, which are not necessarily unique across EPNs.
> When the drools event processor is initialised, it is associated with an EPNContext. However if it already exists, this is not done. Therefore the issue is when a new version of an EPN is deployed, the rule will remain associated with the original EPNContext.
--
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
11 years, 2 months