[jboss-user] [jBPM] - Re: TaskServer, persistence file and session

Robert Atherton do-not-reply at jboss.com
Thu Apr 7 12:38:00 EDT 2011


Robert Atherton [http://community.jboss.org/people/robert.atherton] created the discussion

"Re: TaskServer, persistence file and session"

To view the discussion, visit: http://community.jboss.org/message/598570#598570

--------------------------------------------------------------
I am trying to get JBPM5 persistence working with JBoss ESB 4.7.  Everything startes up correctly but when I try to create a new process instance, I get the following error:

2011-04-07 10:28:22,306 ERROR [mil.navy.spawar.ssclant.ntcssoa.esb.jbpm.JbpmAction] (pool-24-thread-1) bitronix.tm.utils.InitializationException: cannot open disk journal
2011-04-07 10:28:22,306 INFO  [STDOUT] (pool-24-thread-1) bitronix.tm.utils.InitializationException: cannot open disk journal
2011-04-07 10:28:22,307 INFO  [STDOUT] (pool-24-thread-1)  at bitronix.tm.BitronixTransactionManager.<init>(BitronixTransactionManager.java:59)
2011-04-07 10:28:22,307 INFO  [STDOUT] (pool-24-thread-1)  at bitronix.tm.TransactionManagerServices.getTransactionManager(TransactionManagerServices.java:42)
2011-04-07 10:28:22,308 INFO  [STDOUT] (pool-24-thread-1)  at mil.navy.spawar.ssclant.ntcssoa.workflow.KnowledgeManagerImpl.createSession(KnowledgeManagerImpl.java:74)
2011-04-07 10:28:22,308 INFO  [STDOUT] (pool-24-thread-1)  at mil.navy.spawar.ssclant.ntcssoa.workflow.KnowledgeManagerImpl.startProcess(KnowledgeManagerImpl.java:139)
2011-04-07 10:28:22,308 INFO  [STDOUT] (pool-24-thread-1)  at mil.navy.spawar.ssclant.ntcssoa.workflow.WorkflowManagerImpl.startProcess(WorkflowManagerImpl.java:148)
2011-04-07 10:28:22,309 INFO  [STDOUT] (pool-24-thread-1)  at mil.navy.spawar.ssclant.ntcssoa.esb.jbpm.JbpmAction.startProcess(JbpmAction.java:169)
2011-04-07 10:28:22,309 INFO  [STDOUT] (pool-24-thread-1)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2011-04-07 10:28:22,309 INFO  [STDOUT] (pool-24-thread-1)  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2011-04-07 10:28:22,310 INFO  [STDOUT] (pool-24-thread-1)  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2011-04-07 10:28:22,310 INFO  [STDOUT] (pool-24-thread-1)  at java.lang.reflect.Method.invoke(Method.java:597)
2011-04-07 10:28:22,310 INFO  [STDOUT] (pool-24-thread-1)  at org.jboss.soa.esb.listeners.message.ActionProcessorMethodInfo.processMethods(ActionProcessorMethodInfo.java:102)
2011-04-07 10:28:22,311 INFO  [STDOUT] (pool-24-thread-1)  at org.jboss.soa.esb.listeners.message.OverriddenActionLifecycleProcessor.process(OverriddenActionLifecycleProcessor.java:74)
2011-04-07 10:28:22,311 INFO  [STDOUT] (pool-24-thread-1)  at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:634)
2011-04-07 10:28:22,311 INFO  [STDOUT] (pool-24-thread-1)  at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:586)
2011-04-07 10:28:22,312 INFO  [STDOUT] (pool-24-thread-1)  at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:420)
2011-04-07 10:28:22,312 INFO  [STDOUT] (pool-24-thread-1)  at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:540)
2011-04-07 10:28:22,313 INFO  [STDOUT] (pool-24-thread-1)  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
2011-04-07 10:28:22,313 INFO  [STDOUT] (pool-24-thread-1)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
2011-04-07 10:28:22,313 INFO  [STDOUT] (pool-24-thread-1)  at java.lang.Thread.run(Thread.java:619)
2011-04-07 10:28:22,314 INFO  [STDOUT] (pool-24-thread-1) Caused by: java.io.IOException: The process cannot access the file because another process has locked a portion of the file
2011-04-07 10:28:22,314 INFO  [STDOUT] (pool-24-thread-1)  at java.io.RandomAccessFile.read(Native Method)
2011-04-07 10:28:22,315 INFO  [STDOUT] (pool-24-thread-1)  at java.io.RandomAccessFile.readInt(RandomAccessFile.java:720)
2011-04-07 10:28:22,315 INFO  [STDOUT] (pool-24-thread-1)  at bitronix.tm.journal.TransactionLogHeader.<init>(TransactionLogHeader.java:77)
2011-04-07 10:28:22,315 INFO  [STDOUT] (pool-24-thread-1)  at bitronix.tm.journal.TransactionLogAppender.<init>(TransactionLogAppender.java:50)
2011-04-07 10:28:22,316 INFO  [STDOUT] (pool-24-thread-1)  at bitronix.tm.journal.DiskJournal.open(DiskJournal.java:131)
2011-04-07 10:28:22,316 INFO  [STDOUT] (pool-24-thread-1)  at bitronix.tm.BitronixTransactionManager.<init>(BitronixTransactionManager.java:46)
2011-04-07 10:28:22,316 INFO  [STDOUT] (pool-24-thread-1)  ... 18 more

Any information on how I can resolve this issue would be greatly appreciated.
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[http://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/20110407/c7bd50f6/attachment.html 


More information about the jboss-user mailing list