You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Rafal Rusin (JIRA)" <ji...@apache.org> on 2009/02/24 13:24:02 UTC

[jira] Created: (ODE-527) Failure recovery doesn't work while no serviceendpoint is registered

Failure recovery doesn't work while no serviceendpoint is registered
--------------------------------------------------------------------

                 Key: ODE-527
                 URL: https://issues.apache.org/jira/browse/ODE-527
             Project: ODE
          Issue Type: Bug
          Components: JBI Integration
    Affects Versions: 1.3
         Environment: Servicemix 3.3
            Reporter: Rafal Rusin
             Fix For: 1.3


Given a process, which INVOKEs some unregistered service endpoint, I had an exception, which was occurring endlessly not regarding any activityRecovery settings, such as faultOnFailure=true. 

12:10:01,683 | ERROR | pool-4-thread-1 | SimpleScheduler          | duler.simple.SimpleScheduler$4  410 | Error while executing transaction
org.apache.ode.bpel.iapi.Scheduler$JobProcessorException: java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}Abc:default
        at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:425)
        at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:377)
        at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:386)
        at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:380)
        at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:208)
        at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:379)
        at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:376)
        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)
Caused by: java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}ABC:default
        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:840)
        at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:206)
        at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:211)
        at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:384)
        at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:415)
        ... 11 more
Caused by: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}ABC:default
        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:759)
        at org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:100)
        at sun.reflect.GeneratedMethodAccessor96.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)
        ... 17 more 



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


[jira] Commented: (ODE-527) Failure recovery doesn't work while no serviceendpoint is registered

Posted by "Rafal Rusin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718005#action_12718005 ] 

Rafal Rusin commented on ODE-527:
---------------------------------

I inspected current ODE1X code regarding failure recovery and it looks like serializing proper jbi:end-point-reference is not needed, because it's reevaluated on each failureRecovery retry (whole invoke activity is reexecuted).
So this patch solves problem well. 

> Failure recovery doesn't work while no serviceendpoint is registered
> --------------------------------------------------------------------
>
>                 Key: ODE-527
>                 URL: https://issues.apache.org/jira/browse/ODE-527
>             Project: ODE
>          Issue Type: Bug
>          Components: JBI Integration
>    Affects Versions: 1.3.2
>         Environment: Servicemix 3.3
>            Reporter: Rafal Rusin
>             Fix For: 1.3.3
>
>         Attachments: failurerecovery.diff
>
>
> Given a process, which INVOKEs some unregistered service endpoint, I had an exception, which was occurring endlessly not regarding any activityRecovery settings, such as faultOnFailure=true. 
> 12:10:01,683 | ERROR | pool-4-thread-1 | SimpleScheduler          | duler.simple.SimpleScheduler$4  410 | Error while executing transaction
> org.apache.ode.bpel.iapi.Scheduler$JobProcessorException: java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}Abc:default
>         at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:425)
>         at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:377)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:386)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:380)
>         at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:208)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:379)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:376)
>         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)
> Caused by: java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}ABC:default
>         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:840)
>         at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:206)
>         at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:211)
>         at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:384)
>         at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:415)
>         ... 11 more
> Caused by: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}ABC:default
>         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:759)
>         at org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:100)
>         at sun.reflect.GeneratedMethodAccessor96.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)
>         ... 17 more 

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


[jira] Commented: (ODE-527) Failure recovery doesn't work while no serviceendpoint is registered

Posted by "Rafal Rusin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676416#action_12676416 ] 

Rafal Rusin commented on ODE-527:
---------------------------------

Right, that's a good point with later availability of endpoint. I'll correct this patch.

> Failure recovery doesn't work while no serviceendpoint is registered
> --------------------------------------------------------------------
>
>                 Key: ODE-527
>                 URL: https://issues.apache.org/jira/browse/ODE-527
>             Project: ODE
>          Issue Type: Bug
>          Components: JBI Integration
>    Affects Versions: 1.3
>         Environment: Servicemix 3.3
>            Reporter: Rafal Rusin
>             Fix For: 1.3
>
>         Attachments: failurerecovery.diff
>
>
> Given a process, which INVOKEs some unregistered service endpoint, I had an exception, which was occurring endlessly not regarding any activityRecovery settings, such as faultOnFailure=true. 
> 12:10:01,683 | ERROR | pool-4-thread-1 | SimpleScheduler          | duler.simple.SimpleScheduler$4  410 | Error while executing transaction
> org.apache.ode.bpel.iapi.Scheduler$JobProcessorException: java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}Abc:default
>         at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:425)
>         at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:377)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:386)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:380)
>         at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:208)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:379)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:376)
>         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)
> Caused by: java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}ABC:default
>         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:840)
>         at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:206)
>         at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:211)
>         at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:384)
>         at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:415)
>         ... 11 more
> Caused by: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}ABC:default
>         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:759)
>         at org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:100)
>         at sun.reflect.GeneratedMethodAccessor96.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)
>         ... 17 more 

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


