To change a property such as the location of the Web browser that the Tivoli Enterprise Portal browser client launches in UNIX, update the shell script file or files that are run and the template that is used when the browser client is configured to create the script file or files that are run.
File location | Purpose of file |
---|---|
bin/cnp.sh | The default shell script that launches the Tivoli Enterprise Portal browser client. |
bin/cnp_instance.sh | The shell script for a specific instance you have created, where instance is the name of the instance that launches the Tivoli Enterprise Portal browser client. |
platform/cj/original/cnp.sh_template | The template from which the bin/cnp.sh and bin/cnp_instance.sh
shell scripts are generated during configuration, where platform is
the code for the operating system platform on which IBM Tivoli Monitoring is
installed. For example: li6243 for Linux 2.4 on a 32-bit Intel CPU). If you change only bin/cnp.sh or bin/cnp_instance.sh and do not change this template, the next time you configure the client, a new version of the script is created without the changes you made to bin/cnp.sh or bin/cnp_instance.sh. |
${JAVA_HOME}/bin/java -showversion -noverify -classpath ${CLASSPATH}
-Dkjr.trace.mode=LOCAL -Dkjr.trace.file=/opt/IBM/ITM/logs/kcjras1.log
-Dkjr.trace.params=ERROR -DORBtcpNoDelay=true -Dcnp.http.url.host=
-Dvbroker.agent.enableLocator=false
-Dhttp.proxyHost=
-Dhttp.proxyPort=candle.fw.pres.CMWApplet 2>& 1 >> ${LOGFILENAME}.log
To
set the browser location to /opt/foo/bin/launcher, change the
line to look like the following: ${JAVA_HOME}/bin/java -showversion -noverify -classpath ${CLASSPATH}
-Dkjr.browser.default=/opt/foo/bin/launcher
-Dkjr.trace.mode=LOCAL -Dkjr.trace.file=/opt/IBM/ITM/logs/kcjras1.log
-Dkjr.trace.params=ERROR -DORBtcpNoDelay=true -Dcnp.http.url.host=
-Dvbroker.agent.enableLocator=false
-Dhttp.proxyHost=
-Dhttp.proxyPort=candle.fw.pres.CMWApplet 2>& 1 >> ${LOGFILENAME}.log