ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Weerasiri <ddweeras...@gmail.com>
Subject Exceptions occurred when process hydration
Date Fri, 13 Mar 2009 11:07:50 GMT
Hi all,

I used the org.apache.ode.bpel.runtime.MockBpelServer class as follows.

        MockBpelServer m_server = new MockBpelServer();
        m_server.deploy(new
File("/home/apache-tomcat-6.0.18/webapps/ode1.2/WEB-INF/processes/LoanProcess"));
        m_server.shutdown();

When the process gets hydrated (when invoking
org.apache.ode.bpel.engine.BpelProcess#hydrate), an exception stack occurs
as follows.

ERROR - GeronimoLog.error(108) | Exception in mock scheduler commit.
javax.transaction.RollbackException: Transaction timout
    at
org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:269)
    at
org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:238)
    at org.apache.ode.il.MockScheduler.commit(MockScheduler.java:214)
    at
org.apache.ode.il.MockScheduler.execTransaction(MockScheduler.java:135)
    at
org.apache.ode.bpel.runtime.MockBpelServer$SchedulerWrapper.execTransaction(MockBpelServer.java:301)
    at
org.apache.ode.bpel.engine.BpelProcess$HydrationLatch.doHydrate(BpelProcess.java:961)
    at
org.apache.ode.bpel.engine.BpelProcess$HydrationLatch.access$100(BpelProcess.java:835)
    at
org.apache.ode.bpel.engine.BpelProcess$HydrationLatch$2.run(BpelProcess.java:845)
    at org.apache.ode.bpel.engine.NStateLatch.latch(NStateLatch.java:89)
    at org.apache.ode.bpel.engine.BpelProcess.hydrate(BpelProcess.java:688)
    at
org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.java:293)
    at
org.apache.ode.bpel.runtime.MockBpelServer.deploy(MockBpelServer.java:110)
    at
org.apache.ode.bpel.runtime.MockBpelServerTest.main(MockBpelServerTest.java:15)
ERROR - GeronimoLog.error(108) | Caught an exception during transaction
java.lang.RuntimeException: javax.transaction.RollbackException: Transaction
timout
    at org.apache.ode.il.MockScheduler.commit(MockScheduler.java:217)
    at
org.apache.ode.il.MockScheduler.execTransaction(MockScheduler.java:135)
    at
org.apache.ode.bpel.runtime.MockBpelServer$SchedulerWrapper.execTransaction(MockBpelServer.java:301)
    at
org.apache.ode.bpel.engine.BpelProcess$HydrationLatch.doHydrate(BpelProcess.java:961)
    at
org.apache.ode.bpel.engine.BpelProcess$HydrationLatch.access$100(BpelProcess.java:835)
    at
org.apache.ode.bpel.engine.BpelProcess$HydrationLatch$2.run(BpelProcess.java:845)
    at org.apache.ode.bpel.engine.NStateLatch.latch(NStateLatch.java:89)
    at org.apache.ode.bpel.engine.BpelProcess.hydrate(BpelProcess.java:688)
    at
org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.java:293)
    at
org.apache.ode.bpel.runtime.MockBpelServer.deploy(MockBpelServer.java:110)
    at
org.apache.ode.bpel.runtime.MockBpelServerTest.main(MockBpelServerTest.java:15)
Caused by: javax.transaction.RollbackException: Transaction timout
    at
org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:269)
    at
org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:238)
    at org.apache.ode.il.MockScheduler.commit(MockScheduler.java:214)
    ... 10 more
ERROR - GeronimoLog.error(108) | Exception in mock scheduler rollback.
java.lang.IllegalStateException: No transaction associated with current
thread
    at
org.apache.geronimo.transaction.manager.TransactionManagerImpl.rollback(TransactionManagerImpl.java:247)
    at org.apache.ode.il.MockScheduler.rollback(MockScheduler.java:239)
    at
org.apache.ode.il.MockScheduler.execTransaction(MockScheduler.java:139)
    at
org.apache.ode.bpel.runtime.MockBpelServer$SchedulerWrapper.execTransaction(MockBpelServer.java:301)
    at
org.apache.ode.bpel.engine.BpelProcess$HydrationLatch.doHydrate(BpelProcess.java:961)
    at
org.apache.ode.bpel.engine.BpelProcess$HydrationLatch.access$100(BpelProcess.java:835)
    at
org.apache.ode.bpel.engine.BpelProcess$HydrationLatch$2.run(BpelProcess.java:845)
    at org.apache.ode.bpel.engine.NStateLatch.latch(NStateLatch.java:89)
    at org.apache.ode.bpel.engine.BpelProcess.hydrate(BpelProcess.java:688)
    at
org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.java:293)
    at
org.apache.ode.bpel.runtime.MockBpelServer.deploy(MockBpelServer.java:110)
    at
org.apache.ode.bpel.runtime.MockBpelServerTest.main(MockBpelServerTest.java:15)
ERROR - GeronimoLog.error(108) | DbError
java.lang.RuntimeException: java.lang.IllegalStateException: No transaction
associated with current thread
    at org.apache.ode.il.MockScheduler.rollback(MockScheduler.java:242)
    at
org.apache.ode.il.MockScheduler.execTransaction(MockScheduler.java:139)
    at
org.apache.ode.bpel.runtime.MockBpelServer$SchedulerWrapper.execTransaction(MockBpelServer.java:301)
    at
org.apache.ode.bpel.engine.BpelProcess$HydrationLatch.doHydrate(BpelProcess.java:961)
    at
org.apache.ode.bpel.engine.BpelProcess$HydrationLatch.access$100(BpelProcess.java:835)
    at
org.apache.ode.bpel.engine.BpelProcess$HydrationLatch$2.run(BpelProcess.java:845)
    at org.apache.ode.bpel.engine.NStateLatch.latch(NStateLatch.java:89)
    at org.apache.ode.bpel.engine.BpelProcess.hydrate(BpelProcess.java:688)
    at
org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.java:293)
    at
org.apache.ode.bpel.runtime.MockBpelServer.deploy(MockBpelServer.java:110)
    at
org.apache.ode.bpel.runtime.MockBpelServerTest.main(MockBpelServerTest.java:15)
Caused by: java.lang.IllegalStateException: No transaction associated with
current thread
    at
org.apache.geronimo.transaction.manager.TransactionManagerImpl.rollback(TransactionManagerImpl.java:247)
    at org.apache.ode.il.MockScheduler.rollback(MockScheduler.java:239)
    ... 10 more

I can't figure out the problem. Please help me on this matter.

Regards,
Denis Weerasiri.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message