[jira] Updated: (ODE-527) Failure recovery doesn't work while no serviceendpoint is registered

Posted by "Rafal Rusin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafal Rusin updated ODE-527:
----------------------------

    Attachment: failurerecovery.diff

I did a patch, which solves this problem. 

> Failure recovery doesn't work while no serviceendpoint is registered
> --------------------------------------------------------------------
>
>                 Key: ODE-527
>                 URL: https://issues.apache.org/jira/browse/ODE-527
>             Project: ODE
>          Issue Type: Bug
>          Components: JBI Integration
>    Affects Versions: 1.3
>         Environment: Servicemix 3.3
>            Reporter: Rafal Rusin
>             Fix For: 1.3
>
>         Attachments: failurerecovery.diff
>
>
> Given a process, which INVOKEs some unregistered service endpoint, I had an exception, which was occurring endlessly not regarding any activityRecovery settings, such as faultOnFailure=true. 
> 12:10:01,683 | ERROR | pool-4-thread-1 | SimpleScheduler          | duler.simple.SimpleScheduler$4  410 | Error while executing transaction
> org.apache.ode.bpel.iapi.Scheduler$JobProcessorException: java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}Abc:default
>         at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:425)
>         at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:377)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:386)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:380)
>         at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:208)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:379)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:376)
>         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)
> Caused by: java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}ABC:default
>         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:840)
>         at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:206)
>         at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:211)
>         at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:384)
>         at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:415)
>         ... 11 more
> Caused by: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}ABC:default
>         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:759)
>         at org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:100)
>         at sun.reflect.GeneratedMethodAccessor96.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)
>         ... 17 more 

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


[jira] Commented: (ODE-527) Failure recovery doesn't work while no serviceendpoint is registered

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676411#action_12676411 ] 

Alex Boisvert commented on ODE-527:
-----------------------------------

Ok, I understand better the intent... however the current patch is not the most appropriate solution because it effectively loses the EPR information, so if the EPR is valid but not currently resolvable, we lose the information and the MEX becomes non-recoverable.

I agree that we need a safe JbiEndpointReference.toXML() method... I just think that if there's a failure, the EPR should be serialized to XML such that there is no loss of information and such that it can be resolved at a later time should the endpoint become available again.

I suggest using the standard JBI internal endpoint reference XML schema (section 5.5.4.1 of the JBI spec):

<jbi:end-point-reference service-name="qname" end-point-name="text"/>

By the way, I just spotted an issue with the current code:

    DocumentFragment fragment = getServiceEndpoint().getAsReference(_type);

The argument to getAsReference() should be null, not _type.   The method expects an operation name whereas _type is an EPR type.

> Failure recovery doesn't work while no serviceendpoint is registered
> --------------------------------------------------------------------
>
>                 Key: ODE-527
>                 URL: https://issues.apache.org/jira/browse/ODE-527
>             Project: ODE
>          Issue Type: Bug
>          Components: JBI Integration
>    Affects Versions: 1.3
>         Environment: Servicemix 3.3
>            Reporter: Rafal Rusin
>             Fix For: 1.3
>
>         Attachments: failurerecovery.diff
>
>
> Given a process, which INVOKEs some unregistered service endpoint, I had an exception, which was occurring endlessly not regarding any activityRecovery settings, such as faultOnFailure=true. 
> 12:10:01,683 | ERROR | pool-4-thread-1 | SimpleScheduler          | duler.simple.SimpleScheduler$4  410 | Error while executing transaction
> org.apache.ode.bpel.iapi.Scheduler$JobProcessorException: java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}Abc:default
>         at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:425)
>         at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:377)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:386)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:380)
>         at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:208)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:379)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:376)
>         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)
> Caused by: java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}ABC:default
>         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:840)
>         at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:206)
>         at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:211)
>         at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:384)
>         at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:415)
>         ... 11 more
> Caused by: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}ABC:default
>         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:759)
>         at org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:100)
>         at sun.reflect.GeneratedMethodAccessor96.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)
>         ... 17 more 

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


