-
1. Re: JBPM6-Per process instance strategy in websphere application server 7
swiderski.maciej May 22, 2014 3:18 AM (in response to prasadvp)fix of all I would not use bitronix on WebSphere as it provides complete implementation of transaction manager and then you should rely on that instead of bitronix.
The issue seems to be somehow related to hibernate not really translating the JPQL query properly but I don't think it should not be container specific. What hibernate version do you use?
HTH
-
2. Re: JBPM6-Per process instance strategy in websphere application server 7
prasadvp May 23, 2014 1:51 PM (in response to swiderski.maciej)Thank you for the reply.
To answer your question,
1. We use hibernate-core-4.2.0.SP1-redhat-1.jar that comes as a part of JBPM installable.Regarding transaction manager,
2. Please let me know what should be the transaction manager to be used. Should we use Container Managed transaction manager as explained in the user guide?
Also, please suggest on this below:
3. we have only one BPMN process in our application. Is it advisable to use Singleton strategy over per process instance strategy?
-
3. Re: JBPM6-Per process instance strategy in websphere application server 7
swiderski.maciej May 30, 2014 2:43 AM (in response to prasadvp)Venkata Prasad wrote:
Regarding transaction manager,
2. Please let me know what should be the transaction manager to be used. Should we use Container Managed transaction manager as explained in the user guide?
take a look here for example of persistence.xml used for WebSphere
Venkata Prasad wrote:
Also, please suggest on this below:
3. we have only one BPMN process in our application. Is it advisable to use Singleton strategy over per process instance strategy?
it all depends what your process does but usually it's good idea to start with singleton and once you evaluate it decide if it's good enough or not for your case.
HTH
-
4. Re: JBPM6-Per process instance strategy in websphere application server 7
prasadvp Jun 2, 2014 9:35 AM (in response to swiderski.maciej)Thank you Maciej.
Can you help with me the first question - why Hibernate translating the JPQL incorrectly when deployed in WAS.
Do i need to check anything else?
-
5. Re: JBPM6-Per process instance strategy in websphere application server 7
swiderski.maciej Jun 3, 2014 1:21 AM (in response to prasadvp)Since this is WebSphere 7 the cause of the issue might be JPA version supported by WebSphere. By default WAS7 supports only JPA 1 while jbpm 6 users JPA 2. So you would need to have feature pack that brings in JPA 2 capabilities. Other than that I don't see any reason why same hibernate version would work differently on different containers.
HTH