You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Jens Goldhammer <Go...@gmx.net> on 2007/10/02 16:34:49 UTC

Errors in InstanceManagement and ProcessManagement-API

I get various errors by using the management-api of ode.
For example, the listInstances-operation works fine for me:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:pmap="http://www.apache.org/ode/pmapi">
   <soapenv:Header/>
   <soapenv:Body>
      <pmap:listAllInstances/>
   </soapenv:Body>
</soapenv:Envelope>

The request delivers a correct answer.

If I want to terminate or resume a process with a request, e.g.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:pmap="http://www.apache.org/ode/pmapi">
   <soapenv:Header/>
   <soapenv:Body>
      <pmap:resume>
         <iid>3394</iid>
      </pmap:resume>
   </soapenv:Body>
</soapenv:Envelope>

following response occurs:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <soapenv:Fault xmlns:java="java:package java.lang.reflect, Java
Platform API Specification, version 1.5">
        
<faultcode>java:java.lang.reflect.InvocationTargetException</faultcode>
         <faultstring>Invocation of method resume in management interface
failed!</faultstring>
         <detail/>
      </soapenv:Fault>
   </soapenv:Body>
</soapenv:Envelope>

Additionally, If I want to use the ProcessManagement-API , I get following
error by requesting the processInfo-operation:

Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:pmap="http://www.apache.org/ode/pmapi">
   <soapenv:Header/>
   <soapenv:Body>
      <pmap:getProcessInfo>
         <pid>{http://com.ibm.de.cis/archive}cisArchive-27</pid>
      </pmap:getProcessInfo>
   </soapenv:Body>
</soapenv:Envelope>

Response:

<html><head><title>Apache Tomcat/5.5.25 - Error report</title><style><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
</head><body><h1>HTTP Status 500 - </h1><HR size="1"
noshade="noshade"><p>type Exception report</p><p>message
<u></u></p><p>description <u>The server encountered an internal error ()
that prevented it from fulfilling this request.</u></p><p>exception
<pre>java.lang.NullPointerException
	org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:171)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
</pre></p><p>note <u>The full stack trace of the root cause is available in
the Apache Tomcat/5.5.25 logs.</u></p><HR size="1"
noshade="noshade"><h3>Apache Tomcat/5.5.25</h3></body></html>

Stacktrace of tomcat:
G - GeronimoLog.debug(66) | Received mgmt message for
ProcessManagement.{http://www.apache.org/ode/pmapi}getProcessInfo
16:28:04,424 DEBUG [ManagementService] Received mgmt message for
ProcessManagement.{http://www.apache.org/ode/pmapi}getProcessInfo
DEBUG - GeronimoLog.debug(66) | Extracting param class
javax.xml.namespace.QName from
<pid>{http://com.ibm.de.cis/archive}cisArchive-27</pid>
16:28:04,434 DEBUG [ManagementService] Extracting param class
javax.xml.namespace.QName from
<pid>{http://com.ibm.de.cis/archive}cisArchive-27</pid>
ERROR - GeronimoLog.error(108) | 
java.lang.NullPointerException
	at org.apache.ode.axis2.util.OMUtils.getTextAsQName(OMUtils.java:206)
	at
org.apache.ode.axis2.service.ManagementService.convertFromOM(ManagementService.java:164)
	at
org.apache.ode.axis2.service.ManagementService.extractParams(ManagementService.java:149)
	at
org.apache.ode.axis2.service.ManagementService.invokeBusinessLogic(ManagementService.java:113)
	at
org.apache.ode.axis2.service.ManagementService.access$100(ManagementService.java:69)
	at
org.apache.ode.axis2.service.ManagementService$ProcessMessageReceiver.invokeBusinessLogic(ManagementService.java:229)
	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:710)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
	at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Thread.java:595)
16:28:04,434 ERROR [AxisServlet] 
java.lang.NullPointerException
	at org.apache.ode.axis2.util.OMUtils.getTextAsQName(OMUtils.java:206)
	at
org.apache.ode.axis2.service.ManagementService.convertFromOM(ManagementService.java:164)
	at
org.apache.ode.axis2.service.ManagementService.extractParams(ManagementService.java:149)
	at
org.apache.ode.axis2.service.ManagementService.invokeBusinessLogic(ManagementService.java:113)
	at
org.apache.ode.axis2.service.ManagementService.access$100(ManagementService.java:69)
	at
org.apache.ode.axis2.service.ManagementService$ProcessMessageReceiver.invokeBusinessLogic(ManagementService.java:229)
	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:710)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
	at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Thread.java:595)
