users@glassfish.java.net

Re: Specifying datasource during deployment of a JPA based application

From: <glassfish_at_javadesktop.org>
Date: Sun, 31 May 2009 10:59:39 PDT

Hi,
http://docs.sun.com/app/docs/doc/820-4332/deploy-1?a=view

Maybe the "asadmin deploy --deploymentplan" could help you? You do not need to repackage the EAR, but you must create a new JAR containing the descriptors... Maybe the persistance.xml stuff can go into the sun-ejb-jar.xml in your case?

BR,
Mattias
[Message sent by forum member 'nightzero' (nightzero)]

http://forums.java.net/jive/thread.jspa?messageID=348582