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