[jboss-user] [jBPM] - org.hibernate.SessionException: Session is closed!

Siddhesh M do-not-reply at jboss.com
Tue Jul 3 11:42:06 EDT 2012


Siddhesh M [https://community.jboss.org/people/siddhesh27] created the discussion

"org.hibernate.SessionException: Session is closed!"

To view the discussion, visit: https://community.jboss.org/message/745826#745826

--------------------------------------------------------------
Jul-2012 13:11:55.005 | ERROR | pool-1-thread-3 | pvm.internal.cmd.ExecuteJobCmd | exception while executing 'ExecuteActivityMessage[1103966189]'
* org.hibernate.SessionException: Session is closed!
        at org.hibernate.impl.AbstractSessionImpl.errorIfClosed(AbstractSessionImpl.java:72)
        at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:901)
        at org.hibernate.impl.SessionImpl.get(SessionImpl.java:842)
        at org.hibernate.impl.SessionImpl.get(SessionImpl.java:835)
        at org.jbpm.pvm.internal.hibernate.DbSessionImpl.get(DbSessionImpl.java:72)
        at org.jbpm.pvm.internal.history.events.ActivityStart.process(ActivityStart.java:44)
        at org.jbpm.pvm.internal.history.HistorySessionImpl.process(HistorySessionImpl.java:31)
        at org.jbpm.pvm.internal.history.HistoryEvent.fire(HistoryEvent.java:62)
        at org.jbpm.pvm.internal.model.ExecutionImpl.historyDecision(ExecutionImpl.java:1094)
        at org.jbpm.jpdl.internal.activity.DecisionConditionActivity.execute(DecisionConditionActivity.java:51)
        at org.jbpm.jpdl.internal.activity.DecisionConditionActivity.execute(DecisionConditionActivity.java:42)
        at org.jbpm.pvm.internal.model.op.ExecuteActivity.perform(ExecuteActivity.java:60)
        at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperationSync(ExecutionImpl.java:656)
        at org.jbpm.pvm.internal.model.op.ExecuteActivityMessage.execute(ExecuteActivityMessage.java:46)
        at org.jbpm.pvm.internal.cmd.ExecuteJobCmd.execute(ExecuteJobCmd.java:80)
        at org.jbpm.pvm.internal.cmd.ExecuteJobCmd.execute(ExecuteJobCmd.java:42)
        at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
        at org.jbpm.pvm.internal.tx.JtaTransactionInterceptor.executeInNewTx(JtaTransactionInterceptor.java:87)
        at org.jbpm.pvm.internal.tx.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:66)
        at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
        at org.jbpm.pvm.internal.tx.JtaRetryInterceptor.executeWithRetry(JtaRetryInterceptor.java:52)
        at org.jbpm.pvm.internal.tx.JtaRetryInterceptor.execute(JtaRetryInterceptor.java:45)
        at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)
        at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
        at org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43)
        at org.jbpm.pvm.internal.jobexecutor.JobParcel.run(JobParcel.java:48)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)>
####<Jul 3, 2012 1:11:55 PM CEST> <Notice> <Stdout> <> <managed_1> <pool-1-thread-3> <<WLS Kernel>> <> <> <1341313915007> <BEA-000000> <03-
Jul-2012 13:11:55.006 | INFO  | pool-1-thread-3 | rnal.svc.DefaultCommandService | exception while executing command org.jbpm.pvm.internal.cmd.ExecuteJobC
md at 51c12366
* org.hibernate.SessionException: Session is closed!
        at org.hibernate.impl.AbstractSessionImpl.errorIfClosed(AbstractSessionImpl.java:72)
        at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:901)
        at org.hibernate.impl.SessionImpl.get(SessionImpl.java:842)
        at org.hibernate.impl.SessionImpl.get(SessionImpl.java:835)
        at org.jbpm.pvm.internal.hibernate.DbSessionImpl.get(DbSessionImpl.java:72)
        at org.jbpm.pvm.internal.history.events.ActivityStart.process(ActivityStart.java:44)
        at org.jbpm.pvm.internal.history.HistorySessionImpl.process(HistorySessionImpl.java:31)
        at org.jbpm.pvm.internal.history.HistoryEvent.fire(HistoryEvent.java:62)
        at org.jbpm.pvm.internal.model.ExecutionImpl.historyDecision(ExecutionImpl.java:1094)
        at org.jbpm.jpdl.internal.activity.DecisionConditionActivity.execute(DecisionConditionActivity.java:51)
        at org.jbpm.jpdl.internal.activity.DecisionConditionActivity.execute(DecisionConditionActivity.java:42)
        at org.jbpm.pvm.internal.model.op.ExecuteActivity.perform(ExecuteActivity.java:60)
        at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperationSync(ExecutionImpl.java:656)
        at org.jbpm.pvm.internal.model.op.ExecuteActivityMessage.execute(ExecuteActivityMessage.java:46)
        at org.jbpm.pvm.internal.cmd.ExecuteJobCmd.execute(ExecuteJobCmd.java:80)
        at org.jbpm.pvm.internal.cmd.ExecuteJobCmd.execute(ExecuteJobCmd.java:42)
        at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
        at org.jbpm.pvm.internal.tx.JtaTransactionInterceptor.executeInNewTx(JtaTransactionInterceptor.java:87)
        at org.jbpm.pvm.internal.tx.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:66)
        at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
        at org.jbpm.pvm.internal.tx.JtaRetryInterceptor.executeWithRetry(JtaRetryInterceptor.java:52)
        at org.jbpm.pvm.internal.tx.JtaRetryInterceptor.execute(JtaRetryInterceptor.java:45)
        at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)
        at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
        at org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43)
        at org.jbpm.pvm.internal.jobexecutor.JobParcel.run(JobParcel.java:48)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)>
####<Jul 3, 2012 1:11:55 PM CEST> <Notice> <Stdout> <> <managed_1> <pool-1-thread-3> <<WLS Kernel>> <> <> <1341313915007> <BEA-000000> <03-
Jul-2012 13:11:55.007 | ERROR | pool-1-thread-3 | internal.jobexecutor.JobParcel | exception in job block
* org.hibernate.SessionException: Session is closed!
        at org.hibernate.impl.AbstractSessionImpl.errorIfClosed(AbstractSessionImpl.java:72)
        at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:901)
        at org.hibernate.impl.SessionImpl.get(SessionImpl.java:842)
        at org.hibernate.impl.SessionImpl.get(SessionImpl.java:835)
        at org.jbpm.pvm.internal.hibernate.DbSessionImpl.get(DbSessionImpl.java:72)
        at org.jbpm.pvm.internal.history.events.ActivityStart.process(ActivityStart.java:44)
        at org.jbpm.pvm.internal.history.HistorySessionImpl.process(HistorySessionImpl.java:31)
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/745826#745826]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120703/164f730a/attachment-0001.html 


More information about the jboss-user mailing list