Need Information on libs for PA driven process

1 view
Skip to first unread message

savvy

unread,
Oct 26, 2007, 6:46:59 AM10/26/07
to tempo-dev
HI,

I am trying to send soap message to start PA kind of process
deployed on ode.

for example on the following end point :
"http://localhost:8080/ode/processes/TestStuff/CreatCompleteTask/
CreatCompleteTask/Interface"
If I send soap message containing input data ( Start_ProcessRequest),
Then i am successfully able to start the process ( task activity) in
Intalio BPMS server (Geronimo based) and everything works fine

but when i send message to my tomcat server (up with tempo
capability). I get the following exception:

Note: I am having issue only with PA kind of process as i need a
starting point (so i m using soapUI tool for send soap message by
reading the wsdl file for the process designed with Intalio designer)
PIPA kind of process are working quite smoothly with tomcat. That why
I feel there might be some missing lib issue either in ode or axis
(thoght it look like some assignment activity problem to me)


----Error---------------
/// Body of createTaskRequest soap body
</axis2ns1:createTaskRequest></soapenv:Body></soapenv:Envelope>
.....
</xform:taskInput>
</axis2ns1:createTaskRequest></soapenv:Body></soapenv:Envelope>
// End
.....
[Fatal Error] :1:995: The element type "HR" must be terminated by the
matching e
ERROR - GeronimoLog.error(108) | Error sending message
(mex={PartnerRoleMex#hqej
at [row,col {unknown-source}]: [1,0]
org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxEOFException:
Unexpected EOF in
at [row,col {unknown-source}]: [1,0]
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(Transport
at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisO
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(Out
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:
at org.apache.ode.axis2.ExternalService
$1$1.call(ExternalService.java:15
at java.util.concurrent.FutureTask
$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExec
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor
at java.lang.Thread.run(Thread.java:595)

Alex Boisvert

unread,
Oct 26, 2007, 6:08:03 PM10/26/07
to temp...@googlegroups.com
Hi Kumar,

Can you set the "httpclient" logging category to DEBUG to see what the messages look like on the wire?

thanks,
alex


        at java.util.concurrent.FutureTask.run (FutureTask.java:123)

savvy

unread,
Oct 29, 2007, 5:23:45 AM10/29/07
to tempo-dev
HI Alex,

Previous Error got resolved by placing fds-config file at proper
place in tomcat (in fds/WEB-INF/classes). Now I am getting "commit
failure" error. Error Log suggest that there is no connection (but I
have checked other flow that involve db interaction and they are
working fine, issue is only when i try to start the process by sending
a soap message to start end point url)

Just check the following error. If you can suggest anything. it will a
great help.

Note: I have cross checked the connection pooling and global JNDI..it
is working fine and i have all relevent libs(like common-dbcp,pool
jar) in my path.

********Savvy: Error trace on tomcat( removed earlier part)


</createTaskRequest></root></message>
14:41:12,531 DEBUG [ODEService] Message content: <?xml version="1.0"
encoding="UTF-8"?>
<message><root><createTaskRequest xmlns="http://www.intalio.com/bpms/
workflow/ib4p_20051115" xmlns:ib4p="http://www.intalio.com/bpms/
workflow/ib4p_20051115"
oap/envelope/" xmlns:xform="http://example.com/GreetingForm/xform">
<taskMetaData>
<taskId>_v6TUWIM4EdyV-42X5smSoA</taskId>
<taskState>
</taskState>
<taskType>
</taskType>
<description>SK-- CC Task</description>
<processId>
</processId>
<creationDate>
</creationDate>
<userOwner/>
<roleOwner>examples\employee</roleOwner>
<claimAction>
<user>
</user>
<role>
</role>
</claimAction>
<revokeAction>
<user>
</user>
<role>
</role>
</revokeAction>
<saveAction>
<user>
</user>
<role>
</role>
</saveAction>
<completeAction>
<user>
</user>
<role>
</role>
</completeAction>
<formUrl>oxf://TestStuff/GreetingForm.xform</formUrl>
<failureCode>
</failureCode>
<failureReason>
</failureReason>
<userProcessCompleteSOAPAction>http://example.com/GreetingForm/
xform/Process/notifyTaskCompletion</userProcessCompleteSOAPAction>
<isChainedBefore>
</isChainedBefore>
<previousTaskId>
</previousTaskId>
<userProcessEndpoint>http://localhost:8080/ode/processes/TestStuff/
CCTask/CCTask/Users/WFmagic_v6TUWIM4EdyV-42X5smSoA</
userProcessEndpoint>
<userProcessNamespaceURI>http://example.com/GreetingForm/xform</
userProcessNamespaceURI>
<session>hqejbhcnphr2pd636qpw6a</session></taskMetaData>
<participantToken>
</participantToken>
<taskInput>
<input xmlns="http://example.com/GreetingForm/xform">
<ToWho xmlns="http://example.com/GreetingForm/xform"
xmlns:axis2ns2="http://example.com/GreetingForm/xform">Sarvesh</ToWho>
<Greeting xmlns="http://example.com/GreetingForm/xform"
xmlns:axis2ns2="http://example.com/GreetingForm/xform">HI</Greeting>
</input>
</taskInput>
</createTaskRequest></root></message>
DEBUG - GeronimoLog.debug(66) | Routed: svcQname {http://
www.intalio.com/bpms/workflow/ib4p_20051115}createTaskService -->
BpelProcess[{http://www.intalio.c
]
14:41:12,546 DEBUG [BpelEngineImpl] Routed: svcQname {http://
www.intalio.com/bpms/workflow/ib4p_20051115}createTaskService -->
BpelProcess[{http://www.intal
er-5]
DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==>
BpelProcess[{http://www.intalio.com/bpms/workflow/
ib4p_20051115}TaskManager-5]
14:41:12,546 DEBUG [MyRoleMessageExchangeImpl] invoke() EPR= null ==>
BpelProcess[{http://www.intalio.com/bpms/workflow/
ib4p_20051115}TaskManager-5]
DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX
{MyRoleMex#hqejbhcnphr2pd636qpw6e [Client hqejbhcnphr2pd636qpw6d]
calling {http://www.intalio.com/bpms/wor
Task(...)}
14:41:12,546 DEBUG [ODEService] Commiting ODE MEX
{MyRoleMex#hqejbhcnphr2pd636qpw6e [Client hqejbhcnphr2pd636qpw6d]
calling {http://www.intalio.com/bpms/wor
Task(...)}
DEBUG - GeronimoLog.debug(66) | Commiting transaction.
14:41:12,546 DEBUG [ODEService] Commiting transaction.
ERROR - GeronimoLog.error(108) | Unexpected exception rolling back
org.apache.geronimo.connector.outbound.LocalXAResource@246607;
continuing with rollback
javax.transaction.xa.XAException
at
org.apache.geronimo.connector.outbound.LocalXAResource.rollback(LocalXAResource.java:
88)
at
org.apache.geronimo.transaction.manager.TransactionImpl.rollbackResources(TransactionImpl.java:
589)
at
org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:
266)
at
org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:
264)
at
org.apache.ode.axis2.ODEService.onAxisMessageExchange(ODEService.java:
122)
at
org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:
69)
at
org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:
50)
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:
96)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:
145)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:
275)
at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:
120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:
709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:
802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
869)
at org.apache.coyote.http11.Http11BaseProtocol
$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:
664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:
527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:
80)
at org.apache.tomcat.util.threads.ThreadPool
$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: Unable to rollback
at
org.tranql.connector.jdbc.ManagedJDBCConnection.localTransactionRollback(ManagedJDBCConnection.java:
113)
at org.tranql.connector.AbstractManagedConnection
$LocalTransactionImpl.rollback(AbstractManagedConnection.java:196)
at
org.apache.geronimo.connector.outbound.LocalXAResource.rollback(LocalXAResource.java:
86)
... 26 more
Caused by: SQL Exception: No current connection.
at
org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
at
org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.noCurrentConnection(Unknown
Source)
at
org.apache.derby.impl.jdbc.EmbedConnection.setupContextStack(Unknown
Source)
at org.apache.derby.impl.jdbc.EmbedConnection.rollback(Unknown
Source)
at
org.tranql.connector.jdbc.ManagedJDBCConnection.localTransactionRollback(ManagedJDBCConnection.java:
111)
... 28 more
14:41:12,562 ERROR [Transaction] Unexpected exception rolling back
org.apache.geronimo.connector.outbound.LocalXAResource@246607;
continuing with rollback
javax.transaction.xa.XAException
at
org.apache.geronimo.connector.outbound.LocalXAResource.rollback(LocalXAResource.java:
88)
at
org.apache.geronimo.transaction.manager.TransactionImpl.rollbackResources(TransactionImpl.java:
589)
at
org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:
266)
at
org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:
264)
at
org.apache.ode.axis2.ODEService.onAxisMessageExchange(ODEService.java:
122)
at
org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:
69)
at
org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:
50)
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:
96)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:
145)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:
275)
at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:
120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:
709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:
802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
869)
at org.apache.coyote.http11.Http11BaseProtocol
$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:
664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:
527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:
80)
at org.apache.tomcat.util.threads.ThreadPool
$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: Unable to rollback
at
org.tranql.connector.jdbc.ManagedJDBCConnection.localTransactionRollback(ManagedJDBCConnection.java:
113)
at org.tranql.connector.AbstractManagedConnection
$LocalTransactionImpl.rollback(AbstractManagedConnection.java:196)
at
org.apache.geronimo.connector.outbound.LocalXAResource.rollback(LocalXAResource.java:
86)
... 26 more
Caused by: SQL Exception: No current connection.
at
org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
at
org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.noCurrentConnection(Unknown
Source)
at
org.apache.derby.impl.jdbc.EmbedConnection.setupContextStack(Unknown
Source)
at org.apache.derby.impl.jdbc.EmbedConnection.rollback(Unknown
Source)
at
org.tranql.connector.jdbc.ManagedJDBCConnection.localTransactionRollback(ManagedJDBCConnection.java:
111)
... 28 more

On Oct 27, 3:08 am, "Alex Boisvert" <boisv...@intalio.com> wrote:
> Hi Kumar,
>
> Can you set the "httpclient" logging category to DEBUG to see what the
> messages look like on the wire?
>
> thanks,
> alex
>

> > at java.util.concurrent.FutureTask.run(FutureTask.java:123)

Alex Boisvert

unread,
Oct 30, 2007, 10:53:44 AM10/30/07
to temp...@googlegroups.com
Hi Kumar,

I am not familiar with this exception but I suspect there's probably
another error prior to it that would explain why the transaction is
being rolled back.

alex

Reply all
Reply to author
Forward
0 new messages