ERROR - GeronimoLog.error(108) | Servlet.service() for servlet AxisServlet
threw exception
java.lang.NullPointerException
	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:171)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
	at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Thread.java:595)
16:28:04,434 ERROR [[AxisServlet]] Servlet.service() for servlet AxisServlet
threw exception
java.lang.NullPointerException
	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:171)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
	at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Thread.java:595)
ERROR - GeronimoLog.error(108) | Servlet.service() for servlet jsp threw
exception
java.lang.IllegalStateException: getOutputStream() has already been called
for this response
	at org.apache.catalina.connector.Response.getWriter(Response.java:607)
	at
org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:196)
	at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:125)
	at
org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:118)
	at
org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:179)
	at
org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:116)
	at
org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:76)
	at
org.apache.jsp.axis2_002dweb.Error.error500_jsp._jspService(error500_jsp.java:98)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
	at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
	at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
	at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
	at
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:364)
	at
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:285)
	at
org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:229)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
	at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Thread.java:595)
16:28:04,434 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.IllegalStateException: getOutputStream() has already been called
for this response
	at org.apache.catalina.connector.Response.getWriter(Response.java:607)
	at
org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:196)
	at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:125)
	at
org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:118)
	at
org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:179)
	at
org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:116)
	at
org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:76)
	at
org.apache.jsp.axis2_002dweb.Error.error500_jsp._jspService(error500_jsp.java:98)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
	at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
	at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
	at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
	at
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:364)
	at
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:285)
	at
org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:229)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
	at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Thread.java:595)
02.10.2007 16:28:04 org.apache.catalina.core.StandardHostValve custom
SCHWERWIEGEND: Exception Processing ErrorPage[errorCode=500,
location=/axis2-web/Error/error500.jsp]
org.apache.jasper.JasperException: getOutputStream() has already been called
for this response
	at
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:460)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:367)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
	at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
	at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
	at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
	at
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:364)
	at
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:285)
	at
org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:229)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
	at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Thread.java:595)


development enviroment: 
apache tomcat 5.5.23
apache ode 1.1
soap-ui 1.7.5

Are these errors known or did I make a fault? I have only seen in the jira
that the processmanagement does not work correctly...

Regards,
Jens

 


-- 
View this message in context: http://www.nabble.com/Errors-in-InstanceManagement-and-ProcessManagement-API-tf4555210.html#a13000070
Sent from the Apache Ode User mailing list archive at Nabble.com.


Re: Errors in InstanceManagement and ProcessManagement-API

Posted by Alex Boisvert <bo...@intalio.com>.
On 10/4/07, Jens Goldhammer <Go...@gmx.net> wrote:
>
> Ok, I have done this. And I found an interesting thing: If I put a correct
> instance-id into the request for the method resume, the service works
> correctly. If I put an incorrect value into the request, I get following
> response:
>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> ">
>    <soapenv:Body>
>       <soapenv:Fault xmlns:java="java:package java.lang.reflect, Java
> Platform API Specification, version 1.5">
>
> <faultcode>java:java.lang.reflect.InvocationTargetException</faultcode>
>          <faultstring>Invocation of method resume in management interface
> failed!</faultstring>
>          <detail>
>             <Exception>org.apache.ode.axis2.OdeFault: Invocation of method
> resume in management interface failed!
> Caused by: org.apache.ode.bpel.pmapi.InvalidRequestException: The process
> "null" is available.
> </Exception>
>          </detail>
>       </soapenv:Fault>
>    </soapenv:Body>
> </soapenv:Envelope>
>
> I think, this is business fault and should return a defined fault. Maybe
> you
> can add wsdl faults for all methods.


I agree we should map this exception to a WSDL Fault.  I created a new issue
for this http://issues.apache.org/jira/browse/ODE-193

alex

Re: Errors in InstanceManagement and ProcessManagement-API

Posted by Jens Goldhammer <Go...@gmx.net>.


