Table of Contents

Search

  1. Preface
  2. Apache Tomcat
  3. WebLogic
  4. IBM Websphere
  5. JBoss
  6. SameSite attribute in cookies

Server Installation, Configuration, and Deployment

Server Installation, Configuration, and Deployment

Setting JAVA_OPTS for Tomcat Server

Setting JAVA_OPTS for Tomcat Server

To adjust the Java 17 startup parameters for the Tomcat server, complete the following steps:
  1. Navigate to the catalina.bat file located in the Tomcat installation directory.
    On Windows, navigate to the following location:
    <Tomcat server directory/bin/catalina.bat
    .
    On UNIX, navigate to the following location:
    <Tomcat server directory\bin\catalina.sh
  2. To configure the Java options, add the following configuration in catalina.bat:
    set "JDK_JAVA_OPTIONS=%JDK_JAVA_OPTIONS% --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED"
  3. Start the Tomcat server.
    On Windows, use the following command:
    catalina.bat run
    .
    On Unix, use the following command:
    catalina.sh run

0 COMMENTS

We’d like to hear from you!