Title: Setting up transaction manager for Red Hat JBoss Web Server 2.0 (Tomcat 7)
Describe the issue:
The following error is experiencied when using rest call (i.e.: http://localhost:8080/business-central/rest/task/99/complete) to complete a human task BRMS 6.0.2 running on Tomcat7:
WARN Exception thrown when processing request [/task/1/complete]; responding with status 409
org.kie.remote.services.rest.exception.RestOperationException: User '[UserImpl:'user1']' was unable to execution operation 'Complete' on task id 1 due to a no 'current status' match...
The same test case works if BRMS 6 is running on EAP 6. The problem is gone if the following setting is used in setenv.sh:
This setting needs to be included in step 8 in documentation. It is already described in the existing README.txt file in business-central.war (jboss-bpms-6.0.2.GA-redhat-5-deployable-generic/jboss-bpms-manager/business-central.war/README.txt).
Suggestions for improvement:
Add setting in step 8: -Djbpm.tsr.jndi.lookup=java:comp/env/TransactionSynchronizationRegistry
@Marek - sure here it is .
I understand that Ivo added that note for the inclusion in the Installation Guide but I don't think it got picked up. If a product bug requires a change in documentation it is best to create a cloned bug with its component set to Documentation otherwise it is hard for us to track the work.
I have now created a separate bug for tracking this work .