Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleHow can I configure Port for Tomcat?

Tomcat's main configuration file is the server.xml located at …/<ApacheInstallFolder>/Tomcat<version_no>/conf.

 Change non-SSL/TLS HTTP/1.1 Connector on port number 8080 to the desired port number.

Image Modified

Configure a connector for the port given in redirectPort. Update the Keystore path, password, and the server name in the file. Save the file.

Image Modified

SSL Configuration

  1. Go to …/<ApacheInstallFolder>/Tomcat<version_no>/conf.
  2. Open web.xml file.
  3. Add the security constraint at the end of the file.



  4. Go to Start > All Programs > Apache Tomcat 9.0 > Configure Tomcat.
  5. On the Java tab, append the below lines in the Java Options box.
    -Djavax.net.ssl.trustStore=<Adeptia Connect Truststore location)
    -Djavax.net.ssl.trustStorePassword=<Adeptia Connect Truststore password>

Expand
titleHow can I ensure that Tomcat is working fine?

To check the status of Tomcat, open the browser and type the URL:

http://localhost:8080/

 

The Tomcat welcome page appears, indicating Tomcat is running successfully.

Expand
titleWhere can I view Adeptia Connect Logs in Tomcat?
  1. Go to …/<ApacheInstallFolder>/Tomcat<version_no>/logs.
  2. Open application_system.log file to view the logs.

...