Alex Boisvert wrote:
> 
> On 10/2/07, Jens Goldhammer <Go...@gmx.net> wrote:
>>
>> DEBUG - GeronimoLog.debug(66) | The system is checking for the operation
>> using the following WSAAction:
>> 17:38:18,894 DEBUG [ODEAxisDispatcher] The system is checking for the
>> operation using the following WSAAction:
>> DEBUG - GeronimoLog.debug(66) | Checking for Operation using SOAP message
>> body's first child's local name : resume
>> 17:38:18,904 DEBUG [ODEAxisDispatcher] Checking for Operation using SOAP
>> message body's first child's local name : resume
>> DEBUG - GeronimoLog.debug(66) | Found operation
>> org.apache.axis2.description.InOutAxisOperation@cea754
>> 17:38:18,904 DEBUG [ODEAxisDispatcher] Found operation
>> org.apache.axis2.description.InOutAxisOperation@cea754
>> DEBUG - GeronimoLog.debug(66) | Found a header in incoming message,
>> checking
>> if there are endpoints there.
>> 17:38:18,944 DEBUG [SessionInHandler] Found a header in incoming message,
>> checking if there are endpoints there.
>> DEBUG - GeronimoLog.debug(66) | Received mgmt message for
>> InstanceManagement.{http://www.apache.org/ode/pmapi}resume
>> 17:38:18,944 DEBUG [ManagementService] Received mgmt message for
>> InstanceManagement.{http://www.apache.org/ode/pmapi}resume
>> DEBUG - GeronimoLog.debug(66) | Extracting param class java.lang.Long
>> from
>> <iid>3394</iid>
>> 17:38:18,954 DEBUG [ManagementService] Extracting param class
>> java.lang.Long
>> from <iid>3394</iid>
>>
>> I can turn of debug-mode if you want to and this does not help you...
> 
> 
> You could try setting these two parameters to "true" in your
> axis2.xmlconfiguration:
> 
>     <parameter name="sendStacktraceDetailsWithFaults">true</parameter>
> 
>     <parameter name="DrillDownToRootCauseForFaultReason">true</parameter>
> 

Ok, I have done this. And I found an interesting thing: If I put a correct
instance-id into the request for the method resume, the service works
correctly. If I put an incorrect value into the request, I get following
response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <soapenv:Fault xmlns:java="java:package java.lang.reflect, Java
Platform API Specification, version 1.5">
        
<faultcode>java:java.lang.reflect.InvocationTargetException</faultcode>
         <faultstring>Invocation of method resume in management interface
failed!</faultstring>
         <detail>
            <Exception>org.apache.ode.axis2.OdeFault: Invocation of method
resume in management interface failed!
	at
org.apache.ode.axis2.service.ManagementService.invokeBusinessLogic(ManagementService.java:137)
	at
org.apache.ode.axis2.service.ManagementService.access$100(ManagementService.java:69)
	at
org.apache.ode.axis2.service.ManagementService$InstanceMessageReceiver.invokeBusinessLogic(ManagementService.java:236)
	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:710)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
	at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at
org.apache.ode.axis2.service.ManagementService.invokeBusinessLogic(ManagementService.java:114)
	... 22 more
Caused by: org.apache.ode.bpel.pmapi.InvalidRequestException: The process
"null" is available.
	at
org.apache.ode.bpel.engine.ProcessAndInstanceManagementImpl.getDebugger(ProcessAndInstanceManagementImpl.java:521)
	at
org.apache.ode.bpel.engine.ProcessAndInstanceManagementImpl.getDebugger(ProcessAndInstanceManagementImpl.java:551)
	at
org.apache.ode.bpel.engine.ProcessAndInstanceManagementImpl.resume(ProcessAndInstanceManagementImpl.java:370)
	... 27 more</Exception>
         </detail>
      </soapenv:Fault>
   </soapenv:Body>
</soapenv:Envelope>

I think, this is business fault and should return a defined fault. Maybe you
can add wsdl faults for all methods.


Alex Boisvert wrote:
> 
> 
>> Can you try using the value <pid>ibm:cisArchive-27</pid>
>> >
>> > and define a namespace for "ibm", e.g., xmlns:ibm="
>> > http://co.ibm.de.cis/archive"
>> >
>> I have declard the namespace in the bpel-file, deploy the service, start
>> a
>> new instance and try to invoke the getProcessInfo with your notation and
>> there is also the same error with the same stacktrace.
> 
> 
> Did you did the see namespace declared in your SOAP request?  (I can't
> tell
> for sure in your statement above)
> 

Ok, I have done this and I get following response:

request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:pmap="http://www.apache.org/ode/pmapi">
   <soapenv:Header/>
   <soapenv:Body>
      <pmap:getProcessInfo>
         <pid
xmlns:ibm="{http://com.ibm.de.cis/archive}">ibm:cisArchive-40</pid>
      </pmap:getProcessInfo>
   </soapenv:Body>
</soapenv:Envelope>

response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <soapenv:Fault xmlns:java="java:package java.lang.reflect, Java
Platform API Specification, version 1.5">
        
<faultcode>java:java.lang.reflect.InvocationTargetException</faultcode>
         <faultstring>Invocation of method getProcessInfo in management
interface failed!</faultstring>
         <detail>
            <Exception>org.apache.ode.axis2.OdeFault: Invocation of method
getProcessInfo in management interface failed!
	at
org.apache.ode.axis2.service.ManagementService.invokeBusinessLogic(ManagementService.java:137)
	at
org.apache.ode.axis2.service.ManagementService.access$100(ManagementService.java:69)
	at
org.apache.ode.axis2.service.ManagementService$ProcessMessageReceiver.invokeBusinessLogic(ManagementService.java:229)
	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:710)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
	at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at
