The result of this procedure will be to create a soar.rar resource adapter file that you can deploy to Application Server.
Set the JWSDP_HOME environment variable to the directory where JWSDP 1.6 is installed and the JAVA_HOME environment variable to the directory where J2SE is installed.
Download the ra.xml file from the Glassfish site: https://glassfish.dev.java.net/javaee5/ws-mgmt/registry/ra.xml.
Save the file in the /tmp directory (C:\tmp on Windows).
You can either download and execute a script, or perform the steps manually.
To use a script:
To perform the steps manually:
Enter the following commands:
cd $JWSDP_HOME/registry/lib mkdir tmp cp soar-jaxr-ra.jar ./tmp cd tmp jar xvf soar-jaxr-ra.jar rm soar-jaxr-ra.jar ra.xml ./META-INF/SUN* ./META-INF/pack.properties cp ra.xml META_INF . cp $JWSDP_HOME/registry/lib/oasis-* . cp $JWSDP_HOME/registry/lib/omar-common.jar . cp $JWSDP_HOME/registry/lib/jaxr-ebxml.jar . cp $JWSDP_HOME/jwsdp-shared/lib/commons-logging.jar .
The commands shown are for Unix or Linux. Use the equivalent commands on Windows.
Now, the tmp directory should contain the following files and directories:
META-INF directory
com directory
jaxr-ebxml.jar
oasis-regrep.jar
omar-common.jar
oasis-saml1.1.jar
oasis-saml2.0.jar
commons-logging.jar
Enter this command to create resource adapter file soar.rar:
jar cvf soar.rar META-INF com jaxr-ebxml.jar oasis-regrep.jar omar-common.jar oasis-saml1.1.jar oasis-saml2.0.jar commons-logging.jar |
To use the jar command on Windows, you must have the JAVA_HOME\bin directory on your path.
Once you have created the soar.rar file, deploy it to create a registry as described in the next section.