The libraries, classes, and parameters for CA Identity Manager must be configured in the Java Service Wrapper configuration file:
jboss_home\conf\wrapper.conf
Note: Property values that are paths to directories or files should not be enclosed in quotation marks. Forward (/) or back-slashes (\) can be used as a path separator.
Several local environment variables will be created in order to simplify later configuration and to prevent the default ability of the Java Service Wrapper to use the %PATH% from the environment. Careful inspection of the run-idm.bat file will reveal that the %PATH% is carefully constructed in order to eliminate any SiteMinder library version conflicts. These variables are not system-wide and will only be available for the JVM created by the Java Service Wrapper. Some system-wide environment variables are used in the creation of these local variables.
Add the following properties to the beginning of wrapper.conf before any other properties:
Example: set.JAVA_HOME=C:\CA\j2sdk1.4.2_14
Example: set.NETE_SPS_PATH=C:\CA\eTrust SiteMinder\agentframework\bin
During the CA Identity Manager installation, a java SDK was selected and was used to set the JAVA_HOME variable at the top of jboss_home\bin\run-idm.bat. The local environment variable for this location is used in the following property:
wrapper.java.command=%JAVA_HOME%\bin\java
Create all java classpath entries populated in jboss_home\bin\run.bat. Also, include the Java Service Wrapper classes in the classpath that are used within the JVM. That list is as follows, taking advantage of local environment variables created previously:
Add the required libraries for JBoss to the library path and the environment path that were created previously:
Create the Java arguments that are populated in jboss_home\bin\run-idm.bat and jboss_home\bin\run.bat. That list is as follows, taking advantage of local environment variables created previously and excluding memory settings that will be configured separately:
Set the JVM memory settings as follows:
Specify the main class that the Java Service Wrapper should be called as follows:
wrapper.app.parameter.1=org.jboss.Main
The location of the log file for the Java Service Wrapper will default to jboss_home/logs/wrapper.log. Settings can be changed as described in the wrapper.conf file.
Specify the names to be used for the Windows Service as follows:
Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |