Unable to save the Spectrum Webserver Memory from GUI, is it possible to do this manually?
search cancel

Unable to save the Spectrum Webserver Memory from GUI, is it possible to do this manually?

book

Article ID: 235123

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

I upgraded the memory on both user OneClicks to 16G last evening. There was a glitch with this where I got an error message saying "Error restarting the OneClick server, You do not have permission to use at."

Is it possible to edit the memory values directly from the catalina.sh file?

Environment

Release : 10.x, 21.x

Component :Spectrum OneClick

Cause

To change the OC memory from the gui you need to have the at permission enabled as mentioned in this kb article.

 

https://knowledge.broadcom.com/external/article/49724/error-saving-the-web-server-memory-in-sp.html

Resolution

However if you would like to edit the catalina.sh file directly under $SPECROOT/tomcat/bin you can do so by going to the 

JAVA_OPTS="-DOneClick -server -Xmx8192M

 

and change this to reflect the new OC memory value

 

JAVA_OPTS="-DOneClick -server -Xmx16384M

 

Afterwards you will also need to update the tomcat-server-config.xml file that is located in $SPECROOT/custom/common/config so that the values from the catalina.sh are in synch.

 <memory>16384</memory>

When you changes the memory manually like this, you will have to also cycle the tomcat server for the change to take effect.