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]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to