Creating Domains

A WebLogic domain maintains a domain configuration file, called config.xml, along with security settings, domain and transaction logs, and startup scripts for the Administration Server and Managed Servers on the different machines. WebLogic eases the creation of all of these by providing a tool, the Configuration Wizard, which you can run as part of WebLogic Server installation or after installation. The Configuration Wizard presents a series of templates that you can use to create or extend domains. You can use the tool to create a domain with either a standalone Administration Server, a domain with multiple Managed Servers, or a domain with multiple clustered Managed Servers. In addition, the tool lets you create domains that are preconfigured with example applications.

Directory Layout

All settings for a domain are stored within the domain’s root directory. Under the root directory, you will find the configuration file config.xml, startup scripts for Windows and Unix platforms, and subdirectories for the domain-level logs, the security data, and the applications themselves. The root directory always will contain at least the following files:

  • The config.xml file holding the domain configuration.

  • An applications directory that can be used to deploy J2EE applications if you configure auto-deployment.

  • A logs directory that holds the domain logs.

  • A subdirectory for the Administration Server and each Managed Server in the domain. This contains log files and LDAP data ...

Get WebLogic: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.