ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maciej Szefler" <...@intalio.com>
Subject Re: Instance Management API retrieving events
Date Wed, 07 Nov 2007 14:40:46 GMT
Lavanya,

The JPA-based DAO does not implement event storage. To use this feature
you'd need to either switch to the hibernate DAO, or wait until someone
implements this on the JPA DAO implementation.

-mbs

On 11/7/07, Lavanya Ramakrishnan <laramakr@cs.indiana.edu> wrote:
>
> I am trying to use the instance management API for retrieving event
> information and I am getting the exception below.
>
> I am using the svn branch for 1.1. I have tried both listEvents and
> getEventTimeline.
>
> Am I missing something or is this expected behavior?
>
> java.lang.UnsupportedOperationException
>         at
> org.apache.ode.dao.jpa.BPELDAOConnectionImpl.bpelEventQuery(
> BPELDAOConnectionImpl.java:54)
>         at
> org.apache.ode.bpel.engine.ProcessAndInstanceManagementImpl$7.run(
> ProcessAndInstanceManagementImpl.java:469)
>         at
> org.apache.ode.bpel.engine.BpelDatabase$1.call(BpelDatabase.java:76)
>         at
> org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(
> SimpleScheduler.java:179)
>         at
> org.apache.ode.bpel.engine.BpelDatabase.exec(BpelDatabase.java:74)
>         at
> org.apache.ode.bpel.engine.ProcessAndInstanceManagementImpl.dbexec(
> ProcessAndInstanceManagementImpl.java:585)
>         at
> org.apache.ode.bpel.engine.ProcessAndInstanceManagementImpl.listEvents(
> ProcessAndInstanceManagementImpl.java:467)
>         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:125)
>         at
> org.apache.ode.axis2.service.ManagementService.access$100(
> ManagementService.java:72)
>         at
>
> org.apache.ode.axis2.service.ManagementService$InstanceMessageReceiver.invokeBusinessLogic
> (ManagementService.java:275)
>         at
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(
> AbstractMessageReceiver.java:96)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:
>
> thanks
> Lavanya
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message