[jboss-user] [jBPM] - Persistence unit name for jBPM5
mark boletti
do-not-reply at jboss.com
Wed Nov 30 10:25:16 EST 2011
mark boletti [http://community.jboss.org/people/markboletti] created the discussion
"Persistence unit name for jBPM5"
To view the discussion, visit: http://community.jboss.org/message/639133#639133
--------------------------------------------------------------
Hi all !
I'd like to create my first web application which uses jbpm5 engine. I've added in the META-INF folder the persistence.xml containing the JPA configuration, however if I name the persistence unit org.jbpm.persistence.jpa the deployment fails because the JBPM console is already using that unit name:
*DEPLOYMENTS IN ERROR:*
* Deployment "vfsfile:/D:/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/jbpm5.war/" is in error due to the following reason(s): java.lang.IllegalStateException: persistence.unit:unitName=#org.jbpm.persistence.jpa is already installed.*
Is it possible to use another persistence unit name to jBPM5 application ? (If so, how does the jBPM engine know which is the persistence unit name used? I couldn't find this information in the docs)
Thanks a lot
Mark
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/639133#639133]
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/20111130/5718446d/attachment.html
More information about the jboss-user
mailing list