[jboss-dev-forums] [JBoss AS 7 Development] - Re: Ear which have multi persistence-unit deploy to jboss-as-7.1 error

Markus Dahm do-not-reply at jboss.com
Tue Dec 20 05:17:56 EST 2011


Markus Dahm [http://community.jboss.org/people/dahm] created the discussion

"Re: Ear which have multi persistence-unit deploy to jboss-as-7.1 error"

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

--------------------------------------------------------------
Hi,

we're facing the same problem with a WAR. Yet I ensured that all EntityManagers in the code are annotated with

@PersistenceContext(unitName ="....")

but I still get the same error on deployment...

Where and how do I define the PU to be used elsewhere?

Cheers
  Markus
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/642410#642410]

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111220/45b2b293/attachment.html 


More information about the jboss-dev-forums mailing list