BEA WebLogic Server 7 ユーザーズマニュアル

ページ / 146
Porting an Application from WebLogic Server 6.x to WebLogic Server 7.0
BEA WebLogic Server 7.0 Upgrade Guide
1-5
1. If you have not already installed WebLogic Server 7.0, do so now. See the 
 for more information.
Note: Installing the new version in the exact location of the old version is 
explicitly prohibited by the installer.
2. Each 6.x and 7.0 domain must have its own separate directory. It is not possible 
to have multiple 
config.xml
 files in the same directory.
a. For each 6.x configuration domain that you wish to port to WebLogic Server 
7.0, copy the 
/config/domain
 directory to a directory location of your choice. 
Exclude any directories that begin with a dot (“.”), which are files or directories 
that WebLogic Server has created for internal use. 
This directory is the location of your new domain and will contain all of your 
configuration information for that domain. If your 6.x config directory is not 
located in the WebLogic Server 6.x distribution, you may re-use your 
WebLogic 6.x configuration in WebLogic Server 7.0.
b. Identify deployment descriptor files (
web.xml
 and 
weblogic.xml
), because 
those files may contain file paths to items such as the Java compiler or external 
files. WebLogic Server configurations rely on a number of files that may be 
stored on the file system. Typically, these files are persistence repositories (log 
files, file-based repositories, etc.) or utilities (Java compiler). These files can be 
configured using fully qualified or relative paths. 
If all external files are defined using relative paths and are located in or 
below the domain directory, skip the reamainder of this step. 
For external files that are defined using relative paths that are located outside 
the domain directory, re-create the directory structure relative to the new 
config directory and copy the associated files into the new directories. For 
external files that are defined using fully qualified paths, determine whether 
it is appropriate to re-use these files in the WebLogic Server 7.0 deployment. 
For example, log files and persistence stores can be re-used; however, you 
may want to update utilities such as the Java compiler to use the latest 
version. For files that should be updated, use the WebLogic Server 6.x 
Administration Console to configure the appropriate attribute to use the new 
file or utility before proceeding to the next step.
3. If you have not already edited the server start scripts, do so now. See 
 for instructions.