[jira] Commented: (ODE-527) Failure recovery doesn't work while no serviceendpoint is registered

Posted by "Rafal Rusin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676390#action_12676390 ] 

Rafal Rusin commented on ODE-527:
---------------------------------

Sorry for not beeing clear enough. 

Masking exception is done just for not causing JobProcessorException during building endpoint reference description in engine. It's used only to build proper mex to store in DB, which is later processed in IL. The above stacktrace refers to JbiEndpointReference.getServiceEndpoint, but this is still in engine's job - bpel evaluation. 
After applying this patch, later processing in engine does create a mex with an empty service description. The mex is then processed in IL (it's another job) and this leads to mex.replyWithFailure, because an empty serviceref destination doesn't exist. The IL (jbi) replyWithFailure is implemented correctly Then engine receives this failure (in yet another job) and processes in a way it's specified in activityRecovery elements in bpel. 

After applying this patch and running a bpel containing INVOKE to a non existing jbi endpoint with default activityRecovery settings, we get failure's count = 1 in management API and an ERROR in logs. This is what's expected. So I think masking the exception in this case is correct. 


> Failure recovery doesn't work while no serviceendpoint is registered
> --------------------------------------------------------------------
>
>                 Key: ODE-527
>                 URL: https://issues.apache.org/jira/browse/ODE-527
>             Project: ODE
>          Issue Type: Bug
>          Components: JBI Integration
>    Affects Versions: 1.3
>         Environment: Servicemix 3.3
>            Reporter: Rafal Rusin
>             Fix For: 1.3
>
>         Attachments: failurerecovery.diff
>
>
> Given a process, which INVOKEs some unregistered service endpoint, I had an exception, which was occurring endlessly not regarding any activityRecovery settings, such as faultOnFailure=true. 
> 12:10:01,683 | ERROR | pool-4-thread-1 | SimpleScheduler          | duler.simple.SimpleScheduler$4  410 | Error while executing transaction
> org.apache.ode.bpel.iapi.Scheduler$JobProcessorException: java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}Abc:default
>         at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:425)
>         at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:377)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:386)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:380)
>         at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:208)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:379)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:376)
>         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)
> Caused by: java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}ABC:default
>         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:840)
>         at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:206)
>         at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:211)
>         at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:384)
>         at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:415)
>         ... 11 more
> Caused by: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}ABC:default
>         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:759)
>         at org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:100)
>         at sun.reflect.GeneratedMethodAccessor96.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)
>         ... 17 more 

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


[jira] Assigned: (ODE-527) Failure recovery doesn't work while no serviceendpoint is registered

Posted by "Rafal Rusin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafal Rusin reassigned ODE-527:
-------------------------------

    Assignee: Rafal Rusin

> Failure recovery doesn't work while no serviceendpoint is registered
> --------------------------------------------------------------------
>
>                 Key: ODE-527
>                 URL: https://issues.apache.org/jira/browse/ODE-527
>             Project: ODE
>          Issue Type: Bug
>          Components: JBI Integration
>    Affects Versions: 1.3.2
>         Environment: Servicemix 3.3
>            Reporter: Rafal Rusin
>            Assignee: Rafal Rusin
>             Fix For: 1.3.4
>
>         Attachments: failurerecovery.diff
>
>
> Given a process, which INVOKEs some unregistered service endpoint, I had an exception, which was occurring endlessly not regarding any activityRecovery settings, such as faultOnFailure=true. 
> 12:10:01,683 | ERROR | pool-4-thread-1 | SimpleScheduler          | duler.simple.SimpleScheduler$4  410 | Error while executing transaction
> org.apache.ode.bpel.iapi.Scheduler$JobProcessorException: java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}Abc:default
>         at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:425)
>         at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:377)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:386)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:380)
>         at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:208)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:379)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:376)
>         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)
> Caused by: java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}ABC:default
>         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:840)
>         at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:206)
>         at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:211)
>         at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:384)
>         at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:415)
>         ... 11 more
> Caused by: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}ABC:default
>         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:759)
>         at org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:100)
>         at sun.reflect.GeneratedMethodAccessor96.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)
>         ... 17 more 

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


