As an alternative to using the ACC or Configuration Manager, you can always edit properties files manually. A few configuration properties can only be configured manually, and are not accessible through the ACC or Configuration Manager.
Note, however, that when configuring properties manually, no errors are generated if you specify a property name incorrectly. The component may generate an error if it cannot find the value; in this case, check your properties file for typos.
To manually edit a properties file, do the following:
Create a new properties file in
<ATG10dir>/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<ATG10dir>/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<ATG10dir>/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<ATG10dir>/home/localconfig/atg/dynamo/service
:defaultFrom=test@example.com
For example, to change the port number of Oracle ATG Web Commerce’s RMI server to 8862 manually, open your <ATG10dir>/home/localconfig/atg/dynamo/Configuration.properties
file and add (or modify) the following line:
rmiPort=8862
When specifying values for a property, you can add a manual line break using the backslash (\) line continuation character:
myList=valueOne,\
valueTwo,\
valueThree
This can help with readability when configuring lists of values.
Save the Configuration.properties
file and restart the application. Because you made the change in the localconfig
directory, the new port number overrides the original value (still stored in the config/atg/dynamo/Configuration.properties
file) and will be preserved when you install a new Oracle ATG Web Commerce platform distribution.