First of all thanks for the fast answer, but i don't think I have the same issue.
I get exactly the same error with ode-1.3.2 and further more I do not call any external processes. I simply try to use an internal endpoint. Any other ideas? Andreas On Tuesday 06 October 2009 11:59:22 Rafal Rusin wrote: > I believe https://issues.apache.org/jira/browse/ODE-614 resolves your > problem > > 2009/10/6 Andreas Pieber <[email protected]>: > > Hey, > > > > I try to integrate bpel with apache ODE 1.3.3 and apache servicemix > > 3.3.1. But I've a very interesting problem: > > > > 10:45:16,349 | DEBUG | pool-5-thread-2 | BpelEngineImpl | > > ode.bpel.engine.BpelEngineImpl 346 | Routed: svcQname > > {urn:engsb:svn}SourceControlManagmentService --> null > > 10:45:16,349 | ERROR | pool-5-thread-2 | JacobVPU | > > b.vpu.JacobVPU$JacobThreadImpl 463 | Method "run" in class > > "org.apache.ode.bpel.runtime.INVOKE" threw an unexpected exception. > > java.lang.ClassCastException: org.apache.ode.jbi.JbiEndpointReference > > cannot be cast to org.apache.ode.bpel.epr.MutableEndpoint > > at > > org.apache.ode.jbi.EndpointReferenceContextImpl.getConfigLookup(EndpointR > >eferenceContextImpl.java:116) at > > org.apache.ode.store.ProcessConfImpl.getEndpointProperties(ProcessConfImp > >l.java:423) at > > org.apache.ode.bpel.engine.BpelProcess.getTimeout(BpelProcess.java:1089) > > at > > org.apache.ode.bpel.engine.BpelRuntimeContextImpl.scheduleInvokeCheck(Bpe > >lRuntimeContextImpl.java:842) at > > org.apache.ode.bpel.engine.BpelRuntimeContextImpl.invoke(BpelRuntimeConte > >xtImpl.java:780) at > > org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:100) at > > sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI > >mpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) > > at > > org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451) > > at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139) at > > org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeCont > >extImpl.java:875) at > > org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(Partne > >rLinkMyRoleImpl.java:206) at > > org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:237 > >) at > > org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:4 > >08) at > > org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.j > >ava:439) at > > org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.j > >ava:441) at > > org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler. > >java:411) at > > org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler. > >java:405) at > > org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleSch > >eduler.java:218) at > > org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.ja > >va:404) at > > org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.ja > >va:401) at > > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at > > java.util.concurrent.FutureTask.run(FutureTask.java:138) at > > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor > >.java:886) at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav > >a:908) at java.lang.Thread.run(Thread.java:619) > > > > I have absolutely no idea where i should start to search here for an > > error. Google answers nothing on the > > org.apache.ode.jbi.JbiEndpointReference cannot be cast to > > org.apache.ode.bpel.epr.MutableEndpoint query. I hope someone here can > > help me; or at least give me a hint where I can start to search > > > > thank you > > > > Andreas >
