After you install the Java CAPS runtime on your new domain, you can install the JBI components, which includes shared libraries, Service Engines, Binding Components, and so on. These components are all installed individually. The components to install are located in appserver/addons/jbi-components. Install the shared libraries first.
You can install the JBI components using any one or a combination of the following methods:
To Install JBI Components on a New Domain From the Admin Console
To Install JBI Components on a New Domain From the Command Line
Complete the steps under Adding the New Domain to NetBeans.
Launch the GlassFish Admin Console.
In the navigation panel on the left, expand JBI.
To install the shared libraries, do the following:
Shared libraries must be installed first.
Under JBI, select Shared Libraries.
In the JBI Shared Libraries table, click Install.
Browse to the location of the shared libraries (JavaCAPSHome/appserver/addons/jbi-components), and then select encoderlib.jar.
Click Next and then click Finish.
Repeat the above steps to install the following files:
saxonlib.jar
wsdlextlib.jar
To install the Service Engines and Binding Components, do the following:
Under JBI on the Admin Console, select Components.
In the JBI Binding Components and Service Engines table, click Install.
Browse to the location of the components (JavaCAPSHome/appserver/addons/jbi-components), and then select bpelserviceengine.jar.
Click Next.
If needed, modify the configuration properties of the component.
Click Finish.
Repeat the above steps to install the following files:
databasebc.jar
edmse.jar
etlserviceengine.jar
filebc.jar
ftpbc.jar
iepserviceengine.jar
jmsbc.jar
ldapbc.jar
schedulerbc.jar
xsltserviceengine.jar
Installing Sun Data Integrator (etlserviceengine.jar) on the Admin Console might throw an exception. If you run into this exception, install Data Integrator through NetBeans (described below).
Continue to Finalizing the New Domain Installation.
Complete the steps under Adding the New Domain to NetBeans.
Launch NetBeans and open the Services window.
Expand Servers, expand the new domain, and then expand JBI.
To install the shared libraries, do the following:
Shared libraries must be installed first.
To install the Service Engines, do the following:
Right-click Service Engines, and then select Install.
Browse to the location of the components (JavaCAPSHome/appserver/addons/jbi-components), and then select bpelserviceengine.jar.
The Installation Configuration window appears.
If needed, modify the configuration properties of the component.
Click Install.
Repeat the above steps to install the following files:
edmse.jar
etlserviceengine.jar
iepserviceengine.jar
xsltserviceengine.jar
To install the Binding Components, do the following:
Right-click Binding Components, and then select Install.
Browse to the location of the components (JavaCAPSHome/appserver/addons/jbi-components), and then select databasebc.jar.
The Installation Configuration window appears.
If needed, modify the configuration properties of the component.
Click Install.
Repeat the above steps to install the following files:
filebc.jar
ftpbc.jar
jmsbc.jar
ldapbc.jar
schedulerbc.jar
Continue to Finalizing the New Domain Installation.
To expedite the process of installing components through the command line, create a password file containing the administrator and master password. Otherwise, you will be prompted for login information for each component to install. Enter the following text in the file:
AS_ADMIN_PASSWORD=adminadmin
AS_ADMIN_MASTERPASSWORD=changeit
Remember to replace adminadmin and changeit with the actual passwords if you have changed them.
Complete the steps under Adding the New Domain to NetBeans.
Navigate to JavaCAPSHome/appserver/bin.
To install the shared libraries, do the following:
Shared libraries must be installed first.
Run the following command:
asadmin install-jbi-shared-library --port PortNumber --user AdminUser --passwordfile FileName ../addons/jbi-components/encoderlib.jar
where:
PortNumber is the Admin Console port number.
AdminUser is the administrator username (admin, by default).
FileName is the name of the password file you created.
Repeat the previous step to install the following files:
saxonlib.jar
wsdlextlib.jar
To install the Service Engines and Binding Components, do the following:
Run the following command:
asadmin install-jbi-component --port PortNumber --user AdminUser --passwordfile FileName ../addons/jbi-components/bpelserviceengine.jar
Repeat the above steps to install the following files:
databasebc.jar
edmse.jar
etlserviceengine.jar
filebc.jar
ftpbc.jar
iepserviceengine.jar
jmsbc.jar
ldapbc.jar
schedulerbc.jar
xsltserviceengine.jar
Continue to Finalizing the New Domain Installation.