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
[
http://community.jboss.org/message/595392#595392]
Start a new discussion in EJB3 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]