JBoss Community

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

created by Markus Dahm in JBoss AS 7 Development - View the full discussion

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

Start a new discussion in JBoss AS 7 Development at Community