ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Riou" <matth...@offthelip.org>
Subject Re: Unimplemented functionality?
Date Tue, 16 Sep 2008 14:47:52 GMT
On Tue, Sep 16, 2008 at 2:54 AM, <tyelperinquar@netscape.net> wrote:

> Hello folks,
> I am getting a strange exception when trying to invoke
> InstanceManagement.listEvents(String, String, int) - I am told that it is an
> unsupported operation? Is this feature really not implemented yet? I am
> using Ode 1.2 under Tomcat 5.5.26. The stacktrace:


A while back, we switched from Hibernate to OpenJPA as persistence layers
and there are still a couple of unimplemented methods in the management API.
It probably wouldn't be too hard to write though, especially given that you
can take the Hibernate implementation as an example. But so far nobody has
volunteered for it.

Thanks,
Matthieu


>
> SEVERE: Servlet.service() for servlet my_servlet threw exception
> java.lang.RuntimeException: org.apache.ode.bpel.pmapi.ManagementException:
> Exception during database operationjava.lang.UnsupportedOperationException
> ??? at
> com.centire.proc_engine.impl.ProcessEngineIfaceRemoteWrapper.getProcCurrentActivityOperation(ProcessEngineIfaceRemoteWrapper.java:49)
> ??? 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:597)
> ??? at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
> ??? at sun.rmi.transport.Transport$1.run(Transport.java:159)
> ??? at java.security.AccessController.doPrivileged(Native Method)
> ??? at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
> ??? at
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
> ??? at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
> ??? at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
> ??? at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> ??? at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> ??? at java.lang.Thread.run(Thread.java:619)
> ??? at
> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
> ??? at
> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
> ??? at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
> ??? at
> java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)
> ??? at
> java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
> ??? at $Proxy23.getProcCurrentActivityOperation(Unknown Source)
> ??? at pokusae1.MyServlet.doGet(MyServlet.java:46)
> ??? at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> ??? at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> ??? 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:597)
> ??? at
> org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
> ??? at java.security.AccessController.doPrivileged(Native Method)
> ??? at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
> ??? at
> org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
> ??? at
> org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
> ??? at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:262)
> ??? at
> org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:52)
> ??? at
> org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:171)
> ??? at java.security.AccessController.doPrivileged(Native Method)
> ??? at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:167)
> ??? 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:174)
> ??? 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:619)
> Caused by: org.apache.ode.bpel.pmapi.ManagementException: Exception during
> database operationjava.lang.UnsupportedOperationException
> ??? at
> org.apache.ode.bpel.engine.ProcessAndInstanceManagementImpl.dbexec(ProcessAndInstanceManagementImpl.java:594)
> ??? at
> org.apache.ode.bpel.engine.ProcessAndInstanceManagementImpl.listEvents(ProcessAndInstanceManagementImpl.java:468)
> ??? at
> com.centire.proc_engine.impl.OdeEngineIfaceImpl.getProcCurrentActivityOperation(OdeEngineIfaceImpl.java:88)
> ??? at
> com.centire.proc_engine.impl.ProcessEngineIfaceRemoteWrapper.getProcCurrentActivityOperation(ProcessEngineIfaceRemoteWrapper.java:47)
> ??? 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:597)
> ??? at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
> ??? at sun.rmi.transport.Transport$1.run(Transport.java:159)
> ??? at java.security.AccessController.doPrivileged(Native Method)
> ??? at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
> ??? at
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
> ??? at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
> ??? at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
> ??? at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> ??? at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> ??? ... 1 more
>
> Is there another way how to a obtain operation's name of the activity
> currently being executed (supposing that I know the process instance id)?
> ?Thnx for any suggestions.
> Jan Michalica
>
>

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