64bit Tomcat does not work on CA Spectrum 9.4 and 9.4.1

Document ID : KB000029101
Last Modified Date : 14/02/2018
Show Technical Document Details


After enabling 64 bit tomcat for CA Spectrum OneClick in 9.4.0 and 9.4.1, tomcat will still run as a 32 bit application and will not utilize values in the catalina.sh file.



The <SPECROOT>/lib/SDPM/partslist/TOMCAT.idb file was updated due to multiple tomcat processes running when using the --restart option with processd.  Unfortunately this broke the functionality needed to enable 64bit tomcat properly.

The solution is to change the <SPECROOT>/lib/SDPM/partslist/TOMCAT.idb file environment variables. You need to add the following line into the environment variables:

ARGV;/bin/sh $WORKPATH/bin/catalina.sh run; //

and comment out the large argument (ARGV) entry.  


The bottom of the TOMCAT.idb needs to look like this:





ARGV;/bin/sh $WORKPATH/bin/catalina.sh run; //




-DOneClick -Xmx1024M -XX:PermSize=128M -XX:MaxPermSize=128M

-XX:+HeapDumpOnOutOfMemoryError -server -Djava.awt.headless=true


-Dfile.encoding=UTF-8 -Dcom.sun.management.jmxremote



-Dcatalina.base=$SPECROOT/tomcat -Dcatalina.home=$SPECROOT/tomcat


org.apache.catalina.startup.Bootstrap start; //


You then need to STOP and START processd back up.  Do not use the --restart option! 

./processd.pl stop

./processd.pl start

That will allow the tomcat process to utilize the parameters specified in the <SPECROOT>/tomcat/bin/catalina.sh file.


You may need to run the enable64Tomcat script again.