Technical data
Domain Restrictions
Configuring and Managing WebLogic Server 2-11
! If -Dweblogic.RootDirectory=path is not specified, and if the working
directory (that is, the directory from which you issue the startup command)
contains a
config.xml file, then the working directory is the root directory.
! If neither of the previous statements is true, then the server looks for a
config.xml file in working-directory/config/domain-name.Ifitfinds
config.xml in this directory, then
working-directory/config/domain-name is the root directory.
! If WebLogic Server cannot find a config.xml file, then it offers to create one.
If you use the Node Manager to start a Managed Server, the root directory is located
on the computer that hosts the Node Manager process. To determine the location of the
server’s root directory, WebLogic Server does the following:
! If you specified a root directory in the Administration Console on the Server -->
Configuration --> Remote Start tab, then the directory you specified is the root
directory.
! If you did not specify a root directory in the Administration Console, then the
root directory is
WL_HOME\common\nodemanager\server-name\server-name.log
where WL_HOME is the directory in which you installed WebLogic Server on the
Node Manager’s host computer.
If you do not use the Node Manager to start a Managed Server (and therefore use the
java weblogic.Server command or a script that calls that command), WebLogic
Server does the following to determine the root directory:
! If the server’s startup command includes the
-Dweblogic.RootDirectory=path option, then the value of path is the root
directory.
! If -Dweblogic.RootDirectory=path is not specified, then the working
directory is the root directory. For example, if you run the
weblogic.Server
command from c:\config\MyManagedServer,then
c:\config\MyManagedServer is the root directory.
To make it easier to maintain your domain configurations and applications across
upgrades of WebLogic Server software, it is recommended that the root directory not
be the same as the installation directory for the WebLogic Server software.