The com.tivoli.pd.jcfg.PDJrteCfg utility configures the Java Runtime Environment component for Tivoli® Access Manager. This utility enables Java applications to use the Tivoli Access Manager policy and authorization servers.
cd app_server_rootND/bin
pdjrtecfg -action config -profileName myprofile -host mypolicy.mycompany.com -config_type full
The previous example was split onto multiple lines for illustrative purposes only.
java com.tivoli.pd.jcfg.PDJrteCfg -action {config | unconfig} -host policy_server_host -was -java_home jre_path
java com.tivoli.pd.jcfg.PDJrteCfg -action {config | unconfig} -cfgfiles_path configuration_file_path -host policy_server_host -was -java_home jre_path
pdjrtecfg -action config -profileName profile_name -host policy_server_name -config_type { full | standalone } -cfgfiles_path configuration_file_path -action unconfig -profileName profile_name
Valid values for policy_server_host include any valid IP host name.
host = libra
host = libra.dallas.ibm.com
This command copies Tivoli Access Manager Java libraries to a library extensions directory that exists for a Java runtime that has already been installed on the system.
You can install more than one Java Runtime Environment (JRE) on a given machine. The pdjrtecfg command can be used to configure the Tivoli Access Manager Java Runtime Environment component independently for each of the JRE configurations.
${JAVA_HOME}/bin/java
-Dfile.encoding=ISO8859-1 \
-Xnoargsconversion \
-Dpd.home=${WAS_HOME}/java/jre/PolicyDirector \
-cp ${WAS_HOME}/java/jre/lib/ext/PD.jar \
com.tivoli.pd.jcfg.PDJrteCfg \
-action config \
-cfgfiles_path ${WAS_HOME}/java/jre \
-host gary.us.ibm.com \
-was
-java_home ${JAVA_HOME}
${JAVA_HOME}/bin/java \
-Dfile.encoding=ISO8859-1 \
-Xnoargsconversion \
-Dpd.home=${WAS_HOME}/tivoli/tam/PolicyDirector \
-Dwas.install.root=${WAS_HOME} \
-cp ${WAS_HOME}/tivoli/tam/PD.jar \
com.tivoli.pd.jcfg.PDJrteCfg \
-action config \
-cfgfiles_path ${WAS_HOME}/tivoli/tam \
-alt_config \
-host ${TAM_SERVER_HOSTNAME} \
-was
-java_home ${JAVA_HOME}