Follow the instructions below to install the required base components for Sun JCA Adapters.
Make sure you have GlassFish Server installed. You can access GlassFish downloads from https://glassfish.dev.java.net/public/downloadsindex.html#top.
Stop all running GlassFish domains.
Extract the contents of the AdapterPack.zip file to a local directory.
Download the JBI core installer from http://download.java.net/jbi/binaries/open-esb/main/nightly/latest/CORE/jbi-core-installer.jar or use the jbi-core-installer.jar file available in your GlassFish installation.
Run the JBI Core Installer by executing the following command:
java -jar jbi-core-installer.jar GlassfishHome install
where GlassFishHome is the full path to the GlassFish directory.
Start the GlassFish Server.
In the directory where you extracted the Adapter Pack, navigate to Runtime/install and open install.properties in a text editor.
Modify the properties for your GlassFish installation, and then save and close the file. Be sure to uncomment the line that specifies your operating system.
Run the following command from GlassFishHome/bin:
asant -f AdapterPack/Runtime/install.xml
where AdapterPack is the directory where you extracted the Adapter Pack.