[jboss-user] [EJB3] - Re: UNRESOLVED Demands 'persistence.unit:unitName=...

Matthias Becker do-not-reply at jboss.com
Thu Mar 24 11:47:33 EDT 2011

Matthias Becker [http://community.jboss.org/people/drake2711] created the discussion

"Re: UNRESOLVED Demands 'persistence.unit:unitName=..."

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

I created this project with eclipse. The structure is as follows
* EsbMointorCommon
Contains some classes used in all other projects
* EsbMonitorClient
Contains the EJB's (at least it was so created by Eclipse)
* EsbMonitorJPA
Contains the Entities (includeing DataSource)
* EsbMonitorJSF
Contains the web files
* EsbMonitorEAR
Combines all others into a singel EAR file (the META-INF contains the persistence.xml)

Originally the persistence.xml was located in the JPA project but then a whole set of other exceptions occured. Maybe stubid question: I was under the impression that the ejb-jar.xml is not needed anymore but i found examples where a PU is refered to by one. Do i have to create such a xml somewhere?

Thanks four your help!

Reply to this message by going to Community

Start a new discussion in EJB3 at Community

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

More information about the jboss-user mailing list