The scripts that are
described in this section for loading content, updating content, and
adjusting URLs use the SAS Administrator and SAS Trusted User credentials.
For deployments that performed a manual deployment of the SAS Web
applications, these scripts include the user IDs and an encoded form
of the password. For deployments that performed an automatic deployment
of the SAS Web applications, the scripts include the user IDs, but
do not include the passwords in any form.
Passwords in these
files, whether added by the SAS Deployment Wizard, or by a SAS administrator,
are not updated with the Update passwords feature of the SAS Deployment
Manager. Running the scripts with an expired password, or no password,
provides a log result like the following example:
Log File Example for Invalid Credentials
config.init:
[echo] ant.version=Apache Ant version 1.7.0 compiled on December 13 2006
[echo] ant.file=/opt/SASHome/SASWebInfrastructurePlatform/9.3/Config/webinfpltfm_config.xml
[echo] file.encoding=ISO646-US
[echo] about to read property file because config.init.set=${config.init.set}
[GetObjectProperties] Error connecting to the metadata server: Access denied.
[GetObjectProperties] Host: hostname.example.com
[GetObjectProperties] Port: 8561
[GetObjectProperties] User: sasadm@saspw
[GetObjectProperties] m_mdFactory: com.sas.metadata.remote.MdFactoryImpl@74db2c
[GetObjectProperties] Error finding foundation repository: Encountered metadata exception.
BUILD FAILED
/opt/SASHome/SASDeploymentManager/9.3/products/
cfgwizard__93345__prt__xx__sp0__1/Utilities/configuration_targets.xml:95: null
If you need to update
or add a password, use the PWENCODE procedure. The following code
example shows how to generate the encoded form of the password changeit.
Copy and paste the result into the scripts.
PWENCODE Procedure Example
proc pwencode in="changeit" method=sas002; run;
The SAS log shows the
value to copy and paste into the script:
{SAS002}4DE4CF4F130AC6BE4A6934E0596C8222
After you run the scripts,
remove the encoded form of the passwords from the scripts as an additional
security measure.