1 Reply Latest reply on Dec 20, 2012 12:59 PM by Laura delli Paoli

    unable to find a bound object at name 'java:comp/TransactionManager'

    tntzht tnt Newbie

      hi,

       

           I have config and run the jbpm-human-task-5.2.1.Final in j2se, and got the exception. can somebody encounter the same problom?

       

       

      here is the exceptions:

       

      2012-07-04 19:12:14.296 DEBUG [JtaTransactionManager:106] {main} No JTA TransactionManager found at fallback JNDI location [java:comp/TransactionManager]

      javax.naming.NameNotFoundException: unable to find a bound object at name 'java:comp/TransactionManager'

      at bitronix.tm.jndi.BitronixContext.lookup(BitronixContext.java:83)

      at javax.naming.InitialContext.lookup(Unknown Source)

      at org.drools.persistence.jta.JtaTransactionManager.findTransactionManager(JtaTransactionManager.java:101)

      at org.drools.persistence.jta.JtaTransactionManager.<init>(JtaTransactionManager.java:75)

      at org.jbpm.task.service.persistence.TaskJTATransactionManager.<init>(TaskJTATransactionManager.java:28)

      at org.jbpm.task.service.persistence.TaskSessionFactoryImpl.createTaskServiceSession(TaskSessionFactoryImpl.java:75)

      at org.jbpm.task.service.TaskService.createSession(TaskService.java:164)

      at org.jbpm.task.service.TaskService.initialize(TaskService.java:115)

      at org.jbpm.task.service.TaskService.initialize(TaskService.java:101)

      at org.jbpm.task.service.TaskService.<init>(TaskService.java:79)

      at com.eastcom.emergency.task.TaskManage.init(TaskManage.java:58)

      at com.eastcom.emergency.task.TaskManage.main(TaskManage.java:70)

      2012-07-04 19:12:14.296 DEBUG [BitronixContext:72] {main} looking up 'java:appserver/TransactionManager'

      2012-07-04 19:12:14.296 DEBUG [JtaTransactionManager:106] {main} No JTA TransactionManager found at fallback JNDI location [java:appserver/TransactionManager]

      javax.naming.NameNotFoundException: unable to find a bound object at name 'java:appserver/TransactionManager'

      at bitronix.tm.jndi.BitronixContext.lookup(BitronixContext.java:83)

      at javax.naming.InitialContext.lookup(Unknown Source)

      at org.drools.persistence.jta.JtaTransactionManager.findTransactionManager(JtaTransactionManager.java:101)

      at org.drools.persistence.jta.JtaTransactionManager.<init>(JtaTransactionManager.java:75)

      at org.jbpm.task.service.persistence.TaskJTATransactionManager.<init>(TaskJTATransactionManager.java:28)

      at org.jbpm.task.service.persistence.TaskSessionFactoryImpl.createTaskServiceSession(TaskSessionFactoryImpl.java:75)

      at org.jbpm.task.service.TaskService.createSession(TaskService.java:164)

      at org.jbpm.task.service.TaskService.initialize(TaskService.java:115)

      at org.jbpm.task.service.TaskService.initialize(TaskService.java:101)

      at org.jbpm.task.service.TaskService.<init>(TaskService.java:79)

      at com.eastcom.emergency.task.TaskManage.init(TaskManage.java:58)

      at com.eastcom.emergency.task.TaskManage.main(TaskManage.java:70)

      2012-07-04 19:12:14.296 DEBUG [BitronixContext:72] {main} looking up 'java:pm/TransactionManager'

      2012-07-04 19:12:14.296 DEBUG [JtaTransactionManager:106] {main} No JTA TransactionManager found at fallback JNDI location [java:pm/TransactionManager]

      javax.naming.NameNotFoundException: unable to find a bound object at name 'java:pm/TransactionManager'

      at bitronix.tm.jndi.BitronixContext.lookup(BitronixContext.java:83)

      at javax.naming.InitialContext.lookup(Unknown Source)

      at org.drools.persistence.jta.JtaTransactionManager.findTransactionManager(JtaTransactionManager.java:101)

      at org.drools.persistence.jta.JtaTransactionManager.<init>(JtaTransactionManager.java:75)

      at org.jbpm.task.service.persistence.TaskJTATransactionManager.<init>(TaskJTATransactionManager.java:28)

      at org.jbpm.task.service.persistence.TaskSessionFactoryImpl.createTaskServiceSession(TaskSessionFactoryImpl.java:75)

      at org.jbpm.task.service.TaskService.createSession(TaskService.java:164)

      at org.jbpm.task.service.TaskService.initialize(TaskService.java:115)

      at org.jbpm.task.service.TaskService.initialize(TaskService.java:101)

      at org.jbpm.task.service.TaskService.<init>(TaskService.java:79)

      at com.eastcom.emergency.task.TaskManage.init(TaskManage.java:58)

      at com.eastcom.emergency.task.TaskManage.main(TaskManage.java:70)

      2012-07-04 19:12:14.296 DEBUG [BitronixContext:72] {main} looking up 'java:/TransactionManager'

      2012-07-04 19:12:14.296 DEBUG [JtaTransactionManager:106] {main} No JTA TransactionManager found at fallback JNDI location [java:/TransactionManager]

      javax.naming.NameNotFoundException: unable to find a bound object at name 'java:/TransactionManager'

      at bitronix.tm.jndi.BitronixContext.lookup(BitronixContext.java:83)

      at javax.naming.InitialContext.lookup(Unknown Source)

      at org.drools.persistence.jta.JtaTransactionManager.findTransactionManager(JtaTransactionManager.java:101)

      at org.drools.persistence.jta.JtaTransactionManager.<init>(JtaTransactionManager.java:75)

      at org.jbpm.task.service.persistence.TaskJTATransactionManager.<init>(TaskJTATransactionManager.java:28)

      at org.jbpm.task.service.persistence.TaskSessionFactoryImpl.createTaskServiceSession(TaskSessionFactoryImpl.java:75)

      at org.jbpm.task.service.TaskService.createSession(TaskService.java:164)

      at org.jbpm.task.service.TaskService.initialize(TaskService.java:115)

      at org.jbpm.task.service.TaskService.initialize(TaskService.java:101)

      at org.jbpm.task.service.TaskService.<init>(TaskService.java:79)

      at com.eastcom.emergency.task.TaskManage.init(TaskManage.java:58)

      at com.eastcom.emergency.task.TaskManage.main(TaskManage.java:70)