Use the class-loading-policy setting to determine which resource adapters accessible to applications. Allowed values are:
derived — Applications access resource adapters based on references in their deployment descriptors. These references can be resource-ref, resource-env-ref, resource-adapter-mid, or equivalent annotations.
global — All stand-alone resource adapters are available to all applications.
To configure this setting, use the asadmin set command. For example:
asadmin set server.connector-service.class-loading-policy="global"
For details, see the Oracle GlassFish Server 3.0.1 Reference Manual.