I am using jbpm3.1 in jboss and I want to config the jndi name for SessionFactory, so I turn to the config file "jbpm.cfg.xml", in which it contains the config
<service name="persistence" factory="org.jbpm.persistence.db.DbPersistenceServiceFactory" /> ... ... ...