[
https://issues.apache.org/jira/browse/ODE-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafal Rusin closed ODE-360.
---------------------------
Resolution: Duplicate
duplicate for ODE-303
> OptimisticLockException and hang during concurrent messages processing
> ----------------------------------------------------------------------
>
> Key: ODE-360
> URL: https://issues.apache.org/jira/browse/ODE-360
> Project: ODE
> Issue Type: Bug
> Components: JBI Integration
> Affects Versions: 1.2
> Environment: ServiceMix 3.2.1 + Jencks pool + Oracle Driver
> Reporter: Rafal Rusin
>
> I had a problem while I was using processes with parallel communication
> (<flow/> construct and picks inside).
> A following patch (joining bpel worker pool and JBI Receiver pool) + setting
> in ode-jbi.properties ode-jbi.threads.pool.size=1 resolves this problem. This
> is a workaround, not final fix.
> Index: jbi/src/main/java/org/apache/ode/jbi/Receiver.java
> ===================================================================
> --- jbi/src/main/java/org/apache/ode/jbi/Receiver.java
> (.../upstream/APACHE_ODE_1.2/jbi/src/main/java/org/apache/ode/jbi/Receiver.java)
> (revision 42994)
> +++ jbi/src/main/java/org/apache/ode/jbi/Receiver.java
> (.../p4esb-1.2/jbi/src/main/java/org/apache/ode/jbi/Receiver.java)
> (revision 44173)
> @@ -69,7 +69,8 @@
> public Receiver(OdeContext context) {
> _odeContext = context;
> _thread = new Thread(this);
> - _executorService = Executors.newFixedThreadPool(THREADPOOL_SIZE);
> + _executorService = context._executorService;
> + //_executorService = Executors.newFixedThreadPool(THREADPOOL_SIZE);
> }
> /**
> Regards
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.