The Sun JCA Adapter runtime components (RAR files) are contained in the Adapter Pack under the Runtime/adapters directory.
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.
Start the application server.
Log in to the Admin Console from a browser. If the application server is running locally, browse to http://localhost:4848.
Locate the Connector Modules subnode under the Applications node.
Click Deploy.
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.
Click OK and then Finish.
Verify successful deployment of the JCA Adapters in the Admin Console.