I try to use btm on tomcat,it seems that datasource jbpm-ds has been setup successfully.
信息: Bitronix Transaction Manager version 2.1.3
2012-11-16 22:08:15 bitronix.tm.Configuration buildServerIdArray
信息: JVM unique ID: <tomcat7-btm-node0 >
2012-11-16 22:08:15 bitronix.tm.journal.DiskJournal open
警告: active log file is unclean, did you call BitronixTransactionManager.shutdown() at the end of the last run?
2012-11-16 22:08:15 bitronix.tm.resource.ResourceLoader init
信息: reading resources configuration from D:\apache-tomcat-7.0.32/conf/btm-resources.properties
2012-11-16 22:08:15 bitronix.tm.recovery.Recoverer run
信息: recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/jbpm-ds]
but datasource jbpm-ds was not found in my servlet including
EntityManagerFactory emf = Persistence.createEntityManagerFactory( "org.jbpm.persistence.jpa" );