Display and manage an instance's configuration (config)
- Last Updated: January 17, 2024
- 2 minute read
- OpenEdge
- Version 12.8
- Documentation
Purpose
View, add, update, or delete the property values specified in ../conf/appserver.properties and in ../conf/catalina.properties.
When you run tcman.sh config with no parameters, it displays the core
Tomcat server’s configuration, and all the properties in both
.../conf/appserver.properties and
.../conf/jvm.properties. Note, however, that you can only
view jvm.properties. You cannot modify its contents with the
config action.
Syntax
|
Parameters
- general_options
- Specify one or more of the general TCMAN options. Run
tcman.sh help configto see which general options are appropriate. - prop_name
- Display the specified property and its value.
- prop_name=value
- Set the value of a property that exists in .../conf/appserver.properties.
- +prop_name=value
- Add a new property to .../conf/appserver.properties and set its value.
- ~prop_name
- Remove the specified property from .../conf/appserver.properties.
Examples
Show the configuration and properties of acme1, an instance of the core server, pashome:
|
Display the value of a single property:
|
Update the value of a property that exists in the appserver.properties file and then check the value:
|
Add a new property/value pair to the appserver.properties file and check the value:
|
Update the server certificate in the catalina.properties file (see https://docs.oracle.com/cd/E19879-01/821-0185/ablqz/index.html for information about generating, exporting, and downloading a new server certificate):
|
Remove a property/value pair from the appserver.properties file and check if deletion was successful:
|
conf/server.xml.Notes
- All property names are case sensitive.
- You cannot enter multiple property names (prop_name) on the command line to view, update, or add properties to the appserver.properties file.
- You cannot use the config action to update existing values or add new values to the jvm.properties file