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 2008/07/29 13:38:36 UTC

[jira] Commented: (ODE-305) Unable to use Jencks managed connection factory in ServiceMix 3.2.1.

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

Rafal Rusin commented on ODE-305:
---------------------------------

I finally configured Jencks connection factory for ODE correctly for mysql. Here's what I did:
-removed JCA Flow from servicemix.xml, because I had an exception from ODE during registering management api. I think it now works with JMS Flow
-created a following connection manager in tx.xml (with transaction="local" meaning that transactions are bound to a single resource; with xa transactions it didn't work)
  <jencks:connectionManager
            id="connectionManagerLocal"
            containerManagedSecurity="false"
            transaction="local"
            transactionManager="#transactionManager"
            poolingSupport="#poolingSupport"
            connectionTracker="#connectionTracker" />


I tried to use this configuration for Oracle, but I had a hang during startup on Oracle JDBC Driver, with stack trace from TranQL. 
Surprisingly Oracle works with commons DBCP 1.3-SNAPSHOT and BasicManagedDataSource. However that configuration causes memory leaks.

So for ODE in ServiceMix 3.2.1, this configuration with MySQL, is the only one that works (but you can't use JCA Flow). 

Regards

> Unable to use Jencks managed connection factory in ServiceMix 3.2.1.
> --------------------------------------------------------------------
>
>                 Key: ODE-305
>                 URL: https://issues.apache.org/jira/browse/ODE-305
>             Project: ODE
>          Issue Type: Bug
>          Components: JBI Integration
>    Affects Versions: 1.2
>         Environment: All versions (1.1.1 & 1.2RC1 JBI & JBoss), EXTERNAL connection using dbcp connection pool
>            Reporter: Rafal Rusin
>
> I tried to run ODE with Oracle, but I experienced problems as below. Those problems don't happen on Derby EMBEDDED and MySQL INTERNAL connections. 
> My preocess is following:
> <receive listeningService cresteInstance="true"/>
> <invoke service1 with correlation c1 initiate="yes"/>
> <receive on service2 correlation c1 initiate="no"/>
> I run a test in a loop, which runs those processes in parallel. 
> Do you have any ideas about it?
> 2008-06-18 10:00:31,974 FATAL [org.apache.ode.bpel.engine.OutstandingRequestManager] INTERNAL ERROR: No ENTRY for RESPONSE CHANNEL 123
> 2008-06-18 10:00:31,974 ERROR [org.apache.ode.bpel.engine.BpelEngineImpl] Scheduled job failed; jobDetail={type=INVOKE_INTERNAL, mexid=hqejbhcnphr3d43350qaw8, pid={http://test.pl/test-1}
> java.lang.IllegalArgumentException: INTERNAL ERROR: No ENTRY for RESPONSE CHANNEL 123
> 	at org.apache.ode.bpel.engine.OutstandingRequestManager.associate(OutstandingRequestManager.java:145)
> 	at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.inputMsgMatch(BpelRuntimeContextImpl.java:872)
> 	at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeInstance(PartnerLinkMyRoleImpl.java:211)
> 	at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:198)
> 	at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:362)
> 	at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:328)
> 	at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
> 	at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:341)
> 	at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:340)
> 	at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:179)
> 	at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:339)
> 	at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:336)
> 	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)
> 2008-06-18 10:00:31,992 ERROR [org.apache.ode.scheduler.simple.SimpleScheduler] Error while executing transaction
> org.apache.ode.bpel.iapi.Scheduler$JobProcessorException: java.lang.IllegalArgumentException: INTERNAL ERROR: No ENTRY for RESPONSE CHANNEL 123
> 	at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:338)
> 	at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
> 	at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:341)
> 	at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:340)
> 	at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:179)
> 	at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:339)
> 	at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:336)
> 	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.IllegalArgumentException: INTERNAL ERROR: No ENTRY for RESPONSE CHANNEL 123
> 	at org.apache.ode.bpel.engine.OutstandingRequestManager.associate(OutstandingRequestManager.java:145)
> 	at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.inputMsgMatch(BpelRuntimeContextImpl.java:872)
> 	at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeInstance(PartnerLinkMyRoleImpl.java:211)
> 	at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:198)
> 	at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:362)
> 	at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:328)
> 	... 11 more

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