Startup and Configuration : Modifying Configuration Files : Modifying Configuration Files Stored in the Database
Modifying Configuration Files Stored in the Database
 
Configuration Files Stored in the Database
Most of the server configuration files are stored in the My webMethods Server database by default, instead of in the local file system. To edit any My webMethods Server configuration file, you must download the file from the database, using the mws getconfig command. When you modify a configuration file, the My webMethods Server instance can be either running or stopped, but the database must be running.
For more information about the configuration files that you can modify, see Configuration Files Stored in the Database.
To edit configuration files for My webMethods Server
1. At a command line prompt, type the following command to move to the server’s bin directory:
cd Software AG_directory\MWS\bin
2. To retrieve a configuration file from the My webMethods Server database, type this command:
mws getconfig fileName
where fileName is the name of the configuration file that you want to edit.
For example:
mws getconfig cluster.xml
mws getconfig logging.properties
3. Open the downloaded configuration file in a text editor and modify it as needed.
You can find the file at this location:
Software AG_directory \MWS\server\serverName\config
4. To deploy the revised file to the My webMethods Server database, type this command:
mws putconfig fileName
5. Delete the file from the \serverName\config directory.
If you do not delete the file, the server instance will continue to use the local version of the configuration file.
6. Restart the node using this command:
mws -s serverName restart
Changes to configuration files are not applied until after a restart.
Copyright © 2004-2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback