You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by treessying <wx...@163.com> on 2010/03/29 15:04:07 UTC
unkown endpoint error when communicate with ode-se and
cxf-bc-provider
hello everyone,
I am woking about deploying a bpel service in servicemix via cxf-bc and
ode-se.
Now I have successfully connected cxf-bc-consumer and ode-se, i.e, the
input message find the route to ode-se. However, when the ode-se invoke some
webservice via cxf-bc-provider, an error occured:
ERROR - JacobVPU - Method "run" in class
"org.apache.ode.bpel.runtime.INVOKE"
threw an unexpected exception.
org.apache.ode.bpel.iapi.ContextException: Unknown endpoint:
{http://sample}helloService:hello
at
org.apache.ode.jbi.JbiEndpointReference.getServiceEndpoint(JbiEndpointReference.java:99)
at
org.apache.ode.jbi.JbiEndpointReference.toXML(JbiEndpointReference.java:64)
at
org.apache.ode.bpel.engine.BpelRuntimeContextImpl.invoke(BpelRuntimeContextImpl.java:773)
at org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:100)
at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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(BpelRuntimeContextImpl.java:835
)
at
org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.
java:197)
at
org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:204)
at
org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:372)
at
org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:326)
at
org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
at
org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:337)
at
org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:336)
at
org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:174)
at
org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:335)
at
org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:332)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
ERROR - BpelEngineImpl - Scheduled job failed;
jobDetail={type=INVOKE_INTERNAL, inme
m=true, mexid=4611686018427387903, pid={http://hello}hello-1}
java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException:
Unknown endpoint: {http://sam
ple}helloService:hello
at
org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:464)
at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
at
org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:835
Has anybody met the same problem? My cxf-bc-consumer ,ode-se, and
cxf-bc-provider units are in the attachment.
http://old.nabble.com/file/p28069000/my-cxf-sa-1.0-SNAPSHOT.jar
my-cxf-sa-1.0-SNAPSHOT.jar
http://old.nabble.com/file/p28069000/cxf-sa-1.0-SNAPSHOT.jar
cxf-sa-1.0-SNAPSHOT.jar
http://old.nabble.com/file/p28069000/ode-bpel.zip ode-bpel.zip
--
View this message in context: http://old.nabble.com/unkown-endpoint-error-when-communicate-with-ode-se-and-cxf-bc-provider-tp28069000p28069000.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: unkown endpoint error when communicate with ode-se and cxf-bc-provider
Posted by Daniel Kulp <dk...@apache.org>.
This is probably best posted to the servicemix lists or maybe the ode lists.
Since the cxf-bc and ode stuff is not part of CXF, I'm not sure how we can
really help you.
Dan
On Monday 29 March 2010 9:04:07 am treessying wrote:
> hello everyone,
> I am woking about deploying a bpel service in servicemix via cxf-bc and
> ode-se.
> Now I have successfully connected cxf-bc-consumer and ode-se, i.e, the
> input message find the route to ode-se. However, when the ode-se invoke
> some webservice via cxf-bc-provider, an error occured:
>
>
>
> ERROR - JacobVPU - Method "run" in class
> "org.apache.ode.bpel.runtime.INVOKE"
> threw an unexpected exception.
> org.apache.ode.bpel.iapi.ContextException: Unknown endpoint:
> {http://sample}helloService:hello
> at
> org.apache.ode.jbi.JbiEndpointReference.getServiceEndpoint(JbiEndpointRefer
> ence.java:99) at
> org.apache.ode.jbi.JbiEndpointReference.toXML(JbiEndpointReference.java:64)
> at
> org.apache.ode.bpel.engine.BpelRuntimeContextImpl.invoke(BpelRuntimeContext
> Impl.java:773)
>
> at org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:100)
> at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
> l.java:25) at java.lang.reflect.Method.invoke(Method.java:585)
> 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(BpelRuntimeContex
> tImpl.java:835 )
> at
> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerL
> inkMyRoleImpl. java:197)
> at
> org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:204)
> at
> org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:372
> ) at
> org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.jav
> a:326) at
> org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.jav
> a:373) at
> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.ja
> va:337) at
> org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.ja
> va:336) at
> org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleSched
> uler.java:174)
>
> at
> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java
> :335) at
> org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java
> :332) at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.j
> ava:650) at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:
> 675) at java.lang.Thread.run(Thread.java:595)
> ERROR - BpelEngineImpl - Scheduled job failed;
> jobDetail={type=INVOKE_INTERNAL, inme
> m=true, mexid=4611686018427387903, pid={http://hello}hello-1}
> java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException:
> Unknown endpoint: {http://sam
> ple}helloService:hello
> at
> org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:464)
> at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
> at
> org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContex
> tImpl.java:835
>
>
>
> Has anybody met the same problem? My cxf-bc-consumer ,ode-se, and
> cxf-bc-provider units are in the attachment.
>
> http://old.nabble.com/file/p28069000/my-cxf-sa-1.0-SNAPSHOT.jar
> my-cxf-sa-1.0-SNAPSHOT.jar
> http://old.nabble.com/file/p28069000/cxf-sa-1.0-SNAPSHOT.jar
> cxf-sa-1.0-SNAPSHOT.jar
> http://old.nabble.com/file/p28069000/ode-bpel.zip ode-bpel.zip
--
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog