users@glassfish.java.net

Re: Glassfish v3 - S1ASCtxFactory ClassNotFoundException

From: <glassfish_at_javadesktop.org>
Date: Mon, 04 Jan 2010 12:29:25 PST

In GlassFish v3, the appserv-rt.jar file's manifest Class-Path points to ../modules/gf-client.jar, which in turn also points to a large number of JARs. The v3 appserv-rt.jar itself does not contain any classes, in contrast to v2, but adding it to your class path should accomplish the same thing as in v2.

Because of the relative references in the manifest Class-Path settings in these two JARs, be sure you add the appserv-rt.jar to your class path by referring to it in its ${installDir}/glassfish/lib/appserv-rt.jar location - do not copy it elsewhere or else the relative references will not work.

- Tim
[Message sent by forum member 'tjquinn' (timothy.quinn_at_sun.com)]

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