Grigory Kalabin [https://community.jboss.org/people/gkalabin] created the 
discussion

"Re: Human Task Service transactions fail"

To view the discussion, visit: https://community.jboss.org/message/762872#762872

--------------------------------------------------------------
I had an experiment: before a process start and after it I looked up the 
UserTransaction:


        try {
            logger.info("found: " + new 
InitialContext().lookup("java:comp/UserTransaction"));
        } catch (NamingException e) {
            logger.info("not found", e);
        }
        // start process code
 
        try {
            logger.info("found: " + new 
InitialContext().lookup("java:comp/UserTransaction"));
        } catch (NamingException ex) {
            logger.info("not found", ex);
        }
 



The name java:comp/UserTransaction I took from 
org.drools.persistence.jta.JtaTransactionManager which falls with NPE.

It still falls and in my log: 

| 30974 | Thu Jan 01 12:39:35 MSK 1970 | INFO | found: 
org.jboss.tm.usertx.client.ServerVMClientUserTransaction@1033fb5 | 
com.example.my.jbpm.rest.ProcessManagementResources | http--127.0.0.1-8080-2 | 
 | Note [note=] |
| 31052 | Thu Jan 01 12:39:36 MSK 1970 | FINE | No UserTransaction found at 
JNDI location [java:comp/UserTransaction] | 
org.drools.persistence.jta.JtaTransactionManager | NioProcessor-2 | 
 | Note [note=] |
| 31159 | Thu Jan 01 12:39:37 MSK 1970 | INFO | found: 
org.jboss.tm.usertx.client.ServerVMClientUserTransaction@1033fb5 | 
com.example.my.jbpm.rest.ProcessManagementResources | http--127.0.0.1-8080-2 | 
 | Note [note=] |
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/762872#762872]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to