Technical data

2 Overview of WebLogic Server Domains
2-8 Configuring and Managing WebLogic Server
Domain Directories Structure
In prior releases of WebLogic Server, domain directories were created within the
directory structure of the Weblogic Server installation. With WebLogic Server 7.0 and
later, you can set up domain directories outside the product installation directory tree,
in any location on the system that can access the Weblogic Server installation and the
JDK.
This new directory structure is more flexible. It allows you to store your application
code in a directory structure separate from WebLogic Server executables and related
files—this practice is recommended.
The domain directory structure should have:
! A root directory with the same name as the domain, such as mydomain or
petstore. This directory should contain the following:
" The configuration file (usually config.xml) for the domain.
" Any scripts you use to start server instances and establish your environment.
! A subdirectory for storing applications for the domain, typically named
applications.
Note: If you plan to use the WebLogic Server’s auto-deployment feature—available
when a domain is running in development mode—the subdirectory for
applications must be named
applications. For information about
auto-deployment, see “Auto-Deployment” in Developing WebLogic Server
Applications.
You can create other directories within the domain directory structure, as desired.
When you start a server instance in a domain for the first time, Weblogic Server creates
the following subdirectories in the domain directory:
! data for storing security information
! logs for storing domain-level logs
! server_name for each server running in the domain, for storing server-level
logs
! temp for storing temporary files
For example: