ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Ford (JIRA)" <j...@apache.org>
Subject [jira] Commented: (ODE-614) ClassCastException: org.apache.ode.jbi.JbiEndpointReference
Date Tue, 15 Sep 2009 21:01:57 GMT

    [ https://issues.apache.org/jira/browse/ODE-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12755689#action_12755689
] 

Mark Ford commented on ODE-614:
-------------------------------

This patch broke my use of dynamic EPR within servicemix. 

The following EPR used to work fine:

<sref:service-ref xmlns:sref="http://docs.oasis-open.org/wsbpel/2.0/serviceref">
  <wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:Address">http://localhost:9080/servletContext/services/MyResource?http.soap=true&amp;http.soapVersion=1.1</wsa:Address>
  </wsa:EndpointReference>
</sref:service-ref>

With the change applied, the result is that the EPR is not resolved within servicemix. I'm
not sure I understand the motivation for restricting the search to the JBI QName.

> ClassCastException: org.apache.ode.jbi.JbiEndpointReference
> -----------------------------------------------------------
>
>                 Key: ODE-614
>                 URL: https://issues.apache.org/jira/browse/ODE-614
>             Project: ODE
>          Issue Type: Bug
>          Components: JBI Integration
>    Affects Versions: 1.3.2
>            Reporter: Alexis Midon
>            Assignee: Alexis Midon
>         Attachments: communication.zip, ODE-614.potential.patch, test-soapui-project.xml
>
>
> Im trying to invoke an external axis2 web service from a ODE BPEL project deployed inside
a ServiceMix JBI container but every time i try to invoke i get the following errors.
> java.lang.ClassCastException: org.apache.ode.jbi.JbiEndpointReference
>        at org.apache.ode.jbi.EndpointReferenceContextImpl.getConfigLookup(EndpointReferenceContextImpl.java:116)
>        at org.apache.ode.store.ProcessConfImpl.getEndpointProperties(ProcessConfImpl.java:417)
>        at org.apache.ode.bpel.engine.BpelProcess.getTimeout(BpelProcess.java:1089)
>        at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.scheduleInvokeCheck(BpelRuntimeContextImpl.java:839)
>        at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.invoke(BpelRuntimeContextImpl.java:777)
>        at org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:100)
>        at sun.reflect.GeneratedMethodAccessor61.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:870)
>        at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:206)
>        at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:237)
>        at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:408)
>        at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:439)
>        at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java: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(SimpleScheduler.java:218)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:404)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:401)
>        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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message