users@glassfish.java.net

Disabling JPA deployment

From: Jose Noheda <jose.noheda_at_gmail.com>
Date: Wed, 10 Sep 2008 14:10:40 +0200

Hi,

While deploying a WAR file that includes a persistence.xml Glassfish starts
the JPA deployment. I'd like to use Spring JPA support instead this time
(because the production server does not support JEE yet..). This would be no
problem (other than an increased deployment time) if it wasn't for a log4j
init error that happens and leaves me with no traces. This of course is a
deal breaker so I'm wondering how can I disable the automatic discovery of
JPA.

Regards