1 Reply Latest reply on Oct 10, 2007 7:54 AM by Marc Lustig

    Can persistence.xml be deployed outside the jar?

    Richard Yang Apprentice

      Our datasources are sometimes deployed at runtime. If we deploy the persistence.xml inside the jar, then if we add a new datasource, we would have to open the jar and modify the xml file. This creates a headache for production people. I wonder if we can deploy the persistence.xml outside the jar, or in conf folder or directly under the deployment folder. We are using jbossAS 4.2.GA.