You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by violin <52...@qq.com> on 2013/10/16 04:20:07 UTC

Add global breakpoints for Apache ODE engine

Hi all, 

I'm a student doing research of Apache ODE workflow  engine. Now I try to set up control of workflow instance execution in  ODE and have found activity breakpoints support in the ODE source code. But when I  looked through the ODE online documents  (http://ode.apache.org/bpel-management-api-specification.html), I found  no clues of the breakpoints support in Management API, which means I  could not add breakpoints using SOAP messages like the Process and  Instance Management API in  org.apache.ode.bpel.engine.DebuggerSupport.java, such as suspend and  resume.

Does anyone how to do it in ODE? Or could you tell me where to find  some documents about use of ODE Debugger support?

Best, 
Vito

Re: Add global breakpoints for Apache ODE engine

Posted by Tammo van Lessen <tv...@gmail.com>.
Hi Vito,

I think the debugger API is only exposed via JCA. If you connect to ODE via
JCA, you get an instance
of org.apache.ode.bpel.engine.BpelManagementFacadeImpl, which provides the
debugger API. Have a look at the ode-jca-ra module,
especially org.apache.ode.ra.OdeManagedConnectionFactory. If you connect
to rmi://localhost:2099/jcaServer, you should have access to ODE's API.

HTH,
  Tammo


On Wed, Oct 16, 2013 at 4:20 AM, violin <52...@qq.com> wrote:

> Hi all,
>
> I'm a student doing research of Apache ODE workflow  engine. Now I try to
> set up control of workflow instance execution in  ODE and have found
> activity breakpoints support in the ODE source code. But when I  looked
> through the ODE online documents  (
> http://ode.apache.org/bpel-management-api-specification.html), I found
>  no clues of the breakpoints support in Management API, which means I
>  could not add breakpoints using SOAP messages like the Process and
>  Instance Management API in
>  org.apache.ode.bpel.engine.DebuggerSupport.java, such as suspend and
>  resume.
>
> Does anyone how to do it in ODE? Or could you tell me where to find  some
> documents about use of ODE Debugger support?
>
> Best,
> Vito




-- 
Tammo van Lessen - http://www.taval.de

Re: Add global breakpoints for Apache ODE engine

Posted by Tammo van Lessen <tv...@gmail.com>.
Hi Vito,

I think the debugger API is only exposed via JCA. If you connect to ODE via
JCA, you get an instance
of org.apache.ode.bpel.engine.BpelManagementFacadeImpl, which provides the
debugger API. Have a look at the ode-jca-ra module,
especially org.apache.ode.ra.OdeManagedConnectionFactory. If you connect
to rmi://localhost:2099/jcaServer, you should have access to ODE's API.

HTH,
  Tammo


On Wed, Oct 16, 2013 at 4:20 AM, violin <52...@qq.com> wrote:

> Hi all,
>
> I'm a student doing research of Apache ODE workflow  engine. Now I try to
> set up control of workflow instance execution in  ODE and have found
> activity breakpoints support in the ODE source code. But when I  looked
> through the ODE online documents  (
> http://ode.apache.org/bpel-management-api-specification.html), I found
>  no clues of the breakpoints support in Management API, which means I
>  could not add breakpoints using SOAP messages like the Process and
>  Instance Management API in
>  org.apache.ode.bpel.engine.DebuggerSupport.java, such as suspend and
>  resume.
>
> Does anyone how to do it in ODE? Or could you tell me where to find  some
> documents about use of ODE Debugger support?
>
> Best,
> Vito




-- 
Tammo van Lessen - http://www.taval.de