A few configuration properties are not accessible through the ATG Control Center or Configuration Manager, and must be edited manually. However, even if a property can be modified through other means, you always have the option of making configuration changes manually.
To manually edit a properties file, do the following:
Create a new properties file in
<ATG2007.3dir>/home/localconfig
with the same name and path structure as the original file. For example, thedefaultFrom
property in the/atg/dynamo/service/SMTPEmail
component specifies the e-mail address from which messages will be sent via SMTP. To modifydefaultFrom
, create a new file calledSMTPEmail.properties
in the path<ATG2007.3dir>/home/localconfig/atg/dynamo/service
.Note: Step 1 is not necessary for the
Configuration.properties
file because a file of this name is created in the<ATG2007.3dir>/home/localconfig/atg/dynamo
directory during the installation process.Add the desired property to the new file. For example, to change the setting for
defaultFrom
, such as to test@example.com, add the following line to theSMTPEmail.properties
file in<ATG2007.3dir>/home/localconfig/atg/dynamo/service
:defaultFrom=test@example.com
For example, to change the port number of Dynamo’s RMI server to 8862 manually, open your <ATG2007.3dir>/home/localconfig/atg/dynamo/Configuration.properties
file and add (or modify) the following line:
rmiPort=8862
Then save the Configuration.properties
file and restart the Nucleus-based application. Because you made the change in the localconfig
directory, the new port number will override the original value (still stored in the config/atg/dynamo/Configuration.properties
file) and will be preserved when you install a new ATG platform distribution.
For additional information about defining and managing properties files, see the Nucleus: Organizing JavaBean Components chapter of the ATG Programming Guide.