JBoss Community

JBPM Persistence in Standalone J2SE APP

created by David C in jBPM - View the full discussion

Hi

 

I'm running into a very pecuilar problem. I have no problem running my application with JBPM with persistence in my Eclipse IDE enviroment as a standalone app. However, when I export it into a runnable jar, I get this error:

 

 

javax.persistence.PersistenceException: Unable to configure EntityManagerFactory
        at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:378)
        at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:56)
        at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:48)
        at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:32)

 

This is after I've removed the following jar since I get other set of errors if I include these 2 jars in my standalone jar executable

 

ejb3-persistence-1.0.2-GA.jar

persistence-api-1.0.jar

 

Any suggestions ?

 

Dave

Reply to this message by going to Community

Start a new discussion in jBPM at Community