users@glassfish.java.net

Re: Deploy App twice on same server, use different DB Connection for each?

From: <glassfish_at_javadesktop.org>
Date: Thu, 14 Aug 2008 12:13:58 PDT

The persistence.xml is scoped for the application, not shared.

And it is correct, you need to configure the two different applications and then deploy them, not vice versa.
[Message sent by forum member 'qtxdaer' (qtxdaer)]

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