To use the System class loader, do one of the following, then restart the server:
Use the Admin Console. In the developer profile, select the Enterprise Server component and select the JVM Settings tab. In the cluster profile, select the JVM Settings component under the relevant configuration. Then select the Path Settings tab and edit the System Classpath field. For details, click the Help button in the Admin Console.
Edit the system-classpath attribute of the java-config element in the domain.xml file. For details about domain.xml, see the Sun GlassFish Enterprise Server v2.1.1 Administration Reference.
Using the System class loader makes an application or module accessible to all applications or modules deployed on servers that share the same configuration.
Add the classes to the system-classpath attribute of the DAS in addition to the system-classpath attribute on the server instances that use the classes. The default name for the DAS configuration is server-config.