users@glassfish.java.net

Re: CMP compilation fails in V3 when EJB 2.1 bean references classes in library

From: <glassfish_at_javadesktop.org>
Date: Mon, 05 Jul 2010 19:09:31 PDT

One thing you could try is to deploy the application with compatibility=v2 property to see if it makes a difference (for example, asadmin deploy --property compatibility=v2 foo.ear).
The classpath in v3 is constructed more strictly to follow the EE spec. The property "compatibility" was introduced to maintain v2 backward compatiliblity for jar visibility.
[Message sent by forum member 'hzhang_jn']

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