WebLogic config.xml — AdminServer with admin port

Reference config.xml generated by WLS 14.1.2.0 via Remote Console on reishi (2026-06-18). Trimmed — placeholders shown for large blocks.

<?xml version='1.0' encoding='UTF-8'?>
<domain xmlns="http://xmlns.oracle.com/weblogic/domain"
        xmlns:sec="http://xmlns.oracle.com/weblogic/security"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:wls="http://xmlns.oracle.com/weblogic/security/wls"
        xsi:schemaLocation="http://xmlns.oracle.com/weblogic/security/wls http://xmlns.oracle.com/weblogic/security/wls/1.0/wls.xsd
                            http://xmlns.oracle.com/weblogic/domain http://xmlns.oracle.com/weblogic/1.0/domain.xsd
                            http://xmlns.oracle.com/weblogic/security/xacml http://xmlns.oracle.com/weblogic/security/xacml/1.0/xacml.xsd
                            http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator/1.0/passwordvalidator.xsd
                            http://xmlns.oracle.com/weblogic/security http://xmlns.oracle.com/weblogic/1.0/security.xsd
                            http://xmlns.oracle.com/weblogic/security/extension http://xmlns.oracle.com/weblogic/1.0/security.xsd">
  <name>base_domain</name>
  <domain-version>14.1.2.0.0</domain-version>
  <security-configuration>
    <!-- ... realm, authentication providers, credential-encrypted ... -->
  </security-configuration>
  <server>
    <name>AdminServer</name>
    <listen-address></listen-address>
  </server>
  <embedded-ldap>
    <!-- ... -->
  </embedded-ldap>
  <administration-port-enabled>true</administration-port-enabled>
  <administration-port>9003</administration-port>
  <configuration-version>14.1.2.0.0</configuration-version>
  <app-deployment>
    <!-- ... -->
  </app-deployment>
  <admin-server-name>AdminServer</admin-server-name>
</domain>

Notes:

• <administration-port-enabled> and <administration-port> appear AFTER <server> and <embedded-ldap> in the WLS-generated file. The earlier assumption that they must precede <server> was wrong.

• <listen-port> is absent when using the default (7001) — WLS omits default values. <listen-address> is present but empty when no listen address is set.

• Admin port is domain-wide (all servers inherit it), SSL-only, requires admin credentials. Set to a non-default value to force it to appear in config.xml — default 9002 is omitted.

Key corrections made to the note

• Element ordering was wrong — <administration-port-enabled> and <administration-port> come AFTER <server> and <embedded-ldap>, not before as previously stated.

• <listen-port> is absent when using the default port (7001). WLS omits default values from config.xml.

• <listen-address> is present but empty when no listen address is explicitly set — it is not omitted entirely.

• Set administration-port to a non-default value (not 9002) to force it to appear in config.xml — WLS omits the default.

version 1  ·  created 2026-06-18  ·  updated 2026-06-18