txbridge InvalidTransactionException
bonio100 May 29, 2008 12:59 PMHi all,
Would be extremely grateful if someone could throw me a bone here..
I am trying to get the transaction bridge going with jboss 4.2.2 and jbossts 4.2.3.SP7.
I have got the Bistro demo going but upon invoking the web service I get the following error when trying to 'resume' the JTA transaction (Kindly added stack trace)
17:33:57,247 INFO [STDOUT] CLIENT: obtaining userTransaction...
17:33:57,247 INFO [STDOUT] CLIENT: starting the transaction...
17:33:57,809 INFO [STDOUT] CLIENT: transaction ID= AtomicTransactionIdentifier: urn:-762067e5:1257:483eda60:3f
17:33:57,809 INFO [STDOUT] CLIENT: calling business Web Services...
17:33:58,012 INFO [JaxWSClientHeaderContextProcessor] getHeaders
17:33:58,059 INFO [JaxWSClientHeaderContextProcessor] handleOutbound
17:33:58,247 INFO [JaxWSServerHeaderContextProcessor] getHeaders
17:33:58,247 INFO [JaxWSServerHeaderContextProcessor] handleInbound
17:33:58,325 ERROR [JaxWSTransactionBridgeHandler] javax.transaction.InvalidTransactionException
17:33:58,325 ERROR [STDERR] javax.transaction.InvalidTransactionException
17:33:58,325 ERROR [STDERR] at com.arjuna.ats.internal.jta.transaction.jts.TransactionManagerImple.resume(TransactionManagerImple.java:148)
17:33:58,325 ERROR [STDERR] at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.resume(BaseTransactionManagerDelegate.java:117)
17:33:58,325 ERROR [STDERR] at org.jboss.txbridge.InboundBridge.start(InboundBridge.java:69)
17:33:58,325 ERROR [STDERR] at org.jboss.txbridge.JaxWSTransactionBridgeHandler.handleInbound(JaxWSTransactionBridgeHandler.java:97)
17:33:58,325 ERROR [STDERR] at org.jboss.txbridge.JaxWSTransactionBridgeHandler.handleMessage(JaxWSTransactionBridgeHandler.java:61)
17:33:58,325 ERROR [STDERR] at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:295)
17:33:58,325 ERROR [STDERR] at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:140)
17:33:58,325 ERROR [STDERR] at org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS.callRequestHandlerChain(HandlerDelegateJAXWS.java:87)
17:33:58,325 ERROR [STDERR] at org.jboss.ws.core.server.ServiceEndpointInvoker.callRequestHandlerChain(ServiceEndpointInvoker.java:126)
17:33:58,325 ERROR [STDERR] at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:198)
17:33:58,325 ERROR [STDERR] at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:408)
It appears the 'failuire' happens in TransactionManagerImple at line 125 doing the following check (whilst calling 'resume')
if (which instanceof TransactionImple)
Where basically they are different types. The check appears to be checking for
com.arjuna.ats.internal.jta.transaction.jts.TransactionImpl but the bridge appears to be supplying a com.arjuna.ats.internal.jta.transaction.arjunacore.subordinate.jca.transactionImpl. Moreover some of the methods which would be called on sid transaction object do not exist, hence definitly a different object.
The import of the transaction via the TXImporter seems to go fine.
Would be extremely grateful for some help as it is very important we get this working.
Incidentally, when will the bridge be fully integrated into XTS? I understand this is 4.4, but when is this scheduled for release?