Question & Answer
Question
ITCAM for J2EE for Tomcat DC configurator basically adds a stanza on top of catalina.sh script. How to verify that catalina.sh script has been properly updated after a DC configuration for a Tomcat application server using an IBM Java?
Answer
You can check that DC configuration has been successfully completed if the added stanza in catalina.sh (which can typically be found in the <tomcat_home>/bin directory) looks like this for a Tomcat 7.x using an IBM Java:
# *****Configurator of DC Begin
PRODUCT_HOME=/opt/IBM/itcam/J2EE/DC
export PRODUCT_HOME
APPSERVER=tom7
export APPSERVER
NODENAME=nc117189
export NODENAME
PLATFORM=tomcat70
export PLATFORM
QUALDIR=nc117189.tom7
export QUALDIR
CCLOG_COMMON_DIR="/var/ibm/tivoli/common"
export CCLOG_COMMON_DIR
JAVA_OPTS="-Xbootclasspath/p:$PRODUCT_HOME/toolkit/lib/bcm-bootstrap.jar:$PRODUCT_HOME/itcamdc/lib/ppe.probe-bootstrap.jar:$PRODUCT_HOME/itcamdc/lib/ext/tomcat/bcm/tomcat.bcm.jar -Djava.rmi.server.RMIClassLoaderSpi=com.ibm.tivoli.itcam.tomcat.sdc.DCRMIClassLoaderSpi -Dam.appserver=$APPSERVER -Dam.nodename=$NODENAME -Dappserver.platform=$PLATFORM -Dam.home=$PRODUCT_HOME/itcamdc -Ditcam61.home=$PRODUCT_HOME -agentlib:am_ibm_16 -Dtoolkit.native.library.name=am_ibm_16 -Dcom.ibm.tivoli.transperf.instr.probes.impl.was.Globals.traceLevel=0 -Dorg.omg.PortableInterceptor.ORBInitializerClass.com.ibm.tivoli.itcam.dc.orbinterpretor.Initializer -verbose:gc -Xverbosegclog:/opt/IBM/itcam/J2EE/DC/tomcat70-gc-log.log.tom7 ${JAVA_OPTS} "
export JAVA_OPTS
LD_LIBRARY_PATH=/opt/IBM/itcam/J2EE/DC/toolkit/lib/linux-ix64:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
# *****Configurator of DC End
This example is for a Linux 64-bits platform, as it can be seen from the <linux-ix64> string in the library path.
Please note that some JAVA_OPTS parameters are different depending on the specific Java used (IBM or Sun/Oracle/HotSpot).
Also note that Java 1.7 is officially supported starting from the ITCAM for J2EE 7.1.1 release, which is currently the only supported version for ITCAM J2EE (v6.1 has gone out of support at this point).
Java 1.8 is supported starting from ITCAM for J2EE 7.1.1.0.3 (IF3).
Was this topic helpful?
Document Information
Modified date:
18 June 2018
UID
swg21672979