org.apache.ode.axis2.service.ManagementService.invokeBusinessLogic(ManagementService.java:114)
	... 22 more
Caused by: org.apache.ode.bpel.pmapi.ProcessNotFoundException:
ProcessNotFound:{{http://com.ibm.de.cis/archive}}cisArchive-40
	at
org.apache.ode.bpel.engine.ProcessAndInstanceManagementImpl.genProcessInfoDocument(ProcessAndInstanceManagementImpl.java:602)
	at
org.apache.ode.bpel.engine.ProcessAndInstanceManagementImpl.getProcessInfoCustom(ProcessAndInstanceManagementImpl.java:186)
	at
org.apache.ode.bpel.engine.ProcessAndInstanceManagementImpl.getProcessInfo(ProcessAndInstanceManagementImpl.java:190)
	... 27 more</Exception>
         </detail>
      </soapenv:Fault>
   </soapenv:Body>
</soapenv:Envelope>

I hope this helps... I think, it is the same thing as below.
If I send following request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:pmap="http://www.apache.org/ode/pmapi">
   <soapenv:Header/>
   <soapenv:Body>
      <pmap:getProcessInfo>
         <pid
xmlns:ibm="http://com.ibm.de.cis/archive">ibm:cisArchive-40</pid>
      </pmap:getProcessInfo>
   </soapenv:Body>
</soapenv:Envelope>

the method works fine.
Why does this request does not work?

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:pmap="http://www.apache.org/ode/pmapi">
   <soapenv:Header/>
   <soapenv:Body>
      <pmap:getProcessInfo>
         <pid>{http://com.ibm.de.cis/archive}cisArchive-40</pid>
      </pmap:getProcessInfo>
   </soapenv:Body>
</soapenv:Envelope>

This would make it easier!
Thanks for your help!




Alex Boisvert wrote:
> 
> alex
> 
> 

-- 
View this message in context: http://www.nabble.com/Errors-in-InstanceManagement-and-ProcessManagement-API-tf4555210.html#a13034805
Sent from the Apache Ode User mailing list archive at Nabble.com.


Re: Errors in InstanceManagement and ProcessManagement-API

Posted by Alex Boisvert <bo...@intalio.com>.
On 10/2/07, Jens Goldhammer <Go...@gmx.net> wrote:
>
> DEBUG - GeronimoLog.debug(66) | The system is checking for the operation
> using the following WSAAction:
> 17:38:18,894 DEBUG [ODEAxisDispatcher] The system is checking for the
> operation using the following WSAAction:
> DEBUG - GeronimoLog.debug(66) | Checking for Operation using SOAP message
> body's first child's local name : resume
> 17:38:18,904 DEBUG [ODEAxisDispatcher] Checking for Operation using SOAP
> message body's first child's local name : resume
> DEBUG - GeronimoLog.debug(66) | Found operation
> org.apache.axis2.description.InOutAxisOperation@cea754
> 17:38:18,904 DEBUG [ODEAxisDispatcher] Found operation
> org.apache.axis2.description.InOutAxisOperation@cea754
> DEBUG - GeronimoLog.debug(66) | Found a header in incoming message,
> checking
> if there are endpoints there.
> 17:38:18,944 DEBUG [SessionInHandler] Found a header in incoming message,
> checking if there are endpoints there.
> DEBUG - GeronimoLog.debug(66) | Received mgmt message for
> InstanceManagement.{http://www.apache.org/ode/pmapi}resume
> 17:38:18,944 DEBUG [ManagementService] Received mgmt message for
> InstanceManagement.{http://www.apache.org/ode/pmapi}resume
> DEBUG - GeronimoLog.debug(66) | Extracting param class java.lang.Long from
> <iid>3394</iid>
> 17:38:18,954 DEBUG [ManagementService] Extracting param class
> java.lang.Long
> from <iid>3394</iid>
>
> I can turn of debug-mode if you want to and this does not help you...



You could try setting these two parameters to "true" in your
axis2.xmlconfiguration:

    <parameter name="sendStacktraceDetailsWithFaults">true</parameter>

    <parameter name="DrillDownToRootCauseForFaultReason">true</parameter>


> Can you try using the value <pid>ibm:cisArchive-27</pid>
> >
> > and define a namespace for "ibm", e.g., xmlns:ibm="
> > http://co.ibm.de.cis/archive"
> >
> I have declard the namespace in the bpel-file, deploy the service, start a
> new instance and try to invoke the getProcessInfo with your notation and
> there is also the same error with the same stacktrace.


Did you did the see namespace declared in your SOAP request?  (I can't tell
for sure in your statement above)

alex

Re: Errors in InstanceManagement and ProcessManagement-API

Posted by Rich Taylor <bh...@gmail.com>.
Not sure if it's related or not but this sounds similar to the behavior I'm
seeing in https://issues.apache.org/jira/browse/ODE-192.  It might be the
same underlying cause.  Just a thought.  - Rich

On 10/2/07, Jens Goldhammer <Go...@gmx.net> wrote:
>
>
>
> Alex Boisvert wrote:
> >
> > On 10/2/07, Jens Goldhammer <Go...@gmx.net> wrote:
> >>
> >> If I want to terminate or resume a process with a request, e.g.
> >>
> >> <soapenv:Envelope
> >> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> >> "
> >> xmlns:pmap="http://www.apache.org/ode/pmapi">
> >>    <soapenv:Header/>
> >>    <soapenv:Body>
> >>       <pmap:resume>
> >>          <iid>3394</iid>
> >>       </pmap:resume>
> >>    </soapenv:Body>
> >> </soapenv:Envelope>
> >
> >
> > Do you get a stacktrace on the server-side for this one?
> >
>
> DEBUG - GeronimoLog.debug(66) | The system is checking for the operation
> using the following WSAAction:
> 17:38:18,894 DEBUG [ODEAxisDispatcher] The system is checking for the
> operation using the following WSAAction:
> DEBUG - GeronimoLog.debug(66) | Checking for Operation using SOAP message
> body's first child's local name : resume
> 17:38:18,904 DEBUG [ODEAxisDispatcher] Checking for Operation using SOAP
> message body's first child's local name : resume
> DEBUG - GeronimoLog.debug(66) | Found operation
> org.apache.axis2.description.InOutAxisOperation@cea754
> 17:38:18,904 DEBUG [ODEAxisDispatcher] Found operation
> org.apache.axis2.description.InOutAxisOperation@cea754
> DEBUG - GeronimoLog.debug(66) | Found a header in incoming message,
> checking
> if there are endpoints there.
> 17:38:18,944 DEBUG [SessionInHandler] Found a header in incoming message,
> checking if there are endpoints there.
> DEBUG - GeronimoLog.debug(66) | Received mgmt message for
> InstanceManagement.{http://www.apache.org/ode/pmapi}resume
> 17:38:18,944 DEBUG [ManagementService] Received mgmt message for
> InstanceManagement.{http://www.apache.org/ode/pmapi}resume
> DEBUG - GeronimoLog.debug(66) | Extracting param class java.lang.Long from
> <iid>3394</iid>
> 17:38:18,954 DEBUG [ManagementService] Extracting param class
> java.lang.Long
> from <iid>3394</iid>
>
> I can turn of debug-mode if you want to and this does not help you...
>
>
>
> >> Request:
> >> <soapenv:Envelope
> >> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> >> "
> >> xmlns:pmap="http://www.apache.org/ode/pmapi">
> >>    <soapenv:Header/>
> >>    <soapenv:Body>
> >>       <pmap:getProcessInfo>
> >>          <pid>{http://com.ibm.de.cis/archive}cisArchive-27</pid>
> >>       </pmap:getProcessInfo>
> >>    </soapenv:Body>
> >> </soapenv:Envelope>
> >
> >
> > Can you try using the value <pid>ibm:cisArchive-27</pid>
> >
> > and define a namespace for "ibm", e.g., xmlns:ibm="
> > http://co.ibm.de.cis/archive"
> >
> I have declard the namespace in the bpel-file, deploy the service, start a
> new instance and try to invoke the getProcessInfo with your notation and
> there is also the same error with the same stacktrace.
>
> Regards, Jens
>
>
>
> > alex
> >
>
>
> --
> View this message in context:
> http://www.nabble.com/Errors-in-InstanceManagement-and-ProcessManagement-API-tf4555210.html#a13001290
> Sent from the Apache Ode User mailing list archive at Nabble.com.
>
>

Re: Errors in InstanceManagement and ProcessManagement-API

Posted by Jens Goldhammer <Go...@gmx.net>.


Alex Boisvert wrote:
> 
> On 10/2/07, Jens Goldhammer <Go...@gmx.net> wrote:
>>
>> If I want to terminate or resume a process with a request, e.g.
>>
>> <soapenv:Envelope
>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>> "
>> xmlns:pmap="http://www.apache.org/ode/pmapi">
>>    <soapenv:Header/>
>>    <soapenv:Body>
>>       <pmap:resume>
>>          <iid>3394</iid>
>>       </pmap:resume>
>>    </soapenv:Body>
>> </soapenv:Envelope>
> 
> 
> Do you get a stacktrace on the server-side for this one?
> 
> DEBUG - GeronimoLog.debug(66) | The system is checking for the operation
> using the following WSAAction: 
> 17:38:18,894 DEBUG [ODEAxisDispatcher] The system is checking for the
> operation using the following WSAAction: 
> DEBUG - GeronimoLog.debug(66) | Checking for Operation using SOAP message
> body's first child's local name : resume
> 17:38:18,904 DEBUG [ODEAxisDispatcher] Checking for Operation using SOAP
> message body's first child's local name : resume
> DEBUG - GeronimoLog.debug(66) | Found operation
> org.apache.axis2.description.InOutAxisOperation@cea754
> 17:38:18,904 DEBUG [ODEAxisDispatcher] Found operation
> org.apache.axis2.description.InOutAxisOperation@cea754
> DEBUG - GeronimoLog.debug(66) | Found a header in incoming message,
> checking if there are endpoints there.
> 17:38:18,944 DEBUG [SessionInHandler] Found a header in incoming message,
> checking if there are endpoints there.
> DEBUG - GeronimoLog.debug(66) | Received mgmt message for
> InstanceManagement.{http://www.apache.org/ode/pmapi}resume
> 17:38:18,944 DEBUG [ManagementService] Received mgmt message for
> InstanceManagement.{http://www.apache.org/ode/pmapi}resume
> DEBUG - GeronimoLog.debug(66) | Extracting param class java.lang.Long from
> <iid>3394</iid>
> 17:38:18,954 DEBUG [ManagementService] Extracting param class
> java.lang.Long from <iid>3394</iid>
> 
> I can turn of debug-mode if you want to and this does not help you...
> 
>> Request:
>> <soapenv:Envelope
>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>> "
>> xmlns:pmap="http://www.apache.org/ode/pmapi">
>>    <soapenv:Header/>
>>    <soapenv:Body>
>>       <pmap:getProcessInfo>
>>          <pid>{http://com.ibm.de.cis/archive}cisArchive-27</pid>
>>       </pmap:getProcessInfo>
>>    </soapenv:Body>
>> </soapenv:Envelope>
> 
> 
> Can you try using the value <pid>ibm:cisArchive-27</pid>
> 
> and define a namespace for "ibm", e.g., xmlns:ibm="
> http://co.ibm.de.cis/archive"
> 
> I have declard the namespace in the bpel-file, deploy the service, start a
> new instance and try to invoke the getProcessInfo with your notation and
> there is also the same error with the same stacktrace.
> 
> Regards, Jens
> 
> alex
> 
> 

-- 
View this message in context: http://www.nabble.com/Errors-in-InstanceManagement-and-ProcessManagement-API-tf4555210.html#a13001290
Sent from the Apache Ode User mailing list archive at Nabble.com.


Re: Errors in InstanceManagement and ProcessManagement-API

Posted by Jens Goldhammer <Go...@gmx.net>.

Alex Boisvert wrote:
> 
> On 10/2/07, Jens Goldhammer <Go...@gmx.net> wrote:
>>
>> If I want to terminate or resume a process with a request, e.g.
>>
>> <soapenv:Envelope
>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>> "
>> xmlns:pmap="http://www.apache.org/ode/pmapi">
>>    <soapenv:Header/>
>>    <soapenv:Body>
>>       <pmap:resume>
>>          <iid>3394</iid>
>>       </pmap:resume>
>>    </soapenv:Body>
>> </soapenv:Envelope>
> 
> 
> Do you get a stacktrace on the server-side for this one?
> 

DEBUG - GeronimoLog.debug(66) | The system is checking for the operation
using the following WSAAction: 
17:38:18,894 DEBUG [ODEAxisDispatcher] The system is checking for the
operation using the following WSAAction: 
DEBUG - GeronimoLog.debug(66) | Checking for Operation using SOAP message
body's first child's local name : resume
17:38:18,904 DEBUG [ODEAxisDispatcher] Checking for Operation using SOAP
message body's first child's local name : resume
DEBUG - GeronimoLog.debug(66) | Found operation
org.apache.axis2.description.InOutAxisOperation@cea754
17:38:18,904 DEBUG [ODEAxisDispatcher] Found operation
org.apache.axis2.description.InOutAxisOperation@cea754
DEBUG - GeronimoLog.debug(66) | Found a header in incoming message, checking
if there are endpoints there.
17:38:18,944 DEBUG [SessionInHandler] Found a header in incoming message,
checking if there are endpoints there.
DEBUG - GeronimoLog.debug(66) | Received mgmt message for
InstanceManagement.{http://www.apache.org/ode/pmapi}resume
17:38:18,944 DEBUG [ManagementService] Received mgmt message for
InstanceManagement.{http://www.apache.org/ode/pmapi}resume
DEBUG - GeronimoLog.debug(66) | Extracting param class java.lang.Long from
<iid>3394</iid>
17:38:18,954 DEBUG [ManagementService] Extracting param class java.lang.Long
from <iid>3394</iid>

I can turn of debug-mode if you want to and this does not help you...



>> Request:
>> <soapenv:Envelope
>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>> "
>> xmlns:pmap="http://www.apache.org/ode/pmapi">
>>    <soapenv:Header/>
>>    <soapenv:Body>
>>       <pmap:getProcessInfo>
>>          <pid>{http://com.ibm.de.cis/archive}cisArchive-27</pid>
>>       </pmap:getProcessInfo>
>>    </soapenv:Body>
>> </soapenv:Envelope>
> 
> 
> Can you try using the value <pid>ibm:cisArchive-27</pid>
> 
> and define a namespace for "ibm", e.g., xmlns:ibm="
> http://co.ibm.de.cis/archive"
> 
I have declard the namespace in the bpel-file, deploy the service, start a
new instance and try to invoke the getProcessInfo with your notation and
there is also the same error with the same stacktrace.

Regards, Jens



> alex
> 


-- 
View this message in context: http://www.nabble.com/Errors-in-InstanceManagement-and-ProcessManagement-API-tf4555210.html#a13001290
Sent from the Apache Ode User mailing list archive at Nabble.com.


Re: Errors in InstanceManagement and ProcessManagement-API

Posted by Alex Boisvert <bo...@intalio.com>.
On 10/2/07, Jens Goldhammer <Go...@gmx.net> wrote:
>
> If I want to terminate or resume a process with a request, e.g.
>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> "
> xmlns:pmap="http://www.apache.org/ode/pmapi">
>    <soapenv:Header/>
>    <soapenv:Body>
>       <pmap:resume>
>          <iid>3394</iid>
>       </pmap:resume>
>    </soapenv:Body>
> </soapenv:Envelope>


Do you get a stacktrace on the server-side for this one?


> Request:
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> "
> xmlns:pmap="http://www.apache.org/ode/pmapi">
>    <soapenv:Header/>
>    <soapenv:Body>
>       <pmap:getProcessInfo>
>          <pid>{http://com.ibm.de.cis/archive}cisArchive-27</pid>
>       </pmap:getProcessInfo>
>    </soapenv:Body>
> </soapenv:Envelope>


Can you try using the value <pid>ibm:cisArchive-27</pid>

and define a namespace for "ibm", e.g., xmlns:ibm="
http://co.ibm.de.cis/archive"

alex