Avneesh Sisodia [https://community.jboss.org/people/avneesh] created the discussion
"unable to begin transaction manager for jbpm human task" To view the discussion, visit: https://community.jboss.org/message/761310#761310 -------------------------------------------------------------- Hi, When i am creating id of jta transaction manager in spring config file it is siccessfuly created. But I want to use "*setTransactionManager()*" it is not setting transaction manager. code in class: ApplicationContext ctx = AppContext.getApplicationContext(); TaskSessionSpringFactoryImpl springFactory = (TaskSessionSpringFactoryImpl) ctx.getBean("springTaskSessionFactory"); TransactionManager taskTx = new DroolsSpringTransactionManager(transactionManager); springFactory.setTransactionManager( taskTx); springFactory.initialize(); transactionManager passing into DroolsSpringTransactionManager is AbstractPlatformTransactionManager' object and having following values https://community.jboss.org/servlet/JiveServlet/showImage/2-761310-19564/transactionManager.png https://community.jboss.org/servlet/JiveServlet/downloadImage/2-761310-19564/450-352/transactionManager.png *DroolsSpringTransactionManager* taking this transactionManager and returning following taskTx https://community.jboss.org/servlet/JiveServlet/showImage/2-761310-19565/ptm.png https://community.jboss.org/servlet/JiveServlet/downloadImage/2-761310-19565/450-369/ptm.png Inside *DroolsSpringTransactionManager* controller is not going to *begin()* method thats why current Transaction is returning *null* from there. -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/761310#761310] 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 [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
