Salesforce

WorldServer: How can I add or change the Java options passed to Tomcat on Linux-based systems?

« Go Back

Information

 
TitleWorldServer: How can I add or change the Java options passed to Tomcat on Linux-based systems?
URL Name000020911
SummaryInstructions for editing Tomcat's catalina.sh to add/change Java options on Linux-based operating systems.
Scope/EnvironmentWorldServer
Linux-based operating systems
Question

I am following a knowledge base article that tells me I need to change the WorldServer's Java options using IdiomRunw.exe to invoke the Apache Tomcat Properties. However, WorldServer is installed on a Linux-based operating system so there is no IdiomRunw.exe. How do I change these options?
Answer

First locate the catalina.sh file, and create a backup copy.

Next open catalina.sh in a text editor, and search for the option you want to change. If you are able to find it, then modify the existing option. If not, then add a new line just before line 326. For example, the following will restrict Tomcat to using only TLSv1.3:
 
JAVA_OPTS="$JAVA_OPTS -Dhttps.protocols=TLSv1.3"

Save the catalina.sh file, and restart the Tomcat service by running the shutdown.sh script, followed by the startup.sh script.
Reference
Attachment 1 
Attachment 2 
Attachment 3 
Attachment 4 
Attachment 5 

Powered by