Try OpenEdge Now
skip to main content
Administration
REST Administration : REST Management Agent Administration : Installing and Configuring REST Management Agent : Customizing Apache Tomcat Environment using the protc utility
 
Customizing Apache Tomcat Environment using the protc utility
The protc utility allows you to administer the Tomcat Web server that is installed along with Progress Developer Studio for OpenEdge. The protc utility allows you to execute supported Tomcat Catalina commands after applying startup and shutdown preferences defined by environment variables that you set in a proset.env (UNIX) or proset.bat (Windows). You must set these environment variables before you can start working with the Tomcat Web server installed along with the Developer Studio.
Essentially, the protc utility is provided by Progress OpenEdge to perform all the operations that are performed by catalina.sh or catalina.bat scripts provided by Apache Tomcat. The advantage of using the protc utility is that it automatically applies all the configurations you require to run the Tomcat Web server (installed with OpenEdge). For information about executing protc commands, see Executing the protc commands.
Before you proceed with executing the protc commands to administer the Tomcat Web server, you must create and define the proset.env or proset.bat as follows:
1. Create and open a shell script file, proset.bat (Windows) or proset.env (UNIX), in the OpenEdge work directory ($WRKDIR).
2. In the shell script, define any of the environment variables from Table 52, which you need to customize the Tomcat environment.
Note: You can see the proset.env or proset.bat examples in Examples of proset script files.
3. Save and close the shell script file, proset.bat (Windows) or proset.env (UNIX).
* Environment variables for the proset shell script file
* Examples of proset script files
* Executing the protc commands