Designing with Sun JCA Adapters

Deployment of Sun JCA Adapters

The Sun JCA Adapter runtime components (RAR files) are contained in the Adapter Pack under the Runtime/adapters directory.

To Deploy JCA Adapters via Command Line

Use the asadmin command to deploy a RAR file. For example, to deploy the File JCA RAR filesun-file-adapter.rar, navigate to the c:\glassfish\bindirectory (where c:\glassfish is the full path of the GlassFish installation) run the following command: asadmin deploy c:\AdapterPack\Runtime\eways\GRfileadapter.rar.

Deploy Global RAR command line

To Deploy JCA Adapters via the Admin Console

  1. Start the application server.

  2. Log in to the Admin Console from a browser. If the application server is running locally, browse to http://localhost:4848.

  3. Locate the Connector Modules subnode under the Applications node.

  4. Click Deploy.

  5. Specify the RAR file you want to deploy by clicking on the Browse button under the selected check box Packaged file to be uploaded to the server. The RAR files are available in the c:\AdapterPack\Runtime directory where c:\AdapterPack is the location of the extracted contents of the AdapterPack.zip file.

  6. Click OK and then Finish.

  7. Verify successful deployment of the JCA Adapters in the Admin Console.

    Verify Successful Deployment