You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Jon Coogan (JIRA)" <ji...@apache.org> on 2010/02/05 23:04:28 UTC

[jira] Created: (ODE-760) Ode throws an internal error when running processes that contain more than 2 Receive activities (with correlation)

Ode throws an internal error when running processes that contain more than 2 Receive activities (with correlation)
------------------------------------------------------------------------------------------------------------------

                 Key: ODE-760
                 URL: https://issues.apache.org/jira/browse/ODE-760
             Project: ODE
          Issue Type: Bug
          Components: BPEL Runtime
    Affects Versions: 1.3.3
         Environment: Ode 1.3.3 WAR distribution (using embedded Derby database)
            Reporter: Jon Coogan


If you have more than 2 Receive activities (with correlation) Ode will throw an internal
error on the 3rd one. The first 2 work.
See the attached project. I created a process that you can call 4 times to add 4 different numbers
together. Each time you call it you pass in an int value and a String that is used to identify the
instance. Each time you call it, the process will return the running sum of the previous inputs.
After the 4th input the process will complete. It works the 1st 2 times and hangs on the 3rd run.
The server console says, "INTERNAL ERROR: No ENTRY for RESPONSE CHANNEL 20" and prints this
stacktrace:

java.lang.IllegalArgumentException: INTERNAL ERROR: No ENTRY for RESPONSE CHANNEL 20
at
org.apache.ode.bpel.engine.OutstandingRequestManager.associate(OutstandingRequestManager.java:145)
at
org.apache.ode.bpel.engine.BpelRuntimeContextImpl.inputMsgMatch(BpelRuntimeContextImpl.java:934)
at
org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeInstance(PartnerLinkMyRoleImpl.java:220)
at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:241)
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: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.java:908)
at java.lang.Thread.run(Thread.java:619)

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


[jira] Assigned: (ODE-760) Ode throws an internal error when running processes that contain more than 2 Receive activities (with correlation)

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

Rafal Rusin reassigned ODE-760:
-------------------------------

    Assignee: Rafal Rusin

> Ode throws an internal error when running processes that contain more than 2 Receive activities (with correlation)
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: ODE-760
>                 URL: https://issues.apache.org/jira/browse/ODE-760
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Runtime
>    Affects Versions: 1.3.3
>         Environment: Ode 1.3.3 WAR distribution (using embedded Derby database)
>            Reporter: Jon Coogan
>            Assignee: Rafal Rusin
>         Attachments: AddFourNumbers.zip
>
>
> If you have more than 2 Receive activities (with correlation) Ode will throw an internal
> error on the 3rd one. The first 2 work.
> See the attached project. I created a process that you can call 4 times to add 4 different numbers
> together. Each time you call it you pass in an int value and a String that is used to identify the
> instance. Each time you call it, the process will return the running sum of the previous inputs.
> After the 4th input the process will complete. It works the 1st 2 times and hangs on the 3rd run.
> The server console says, "INTERNAL ERROR: No ENTRY for RESPONSE CHANNEL 20" and prints this
> stacktrace:
> java.lang.IllegalArgumentException: INTERNAL ERROR: No ENTRY for RESPONSE CHANNEL 20
> at
> org.apache.ode.bpel.engine.OutstandingRequestManager.associate(OutstandingRequestManager.java:145)
> at
> org.apache.ode.bpel.engine.BpelRuntimeContextImpl.inputMsgMatch(BpelRuntimeContextImpl.java:934)
> at
> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeInstance(PartnerLinkMyRoleImpl.java:220)
> at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:241)
> 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: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.java:908)
> at java.lang.Thread.run(Thread.java:619)

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


[jira] Resolved: (ODE-760) Ode throws an internal error when running processes that contain more than 2 Receive activities (with correlation)

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

Rafal Rusin resolved ODE-760.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.4

It looks like this problem doesn't show up in latest snapshot version http://hudson.zones.apache.org/hudson/job/ODE-1.x/.
Please try it out. 



