1 Reply Latest reply on Dec 3, 2009 8:26 AM by jaikiran pai

    2 persistence.xml files in EAR archive

    Celinio Fernandes Novice

      i have 2 persistence.xml files in my EAR archive.
      I have a web project, a client project, an EJB project.

      The 2 files are in the web project and in the EJB project :


      If I use a persistence unit in the web project, where will the container look for it first ?

      And in general, what are the rules regarding persistence.xml file research in JBoss 5.1.0 GA ?

      Thanks for helping.