我在使用tomcat7时在jbpm中遇到了这个问题。
2013-06-10 14:58:29,628 (TaskProcessServlet.java:56) ERROR com.sample.processserver.TaskProcessServlet - cannot open disk journal
java.io.IOException: The process cannot access the file because another process has locked a portion of the file
at sun.nio.ch.FileDispatcher.read0(Native Method)
at sun.nio.ch.FileDispatcher.read(FileDispatcher.java:28)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:198)
at sun.nio.ch.IOUtil.read(IOUtil.java:171)
在执行时:
env.set( EnvironmentName.TRANSACTION_MANAGER, TransactionManagerServices.getTransactionManager());
问候, 维奈