> Ode throws an internal error when running processes that contain more than 2 Receive activities (with correlation)
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: ODE-760
>                 URL: https://issues.apache.org/jira/browse/ODE-760
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Runtime
>    Affects Versions: 1.3.3
>         Environment: Ode 1.3.3 WAR distribution (using embedded Derby database)
>            Reporter: Jon Coogan
>            Assignee: Rafal Rusin
>             Fix For: 1.3.4
>
>         Attachments: AddFourNumbers.zip
>
>
> If you have more than 2 Receive activities (with correlation) Ode will throw an internal
> error on the 3rd one. The first 2 work.
> See the attached project. I created a process that you can call 4 times to add 4 different numbers
> together. Each time you call it you pass in an int value and a String that is used to identify the
> instance. Each time you call it, the process will return the running sum of the previous inputs.
> After the 4th input the process will complete. It works the 1st 2 times and hangs on the 3rd run.
> The server console says, "INTERNAL ERROR: No ENTRY for RESPONSE CHANNEL 20" and prints this
> stacktrace:
> java.lang.IllegalArgumentException: INTERNAL ERROR: No ENTRY for RESPONSE CHANNEL 20
> at
> org.apache.ode.bpel.engine.OutstandingRequestManager.associate(OutstandingRequestManager.java:145)
> at
> org.apache.ode.bpel.engine.BpelRuntimeContextImpl.inputMsgMatch(BpelRuntimeContextImpl.java:934)
> at
> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeInstance(PartnerLinkMyRoleImpl.java:220)
> at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:241)
> 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: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.java:908)
> at java.lang.Thread.run(Thread.java:619)

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


[jira] Updated: (ODE-760) Ode throws an internal error when running processes that contain more than 2 Receive activities (with correlation)

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

Jon Coogan updated ODE-760:
---------------------------

    Attachment: AddFourNumbers.zip

Test project for reproducing the failure.

> Ode throws an internal error when running processes that contain more than 2 Receive activities (with correlation)
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: ODE-760
>                 URL: https://issues.apache.org/jira/browse/ODE-760
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Runtime
>    Affects Versions: 1.3.3
>         Environment: Ode 1.3.3 WAR distribution (using embedded Derby database)
>            Reporter: Jon Coogan
>         Attachments: AddFourNumbers.zip
>
>
> If you have more than 2 Receive activities (with correlation) Ode will throw an internal
> error on the 3rd one. The first 2 work.
> See the attached project. I created a process that you can call 4 times to add 4 different numbers
> together. Each time you call it you pass in an int value and a String that is used to identify the
> instance. Each time you call it, the process will return the running sum of the previous inputs.
> After the 4th input the process will complete. It works the 1st 2 times and hangs on the 3rd run.
> The server console says, "INTERNAL ERROR: No ENTRY for RESPONSE CHANNEL 20" and prints this
> stacktrace:
> java.lang.IllegalArgumentException: INTERNAL ERROR: No ENTRY for RESPONSE CHANNEL 20
> at
> org.apache.ode.bpel.engine.OutstandingRequestManager.associate(OutstandingRequestManager.java:145)
> at
> org.apache.ode.bpel.engine.BpelRuntimeContextImpl.inputMsgMatch(BpelRuntimeContextImpl.java:934)
> at
> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeInstance(PartnerLinkMyRoleImpl.java:220)
> at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:241)
> 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: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.java:908)
> at java.lang.Thread.run(Thread.java:619)

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


[jira] Commented: (ODE-760) Ode throws an internal error when running processes that contain more than 2 Receive activities (with correlation)

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

Jon Coogan commented on ODE-760:
--------------------------------

I finally got around to trying this with a current 1.X build.  I can confirm that the problem does not show up.  Thank you.

> Ode throws an internal error when running processes that contain more than 2 Receive activities (with correlation)
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: ODE-760
>                 URL: https://issues.apache.org/jira/browse/ODE-760
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Runtime
>    Affects Versions: 1.3.3
>         Environment: Ode 1.3.3 WAR distribution (using embedded Derby database)
>            Reporter: Jon Coogan
>            Assignee: Rafal Rusin
>             Fix For: 1.3.4
>
>         Attachments: AddFourNumbers.zip
>
>
> If you have more than 2 Receive activities (with correlation) Ode will throw an internal
> error on the 3rd one. The first 2 work.
> See the attached project. I created a process that you can call 4 times to add 4 different numbers
> together. Each time you call it you pass in an int value and a String that is used to identify the
> instance. Each time you call it, the process will return the running sum of the previous inputs.
> After the 4th input the process will complete. It works the 1st 2 times and hangs on the 3rd run.
> The server console says, "INTERNAL ERROR: No ENTRY for RESPONSE CHANNEL 20" and prints this
> stacktrace:
> java.lang.IllegalArgumentException: INTERNAL ERROR: No ENTRY for RESPONSE CHANNEL 20
> at
> org.apache.ode.bpel.engine.OutstandingRequestManager.associate(OutstandingRequestManager.java:145)
> at
> org.apache.ode.bpel.engine.BpelRuntimeContextImpl.inputMsgMatch(BpelRuntimeContextImpl.java:934)
> at
> org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeInstance(PartnerLinkMyRoleImpl.java:220)
> at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:241)
> 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: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.java:908)
> at java.lang.Thread.run(Thread.java:619)

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