[EJB3] - JBoss 5.1 StrictMaxPool ignored after exception
by Paweł Stokowiec
Paweł Stokowiec [https://community.jboss.org/people/p100] created the discussion
"JBoss 5.1 StrictMaxPool ignored after exception"
To view the discussion, visit: https://community.jboss.org/message/730304#730304
--------------------------------------------------------------
Hi,
I'm using annotation
{code:java} @Pool(value = PoolDefaults.POOL_IMPLEMENTATION_STRICTMAX, maxSize = 1, timeout = 10000) {code}
to implelement a singleton bean. It is working fine - concurrent calls to bean are blocked. But if exception occurs in bean method, the instance is discarded and new created instances seems to ignore max pool size setting. I can observer parallel execution of bean methods.
It can be important that this singleton bean is called from other bean that is called with AsyncUtils.mixinAsync, so:
Bean A calls bean B with AsyncUtils.mixinAsync
Bean B call singleton bean C
All components are stateless
It is critical part of my solution, do you have some advice how to workaround this error?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/730304#730304]
Start a new discussion in EJB3 at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 12 months
[JBoss Web Services] - Switching between Apache CXF and JBossWS Native on JBoss AS 7.1
by Peter Fry
Peter Fry [https://community.jboss.org/people/peterfry] created the discussion
"Switching between Apache CXF and JBossWS Native on JBoss AS 7.1"
To view the discussion, visit: https://community.jboss.org/message/730197#730197
--------------------------------------------------------------
We are in the process of migrating an application from JBoss 5.0.1 to JBoss 7.1 Final.
We have a number of JAX-WS web services. Previously, since we were using JBoss 5.0.1 'as is', we were using the JBoss WS native stack.
After migrating to JBoss 7.1 Final 'as is' we obviously are now using the JBoss WS Apache CXF stack.
This is working apart from the way that unmodelled faults are handled i.e. services that throw service specific runtime exceptions (I have posted separately about this).
Looking at the modules directory I can see both the native and apache cxf libraries so:
Is it possible to switch between the Apache CXF stack and the JBoss WS Native stacks on JBoss AS 7.1?
Currently I am using JBoss AS 7.1 as shipped.
OR do I have to do some separate installation?
Thanks,
Peter.
p.s. Should I be posting this question on the JBoss AS discussion forum or this forum?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/730197#730197]
Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 12 months
[jBPM] - Runtime engine: JBPM Console or Drools Server?
by J W
J W [https://community.jboss.org/people/jmwest532] created the discussion
"Runtime engine: JBPM Console or Drools Server?"
To view the discussion, visit: https://community.jboss.org/message/729513#729513
--------------------------------------------------------------
With all the videos around that show the nice integration of the JBPM Console with Guvnor, and its whole set of features, one would have thought that JBPM Console is the ubiquitous remote runtime engine for rules and business process. We have found that out the box the JBPM Console among other limitations, doesn’t use or leverage Spring, Camel, etc.
One would have expected JBPM Console to be built on top of Drools Server (which is Spring and Camel ready), and Drools Server to be a production ready runtime engine. But it turns out JBPM Console in an old project not related to Drools Server and out of the box the Drools Server doesn’t seem to deal with business process persistence, dynamic creation of statefull ksession per request/user, etc.
Having dynamic creation of statefull ksession per request (i.e. per business process instance) is a must when you are using business processes that include Rule Tasks components since facts related to a particular request must be persisted to be used later in a long running business process. However, we have found JBPM Console uses and reuses the same SessionInfo record for different process instance, and Drools Server’s documentation only talks about statically defined ksessions inside the Spring configuration file.
Is there a production ready runtime engine able to run long running/persistent business processes that include Rules Tasks components (these also require rules-facts persistence)?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/729513#729513]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 12 months