ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jackson, Douglas" <djack...@ugs.com>
Subject Nested transaction error
Date Thu, 14 Feb 2008 20:51:31 GMT
Hi!
Nothing is working today. :(
I haven't run this process for a while, but I thought it worked fine.

I did the following:
1) rake clean (in ode root)
2) rake package
3) cd axis2-war
4) rake package
5) extracted contents of ode-axis2-war-1.2-SNAPSHOT.war to
tomcat\webapps\ode
6) deployed gid.zip to ode.
7) sent a request to .../ode/processes/get-id

I then got a nested transactions error.

This is the first request to the newly deployed instance of ode, so
there should be no transaction (I think).

I am wondering if the state of the derby database is not right in the
war file generated.
-Doug.


INFO - GeronimoLog.info(79) | Registered process
{http://util/bpel/webservice}get-id-1.

INFO - GeronimoLog.info(79) | Deployment of artifact gid-1 successful.

DEBUG - GeronimoLog.debug(66) | Deployed package: gid-1

DEBUG - GeronimoLog.debug(66) | Deployed PID:
{http://util/bpel/webservice}get-id-1

DEBUG - GeronimoLog.debug(66) | The system is checking for the operation
using the following WSAAction: gid

DEBUG - GeronimoLog.debug(66) | Checking for Operation using SOAP
message body's first child's local name : id-request

DEBUG - GeronimoLog.debug(66) | Received request message for
get-id.{http://util/webservice}get-id-op

DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation:
name=get-id-op
style=REQUEST_RESPONSE,1
Input: name=id-request-input
Message: name={http://util/webservice}id-request-msg
Part: name=id-request-part
elementName={http://wsutil}id-request
Output: name=id-request-output
Message: name={http://util/webservice}id-response-msg
Part: name=id-response-part
elementName={http://wsutil}id-response from service
{http://util/webservice}id-service

DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX
{MyRoleMex#hqejbhcnphr31h4sogudpg [Client null] calling
{http://util/webservice}id-service.get-id-op(...)}

DEBUG - GeronimoLog.debug(66) | Message content:  <?xml version="1.0"
encoding="UTF-8"?>
<message><id-request-part><id-request xmlns="http://wsutil"
xsi:schemaLocation="http://wsutil wsutil.xsd "
xmlns:gsutil="http://wsutil"
xmlns:q0="http://teamcenter.com/globalservices/process/2007-06"
xmlns:q1="http://teamcenter.com/globalservices/transfer/2007-06"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <prefix>gsutil:prefix</prefix>
</id-request></id-request-part></message>

DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==>
BpelProcess[{http://util/bpel/webservice}get-id-1]

DEBUG - GeronimoLog.debug(66) | INPUTMSG: 12.get-id-op: MSG RCVD keys=[]
mySessionId=null partnerSessionId=null

DEBUG - GeronimoLog.debug(66) | INPUTMSG: 12.get-id-op: routing failed,
CREATING NEW INSTANCE

DEBUG - GeronimoLog.debug(66) | enqueue: for instance
{http://util/bpel/webservice}get-id-1#151:
org.apache.ode.bpel.engine.BpelInstanceWorker$1@734770

DEBUG - GeronimoLog.debug(66) | enqueuRunnable for process
{http://util/bpel/webservice}get-id-1: {BpelInstanceWorker for
{http://util/bpel/webservice}get-id-1#151}

DEBUG - GeronimoLog.debug(66) | Starting worker thread
Thread[pool-2-thread-2,5,main] for instance IID
{http://util/bpel/webservice}get-id-1#151

DEBUG - GeronimoLog.debug(66) | Doing work for instance
{http://util/bpel/webservice}get-id-1#151 in thread
Thread[pool-2-thread-2,5,main]

DEBUG - GeronimoLog.debug(66) | Doing work for instance
{http://util/bpel/webservice}get-id-1#151 in thread
Thread[pool-2-thread-1,5,main]

DEBUG - GeronimoLog.debug(66) | BpelRuntimeContextImpl created for
instance 151. INDEXED STATE={}

ERROR - GeronimoLog.error(108) | Exception during database operation

org.apache.ode.bpel.iapi.BpelEngineException: Internal Error, could not
begin transaction.

	at
org.apache.ode.bpel.engine.Contexts.execTransaction(Contexts.java:101)

	at
org.apache.ode.bpel.engine.BpelDatabase.exec(BpelDatabase.java:78)

	at
org.apache.ode.bpel.engine.ProcessAndInstanceManagementImpl.dbexec(Proce
ssAndInstanceManagementImpl.java:587)

	at
org.apache.ode.bpel.engine.ProcessAndInstanceManagementImpl.genInstanceI
nfoDocument(ProcessAndInstanceManagementImpl.java:632)

	at
org.apache.ode.bpel.engine.ProcessAndInstanceManagementImpl.getInstanceI
nfo(ProcessAndInstanceManagementImpl.java:316)

	at
org.apache.ode.axis2.jmxui.JMXProcessManagementUI$BPELEventListener.onEv
ent(JMXProcessManagementUI.java:144)

	at
org.apache.ode.bpel.engine.BpelServerImpl.fireEvent(BpelServerImpl.java:
694)

	at
org.apache.ode.bpel.engine.BpelRuntimeContextImpl.sendEvent(BpelRuntimeC
ontextImpl.java:952)

	at org.apache.ode.bpel.runtime.PROCESS.run(PROCESS.java:54)

	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)

	at java.lang.reflect.Method.invoke(Unknown Source)

	at
org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)

	at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)

	at
org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeCon
textImpl.java:766)

	at
org.apache.ode.bpel.engine.BpelProcess.executeCreateInstance(BpelProcess
.java:312)

	at
org.apache.ode.bpel.engine.BpelProcess$2.call(BpelProcess.java:259)

	at
org.apache.ode.bpel.engine.BpelProcess$2.call(BpelProcess.java:258)

	at
org.apache.ode.bpel.engine.BpelProcess$ProcessCallable.call(BpelProcess.
java:1120)

	at
org.apache.ode.bpel.engine.BpelInstanceWorker.doInstanceWork(BpelInstanc
eWorker.java:174)

	at
org.apache.ode.bpel.engine.BpelInstanceWorker.execInCurrentThread(BpelIn
stanceWorker.java:108)

	at
org.apache.ode.bpel.engine.BpelProcess.doInstanceWork(BpelProcess.java:4
18)

	at
org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:25
7)

	at
org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl.doInvoke(MyRoleMess
ageExchangeImpl.java:132)

	at
org.apache.ode.bpel.engine.UnreliableMyRoleMessageExchangeImpl$1.call(Un
reliableMyRoleMessageExchangeImpl.java:48)

	at
org.apache.ode.bpel.engine.UnreliableMyRoleMessageExchangeImpl$1.call(Un
reliableMyRoleMessageExchangeImpl.java:47)

	at
org.apache.ode.bpel.engine.BpelProcess$ProcessCallable.call(BpelProcess.
java:1120)

	at
org.apache.ode.bpel.engine.Contexts.execTransaction(Contexts.java:105)

	at
org.apache.ode.bpel.engine.BpelServerImpl$TransactedCallable.call(BpelSe
rverImpl.java:833)

	at
org.apache.ode.bpel.engine.BpelServerImpl$ServerCallable.call(BpelServer
Impl.java:811)

	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

	at java.util.concurrent.FutureTask.run(Unknown Source)

	at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)

	at java.lang.Thread.run(Unknown Source)

Caused by: javax.transaction.NotSupportedException: Nested Transactions
are not supported

	at
org.apache.geronimo.transaction.manager.TransactionManagerImpl.begin(Tra
nsactionManagerImpl.java:146)

	at
org.apache.geronimo.transaction.manager.TransactionManagerImpl.begin(Tra
nsactionManagerImpl.java:141)

	at
org.apache.ode.bpel.engine.Contexts.execTransaction(Contexts.java:98)

	... 35 more

ERROR - GeronimoLog.error(108) | Method "run" in class
"org.apache.ode.bpel.runtime.PROCESS" threw an unexpected exception.


Mime
View raw message