Hi,

In my Event Listener I am catching ProcessInstanceStartedEvent,
ProcessInstanceStateChangeEvent, NewProcessInstanceEvent events and
calling the ODE Web service getInstanceInfo() on Instance Management
port to get the instance details of that process instance. But all of
them throw an exception saying instance not found. So when does the
process instance gets actually saved in the ODE DB. Which event will
give me the state of a process instance after its saved?

Exception is given below

 

2010-07-28 16:41:34,107 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/Enterp
riseProcessManager].[EPMODEBpelEventListenerServlet]] Servlet.service()
for servlet EPMODEBpelEventListenerServlet threw exception

javax.xml.ws.soap.SOAPFaultException: java.lang.RuntimeException:
Invocation of method getInstanceInfo in management interface failed:
Exception while retrieving instance info:
org.apache.ode.bpel.pmapi.InstanceNotFoundException:
InstanceNotFoundException 3509

      at
com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:1
89)

      at
com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.j
ava:130)

 

Many thanks in advance.

 

Best Regards

Dhanush Gopinath

 

Reply via email to