WebLogic Summary-Domain
WebLogic Server Management and configuration services are based on jmx api from Sun Microsystems. the config. XML file is a persistent store for the managed objects that WebLogic Server creates and modifies during its executing using Bea Implementation of jmx api.
There are 2 XML-schema, one is for the main config. XML, and one for the security subsection:
Http://www.bea.com/ns/weblogic/90/domain.xsd
Http://www.bea.com/ns/weblogic/90/security.xsd
The schema are also located in a jar file in the file system:
Bea_home/weblogic90/Server/lib/Schema/weblogic-domain-binding.jar.
Prior to wls9.0, the config. XML was a repository for all configuration information. now WLS subsystems are configured in subsidiary configuration files that are referred to by the central config. XML file. these subsidiary configuration files resides in subdirectories of the/domains/domain_name/config directory.
When the admin server starts up, it saves a jar file named config-booted.jar that contains the configuration files. when you make changes to the files, the old files are saved in the configarchive directory under the domain directory, in a jar file with a Sequentially-numbered name like config-1.jar.
If you create config. xml by hand, you need to locate these credentials, encrypt them, and copy the encrypted credential into your Config. xml file.
Security File needed for every server: serializedsystemini. dat
Security files only needed for the Admin Server:
Defaultauthorizerinit. ldift, defaultauthenticatorinit. ldift, defaultrolemapperinit. ldift
All instances of WLS use a server root directory to store runtime data and to provide the context for any relative pathnames in the server's configuration.
You can specify the path for the server root directory by-dweblogic. rootdirectory = path, if you use nodemanager to start a Weblogic server instance, you can specify a server root directory with the root directory attribute in the Admin console.
If you did not specify a root directory in the Admin console, then the server root directory is:
Bea_home/wl_home/common/nodemanager
(If any path cannot be found, the working directory will be the root directory .)
An sample config. mxl:
<? XML version = "1.0" encoding = "UTF-8"?>
<Domain xsi: schemalocation = "http://www.bea.com/ns/weblogic/90/security
Http://www.bea.com/ns/weblogic/90/security.xsd
Http://www.bea.com/ns/weblogic/90/security/wls
Http://www.bea.com/ns/weblogic/90/security/wls.xsd
Http://www.bea.com/ns/weblogic/90/security/xacml
Http://www.bea.com/ns/weblogic/90/security/xacml.xsd
Http://www.bea.com/ns/weblogic/920/domain
Http://www.bea.com/ns/weblogic/920/domain.xsd "xmlns =" http://www.bea.com/ns/weblogic/920/domain "xmlns: sec =" http://www.bea.com/ns/weblogic/90/security "xmlns: WLS =" http://www.bea.com/ns/weblogic/90/security/wls "xmlns: xsi =" http://www.w3.org/2001/XMLSchema-instance ">
<Name> medrec </Name>
<Domain-version> 10.3.0.0 </domain-version>
<Security-configuration xmlns: XACML = "http://www.bea.com/ns/weblogic/90/security/xacml">
<Name> medrec </Name>
<Realm>
<Sec: Authentication-provider xsi: TYPE = "WLS: default-authenticatortype"/>
<Sec: Authentication-provider xsi: TYPE = "WLS: default-identity-assertertype">
<Sec: Active-type> authenticateduser </sec: Active-type>
</Sec: Authentication-provider>
<Sec: Role-mapper xsi: TYPE = "XACML: XACML-role-mappertype"/>
<Sec: Authorizer xsi: TYPE = "XACML: XACML-authorizertype"/>
<Sec: adjudicator xsi: TYPE = "WLS: default-adjudicatortype"/>
<Sec: Credential-mapper xsi: TYPE = "WLS: default-Credential-mappertype"/>
<Sec: cert-path-provider xsi: TYPE = "WLS: Web-logic-cert-path-providertype"/>
<Sec: cert-path-builder> weblogiccertpathprovider </sec: cert-path-builder>
<Sec: Name> myrealm </sec: Name>
</Realm>
<Default-realm> myrealm </default-realm>
<Credential-encrypted> {3DES} authorization/xhvsopvvcr1dl1vo4swnl6 + cz55vqlfeztnhuo7cfbgf1drcbznkq </Credential-encrypted>
<Node-Manager-username> WebLogic </node-Manager-username>
<Node-Manager-password-encrypted> {3DES} wdcpzbhsy/DPU/ipv5dq0a ==</node-Manager-password-encrypted>
</Security-configuration>
<Server>
<Name> medrecserver </Name>
<SSL>
<Name> medrecserver </Name>
<Enabled> true </enabled>
<Listen-port> 7012 </listen-port>
</SSL>
<Listen-port> 7011 </listen-port>
<Listen-address> Ren </listen-address>
<Network-access-point>
<Name> medrec local network channel </Name>
<Listen-address> localhost </listen-address>
<Public-address> localhost </public-address>
<Listen-port> 7011 </listen-port>
<Public-port> 7011 </public-port>
<Tunneling-enabled> true </tunneling-enabled>
<Two-way-SSL-enabled> true </two-way-SSL-enabled>
</Network-access-point>
</Server>
<Embedded-LDAP>
<Name> medrec </Name>
<Credential-encrypted> {3DES} xuioztarbtcur3yqxyxnq14zkd/r2xpywnewzuh8fq8 = </Credential-encrypted>
</Embedded-LDAP>
<Configuration-version> 10.3.0.0 </configuration-version>
<App-deployment>
<Name> medrec </Name>
<Target> medrecserver </Target>
<Module-type> ear </Module-type>
<Source-path> C:/BEA/wlserver_10.3/samples/Server/medrec/modules/medrec/ASSEMBLY/target/medrec. Ear </source-path>
<Deployment-order> 1 </deployment-order>
<Deployment-Principal-Name> WebLogic </deployment-Principal-Name>
<Security-dd-model> customrolesandpolicies </security-dd-model>
</APP-deployment>
<App-deployment>
<Name> physician </Name>
<Target> medrecserver </Target>
<Module-type> ear </Module-type>
<Source-path> C:/BEA/wlserver_10.3/samples/Server/medrec/modules/physician/ASSEMBLY/target/physician. Ear </source-path>
<Deployment-order> 100 </deployment-order>
<Security-dd-model> customrolesandpolicies </security-dd-model>
</APP-deployment>
<App-deployment>
<Name> browser-starter </Name>
<Target> medrecserver </Target>
<Module-type> war </Module-type>
<Source-path> C:/BEA/wlserver_10.3/samples/Server/medrec/modules/browser-starter/target/browser-starter.war </source-path>
<Deployment-order> 100 </deployment-order>
<Security-dd-model> customrolesandpolicies </security-dd-model>
</APP-deployment>
<Library>
<Name> JSF #1.2@1.2.3.2 </Name>
<Target> medrecserver </Target>
<Module-type> war </Module-type>
<Source-path> C:/BEA/wlserver_10.3/common/deployable-libraries/jsf-1.2.war </source-path>
<Security-dd-model> ddonly </security-dd-model>
</Library>
<Library>
<Name> jstl #1.2@1.2.0.1 </Name>
<Target> medrecserver </Target>
<Module-type> war </Module-type>
<Source-path> C:/BEA/wlserver_10.3/common/deployable-libraries/jstl-1.2.war </source-path>
<Security-dd-model> ddonly </security-dd-model>
</Library>
<File-realm>
<Name> wl_default_file_realm </Name>
</File-realm>
<Realm>
<Name> wl_default_realm </Name>
<File-realm> wl_default_file_realm </file-realm>
</Realm>
<Password-Policy>
<Name> wl_default_password_policy </Name>
</Password-Policy>
<JMS-Server>
<Name> medrecjmsserver </Name>
<Target> medrecserver </Target>
</JMS-Server>
<Self-tuning>
<Work-Manager>
<Name> weblogic. wsee. MDB. dispatchpolicy </Name>
<Target> medrecserver </Target>
</Work-Manager>
</Self-tuning>
<Mail-session>
<Name> mail/medrecmailsession </Name>
<Target> medrecserver </Target>
<JNDI-Name> mail/medrecmailsession </JNDI-Name>
<Properties> mail. User = Joe; mail. Host = mail.mycompany.com </Properties>
</Mail-session>
<JMS-system-resource>
<Name> medrec-JMS </Name>
<! -- Web Service reliable messaging -->
<Target> medrecserver </Target>
<Sub-deployment>
<Name> medrecjmsserver </Name>
<Target> medrecjmsserver </Target>
</Sub-deployment>
<Descriptor-file-Name> JMS/MedRec-jms.xml </descriptor-file-Name>
</JMS-system-resource>
<Admin-server-Name> medrecserver </admin-server-Name>
<Wldf-system-resource>
<Name> medrecwldf </Name>
<Target> medrecserver </Target>
<Descriptor-file-Name> diagnostics/medrecwldf. xml </descriptor-file-Name>
</Wldf-system-resource>
<JDBC-system-resource>
<Name> medrecglobal1_cexa </Name>
<Target> medrecserver </Target>
<Descriptor-file-Name> JDBC/MedRec-jdbc.xml </descriptor-file-Name>
</Jdbc-system-resource>
<SAF-Agent>
<Name> wsrmagent </Name>
<Target> medrecserver </Target>
<Service-type> both </service-type>
</SAF-Agent>
</Domain>