Jing Zhang [
http://community.jboss.org/people/zhangjing2000] created the discussion
"Re: NPE caused by Bitronix transaction glitch or drools transaction issue?"
To view the discussion, visit:
http://community.jboss.org/message/619528#619528
--------------------------------------------------------------
Looks like it is related to bitronix transaction. during Environment initiation, if I
comment out the transaction manager setting statement as below, there will be no NPE. But
I not sure if there is any transaction control anymore.
EntityManagerFactory emf = Persistence.createEntityManagerFactory(
"org.drools.persistence.jpa" );
Environment env = KnowledgeBaseFactory.newEnvironment();
env.set(EnvironmentName.ENTITY_MANAGER_FACTORY, emf);
//env.set(EnvironmentName.TRANSACTION_MANAGER,
TransactionManagerServices.getTransactionManager());
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/619528#619528]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]