[jboss-user] [jBPM] - JBPM Persistence in Standalone J2SE APP

David C do-not-reply at jboss.com
Fri Nov 18 10:44:13 EST 2011


David C [http://community.jboss.org/people/process15] created the discussion

"JBPM Persistence in Standalone J2SE APP"

To view the discussion, visit: http://community.jboss.org/message/637210#637210

--------------------------------------------------------------
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
[http://community.jboss.org/message/637210#637210]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111118/84938261/attachment.html 


More information about the jboss-user mailing list