tntzht tnt [
https://community.jboss.org/people/zht] created the discussion
"unable to find a bound object at name 'java:comp/TransactionManager'"
To view the discussion, visit:
https://community.jboss.org/message/746047#746047
--------------------------------------------------------------
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)
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/746047#746047]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]