users@glassfish.java.net

Re: [Glassfish embedded] Problem with JPA2 entities in jar in a war

From: <glassfish_at_javadesktop.org>
Date: Fri, 29 Oct 2010 11:29:49 PDT

Testing a war file is a bit different. Otherwise (post GlassFish 3.0) all entries in the classpath (besides GlassFish jars) will be part of the deployed artifacts (either as EJB modules or as libraries). If you want to exclude something from deployment, you need to remove those entries from the classpath.
[Message sent by forum member 'mvatkina']

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