The SPECTRUM Tomcat service will not start (Legacy KB ID CNC TS30308 )
search cancel

The SPECTRUM Tomcat service will not start (Legacy KB ID CNC TS30308 )

book

Article ID: 52086

calendar_today

Updated On:

Products

Spectrum

Issue/Introduction

The SPECTRUM Tomcat service will not start

 

catalina.out

Error occurred during initialization of VM.

Initial heap size set to a larger value than the maximum heap size

Could not reserve enough space for object heap


(Legacy KB ID CNC TS30308 )

Environment

Release: SPPREM05900-9.1-Spectrum-Infrastructure Manager-Premium Suite
Component:

Problem Environment:
SPECTRUM 9.0
SPECTRUM 8.1

SPECTRUM 10.x

Cause

Too much memory has been allocated to the SPECTRUM Tomcat service.

Resolution

Verify the amount of memory that has been allocated to the SPECTRUM Tomcat Service:

 

1. Go to $SPECROOT/tomcat/bin

 

2. Open OneClickService.conf (Windows) / catalina.sh (Unix)

 

3. The second line is the webserver memory setting.  Make sure it is set to higher than Xms value (jvm_opt=-Xmx1024M) and save the file after making the modification. 

Increase the Xmx value to higher value

Ex: 8192M

Catalina.sh

JAVA_OPTS="-DOneClick -server -Xmx8192M -XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true -Djavax.net.ssl.trustStore=$SPECROOT/custom/keystore/cacerts -Dfile.encoding=UTF-8 -Dcom.sun.management.jmxremote -Dorg.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER=true"

After doing this you will be able to start the SPECTRUM Tomcat service.