Externalizing Oasis properties for Tomcat in Windows

Externalizing Oasis properties involves configuring Tomcat as a service to make it accessible externally. 

Note: If Tomcat is running as a service, please don’t follow the below steps.

Follow the steps below to expose Tomcat and set up the necessary configurations:

Exposing Tomcat as a Service

  • Open a Command Prompt window and navigate to the C:\ovaledge\tomcat\bin directory.
  • Run the following command to install Tomcat as a service:

command prompt

service.bat install tomcat1

  • This command creates a new Tomcat service named "tomcat" Users can configure it to start automatically when the server boots.

  • Create extprop Directory
    • Navigate to the 'tomcat' folder and establish an 'extprop' directory.

    • Place the '' file within this directory which was extracted from the following path C:\tomcat\apache-tomcat-9.0.85-windows-x64\apache-tomcat-9.0.85\webapps\ovaledge\WEB-INF\classes

File Path reference screenshot 

  • In the bin folder, locate and open the tomcat9w.exe file.
  • Click on the "Java" tab and insert the following parameters under "Java” options:

java script


  • Set up JAVA_HEAP memory by adding 5120 in the "Initial memory" and 7168 in the "Max memory."
  • After providing the required parameters, click the "OK" button to save the Oasis properties with the specified configurations. This ensures that the properties are externalized and ready for use.

Copyright © 2024, OvalEdge LLC, Peachtree Corners, GA USA