Before using the WebLogic Upgrade Wizard in silent mode, you have the option of creating an XML script that defines your upgrade requirements, and passing that script to the wizard on the command line.
When run in silent mode, the Upgrade Wizard searches the domain's root directory for an XML script with a name that indicates the type of upgrade task to be performed, as listed in Table E-1. If the wizard does not locate an XML script, it uses the default system values, as defined in Table E-2.
Only WebLogic Server domains can be upgraded using silent mode.
To create an XML script for a silent mode upgrade:
In a supported browser, click on one of the sample XML scripts provided in Table E-1, based on the type of upgrade task you wish to perform.
Save the sample script, as an XML file of the same name, in the root directory of the domain that you want to upgrade.
In the XML script that you saved to your system, edit the values for the keywords shown in Table E-2 to match your requirements. If you do not specify a value for a keyword, the wizard uses the default value.
When editing the file, please note the following:
The XML definition (<?xml version="1.0" encoding="UTF-8"?>) must be at the very beginning of the XML script. No spaces or line breaks are allowed before the XML definition.
You must follow XML guidelines for characters when modifying values. That is, you cannot use characters reserved for use in XML, such as <, >, [, and ].
Table E-2 Silent-mode XML Script Values
If you are upgrading...
For this keyword...
Set the value to the...
This keyword defaults to the...
Path of the directory that contains the security provider JARs to be upgraded.
By default, security providers are located in WL_HOME\server\lib\mbeantypes, where WL_HOME specifies the root directory of the pre-10.0 installation.
Path of directory from which the Upgrade Wizard is run, such as:
Path of the directory in which you want to save the new security provider JAR files.
WL_HOME\server\lib\mbeantypes, where WL_HOME specifies the root directory of the WebLogic Server 10.0 installation.
Path of the directory of Node Manager to be upgraded by navigating the local directory hierarchy.
By default, the Node Manager home directory is located in WL_HOME\common\nodemanager, where WL_HOME specifies the root directory of the pre-10.0 installation.
Directory from which the Upgrade Wizard is run. For example: c:\bea\wlserver_10.0\common\nodemanager
Version of WebLogic Server.
Version of WebLogic Server identified in the configuration file (config.xml). For example, 22.214.171.124.
If the software version number is not specified in the domain configuration file, the wizard displays the version number as 126.96.36.199, by default. In this case, there is no impact if the default value does not match the actual version number of the pre-10.0 domain.
Path of the directory that contains the WebLogic domain to be upgraded.
Directory from which the Upgrade Wizard is run, such as: c:\bea\user_projects\domains\mydomain
Username for Node Manager.
Password for Node Manager.
Confirmation password for Node Manager.
One or more of the following options:
If this option is selected, the wizard backs up the original domain directory and stores it in a zip file.
If this option is selected, log files are included in the backup zip file. The number and size of log files can be large, so you may want to exclude them from the backup file by disabling this option. By default, log files are included in the backup file.
Some behavior supported in pre-9.0 releases of WebLogic Server has been changed as of 9.0 to comply with J2EE 1.4. By default, the wizard sets flags to enable the previous behavior in the new domain. If you select this option, these flags or backward compatibility are not set.