[jira] Updated: (ODE-527) Failure recovery doesn't work while no serviceendpoint is registered

Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexis Midon updated ODE-527:
-----------------------------

    Fix Version/s:     (was: 1.3.1)
                   1.3.2

> Failure recovery doesn't work while no serviceendpoint is registered
> --------------------------------------------------------------------
>
>                 Key: ODE-527
>                 URL: https://issues.apache.org/jira/browse/ODE-527
>             Project: ODE
>          Issue Type: Bug
>          Components: JBI Integration
>    Affects Versions: 1.3.1
>         Environment: Servicemix 3.3
>            Reporter: Rafal Rusin
>             Fix For: 1.3.2
>
>         Attachments: failurerecovery.diff
>
>
> Given a process, which INVOKEs some unregistered service endpoint, I had an exception, which was occurring endlessly not regarding any activityRecovery settings, such as faultOnFailure=true. 
> 12:10:01,683 | ERROR | pool-4-thread-1 | SimpleScheduler          | duler.simple.SimpleScheduler$4  410 | Error while executing transaction
> org.apache.ode.bpel.iapi.Scheduler$JobProcessorException: java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}Abc:default
>         at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:425)
>         at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:377)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:386)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:380)
>         at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:208)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:379)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:376)
>         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)
> Caused by: java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}ABC:default
>         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:840)
>         at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:206)
>         at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:211)
>         at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:384)
>         at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:415)
>         ... 11 more
> Caused by: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}ABC:default
>         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:759)
>         at org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:100)
>         at sun.reflect.GeneratedMethodAccessor96.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)
>         ... 17 more 

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


[jira] Updated: (ODE-527) Failure recovery doesn't work while no serviceendpoint is registered

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert updated ODE-527:
------------------------------

    Fix Version/s:     (was: 1.3.3)
                   1.3.4

> Failure recovery doesn't work while no serviceendpoint is registered
> --------------------------------------------------------------------
>
>                 Key: ODE-527
>                 URL: https://issues.apache.org/jira/browse/ODE-527
>             Project: ODE
>          Issue Type: Bug
>          Components: JBI Integration
>    Affects Versions: 1.3.2
>         Environment: Servicemix 3.3
>            Reporter: Rafal Rusin
>             Fix For: 1.3.4
>
>         Attachments: failurerecovery.diff
>
>
> Given a process, which INVOKEs some unregistered service endpoint, I had an exception, which was occurring endlessly not regarding any activityRecovery settings, such as faultOnFailure=true. 
> 12:10:01,683 | ERROR | pool-4-thread-1 | SimpleScheduler          | duler.simple.SimpleScheduler$4  410 | Error while executing transaction
> org.apache.ode.bpel.iapi.Scheduler$JobProcessorException: java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}Abc:default
>         at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:425)
>         at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:377)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:386)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:380)
>         at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:208)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:379)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:376)
>         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)
> Caused by: java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}ABC:default
>         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:840)
>         at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:206)
>         at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:211)
>         at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:384)
>         at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:415)
>         ... 11 more
> Caused by: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}ABC:default
>         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:759)
>         at org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:100)
>         at sun.reflect.GeneratedMethodAccessor96.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)
>         ... 17 more 

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


[jira] Commented: (ODE-527) Failure recovery doesn't work while no serviceendpoint is registered

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676331#action_12676331 ] 

Alex Boisvert commented on ODE-527:
-----------------------------------

I don't think the patch is right.    Shouldn't the IL return a failure back to the engine so that it can decide what to do on failure?   Masking the exception seems like a bad idea.

