Sun GlassFish Enterprise Server v3 Administration Guide

ProcedureTo Configure the Generic Resource Adapter

Before deploying the generic resource adapter, JMS client libraries must be made available to Enterprise Server. For some JMS providers, client libraries might also include native libraries. In such cases, these native libraries must be made available to any Enterprise Server JVMs.

  1. Deploy the generic resource adapter the same way you would deploy a connector module.

  2. Create a connector connection pool.

    See To Create a Connector Connection Pool.

  3. Create a connector resource.

    See To Create a Connector Resource.

  4. Create an administered object resource.

    See To Create an Administered Object.

  5. Make the following changes to the security Enterprise Server policy files:

    • Modify the sjsas_home/domains/domain1/config/server.policy file to add the following:

      java.util.logging.LoggingPermission "control"
    • Modify the sjsas_home/lib/appclient/client.policy file to add permission: 
      " ^ \"^\"","read":