Hi guys,
I faced a similar stacktrace when trying to create the entityManagerFactory as well. (On Jboss EAP 6)
After a couple days of work I found out that the jbpm-test.jar that comes together with the download has a jndi.properties file that specifies the
java.naming.factory.initial to BitronixInitialContextFactory
I have no idea why it overrides my own jndi settings but after I removed it. Everything works fine again.