> Failure recovery doesn't work while no serviceendpoint is registered
> --------------------------------------------------------------------
>
>                 Key: ODE-527
>                 URL: https://issues.apache.org/jira/browse/ODE-527
>             Project: ODE
>          Issue Type: Bug
>          Components: JBI Integration
>    Affects Versions: 1.3
>         Environment: Servicemix 3.3
>            Reporter: Rafal Rusin
>             Fix For: 1.3
>
>         Attachments: failurerecovery.diff
>
>
> Given a process, which INVOKEs some unregistered service endpoint, I had an exception, which was occurring endlessly not regarding any activityRecovery settings, such as faultOnFailure=true. 
> 12:10:01,683 | ERROR | pool-4-thread-1 | SimpleScheduler          | duler.simple.SimpleScheduler$4  410 | Error while executing transaction
> org.apache.ode.bpel.iapi.Scheduler$JobProcessorException: java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}Abc:default
>         at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:425)
>         at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:377)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:386)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:380)
>         at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:208)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:379)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:376)
>         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)
> Caused by: java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}ABC:default
>         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:840)
>         at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:206)
>         at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:211)
>         at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:384)
>         at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:415)
>         ... 11 more
> Caused by: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}ABC:default
>         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:759)
>         at org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:100)
>         at sun.reflect.GeneratedMethodAccessor96.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)
>         ... 17 more 

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


[jira] Commented: (ODE-527) Failure recovery doesn't work while no serviceendpoint is registered

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832083#action_12832083 ] 

Hudson commented on ODE-527:
----------------------------

Integrated in ODE-1.x #46 (See [http://hudson.zones.apache.org/hudson/job/ODE-1.x/46/])
    : Failure recovery doesn't work while no serviceendpoint is registered (jbi)


> Failure recovery doesn't work while no serviceendpoint is registered
> --------------------------------------------------------------------
>
>                 Key: ODE-527
>                 URL: https://issues.apache.org/jira/browse/ODE-527
>             Project: ODE
>          Issue Type: Bug
>          Components: JBI Integration
>    Affects Versions: 1.3.2
>         Environment: Servicemix 3.3
>            Reporter: Rafal Rusin
>            Assignee: Rafal Rusin
>             Fix For: 1.3.4
>
>         Attachments: failurerecovery.diff
>
>
> Given a process, which INVOKEs some unregistered service endpoint, I had an exception, which was occurring endlessly not regarding any activityRecovery settings, such as faultOnFailure=true. 
> 12:10:01,683 | ERROR | pool-4-thread-1 | SimpleScheduler          | duler.simple.SimpleScheduler$4  410 | Error while executing transaction
> org.apache.ode.bpel.iapi.Scheduler$JobProcessorException: java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}Abc:default
>         at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:425)
>         at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:377)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:386)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:380)
>         at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:208)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:379)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:376)
>         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)
> Caused by: java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}ABC:default
>         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:840)
>         at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:206)
>         at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:211)
>         at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:384)
>         at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:415)
>         ... 11 more
> Caused by: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}ABC:default
>         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:759)
>         at org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:100)
>         at sun.reflect.GeneratedMethodAccessor96.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)
>         ... 17 more 

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


[jira] Resolved: (ODE-527) Failure recovery doesn't work while no serviceendpoint is registered

Posted by "Rafal Rusin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafal Rusin resolved ODE-527.
-----------------------------

    Resolution: Fixed

> Failure recovery doesn't work while no serviceendpoint is registered
> --------------------------------------------------------------------
>
>                 Key: ODE-527
>                 URL: https://issues.apache.org/jira/browse/ODE-527
>             Project: ODE
>          Issue Type: Bug
>          Components: JBI Integration
>    Affects Versions: 1.3.2
>         Environment: Servicemix 3.3
>            Reporter: Rafal Rusin
>            Assignee: Rafal Rusin
>             Fix For: 1.3.4
>
>         Attachments: failurerecovery.diff
>
>
> Given a process, which INVOKEs some unregistered service endpoint, I had an exception, which was occurring endlessly not regarding any activityRecovery settings, such as faultOnFailure=true. 
> 12:10:01,683 | ERROR | pool-4-thread-1 | SimpleScheduler          | duler.simple.SimpleScheduler$4  410 | Error while executing transaction
> org.apache.ode.bpel.iapi.Scheduler$JobProcessorException: java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}Abc:default
>         at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:425)
>         at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:377)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:386)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:380)
>         at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:208)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:379)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:376)
>         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)
> Caused by: java.lang.RuntimeException: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}ABC:default
>         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:840)
>         at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:206)
>         at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:211)
>         at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:384)
>         at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:415)
>         ... 11 more
> Caused by: org.apache.ode.bpel.iapi.ContextException: Unknown endpoint: {ABC}ABC:default
>         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:759)
>         at org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:100)
>         at sun.reflect.GeneratedMethodAccessor96.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)
>         ... 17 more 

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