ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Harrigan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (ODE-614) ClassCastException: org.apache.ode.jbi.JbiEndpointReference
Date Mon, 01 Jun 2009 12:28:07 GMT

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

Ian Harrigan commented on ODE-614:
----------------------------------

Ok, ive managed to build a 2.1 version of the JBI version of ODE, although i couldnt work
out how to apply the patch the code changes were small enough to make manually. However, once
the new version was deployed i get the following exception:

INFO  - Query                          - This query on type "class org.apache.ode.dao.jpa.MessageExchangeDAOImpl"
must load the entire candidate class extent and evaluate the query in-memory.  This may be
very slow.  The query must be executed in memory because OpenJPA is configured with IgnoreCache=false
and FlushBeforeQueries=false and there are dirty instances that may affect the query's outcome
in the cache.
WARN  - OdeConsumer                    - Received a response for unknown partner role message
exchange ID:192.168.1.105-1219bbe638a-2:1
ERROR - OdeService                     - ODE MEX {MyRoleMex#hqejbhcnphr4bjrhoutd9r [Client
null] calling {http://xmlns.apache.ode.com/DynamicPLTest}TestProvider.PerformTest(...)} resulted
in an error.

WARN  - jetty                          - /DynamicPLTest/
java.lang.Exception: java.util.concurrent.TimeoutException
        at org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:209)
        at org.apache.servicemix.http.HttpBridgeServlet.doPost(HttpBridgeServlet.java:71)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363)
        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:757)
        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:324)
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:371)
        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
        at org.mortbay.jetty.nio.SelectChannelConnector$RetryContinuation.run(SelectChannelConnector.java:525)
        at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
Caused by: java.util.concurrent.TimeoutException
        at org.apache.ode.bpel.engine.MessageExchangeImpl$ResponseFuture.get(MessageExchangeImpl.java:441)
        at org.apache.ode.bpel.engine.MessageExchangeImpl$ResponseFuture.get(MessageExchangeImpl.java:418)
        at org.apache.ode.bpel.engine.UnreliableMyRoleMessageExchangeImpl.invokeBlocking(UnreliableMyRoleMessageExchangeImpl.java:68)
        at org.apache.ode.jbi.OdeService.invokeOde(OdeService.java:205)
        at org.apache.ode.jbi.OdeService.onJbiMessageExchange(OdeService.java:142)
        at org.apache.ode.jbi.JbiMessageExchangeEventRouter.onJbiMessageExchange(JbiMessageExchangeEventRouter.java:67)
        at org.apache.ode.jbi.Receiver$1.run(Receiver.java:179)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
        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)

Any ideas?

Thanks in advance,
Ian Harrigan

> 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: ODE-614.potential.patch
>
>
> 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