The Sun Java System Application Server configuration is stored in the domain.xml file. The domain.xml is a document that represents the configuration state of the Application Server. It is the central repository for a given administrative domain. The document contains an XML representation of the Application Server domain model. The contents of domain.xml are governed by the specification expressed in the form of the domain DTD.
This section contains the following topics:
When making any of the following configuration changes, restarting the server is required for the changes to take effect:
Changing JVM options
Changing port numbers
Managing HTTP, IIOP, and JMS services
Managing thread pools
For instructions, see Restarting the Domain.
When making any of the following configuration changes, if dynamic configuration is enabled, restarting the server is NOT required for the changes to take effect:
Deploying and undeploying applications
Adding or removing JDBC, JMS, and Connector resources and pools
Changing logging levels
Adding file realm users
Changing monitoring levels
Enabling and disabling resources and applications
Note that the asadmin reconfig command has been deprecated and is no longer necessary. Configuration changes are applied to the server dynamically.
The following table describes the port listeners of the Application Server.
Table 1–1 Application Server Listeners that Use Ports
Listener |
Default Port Number |
Description |
---|---|---|
Administrative server |
4849 |
A domain’s administrative server is accessed by the Administration Console and the asadmin utility. For the Administration Console, specify the port number in the URL of the browser. When executing an asadmin command remotely, specify the port number with the --port option. |
HTTP |
8080 |
The Web server listens for HTTP requests on a port. To access deployed Web applications and services, clients connect to this port. |
HTTPS |
8181 |
Web applications configured for secure communications listen on a separate port. |
IIOP |
3700 |
Remote clients of enterprise beans (EJB components) access the beans through the IIOP listener. |
IIOP, SSL |
3820/3890 |
Another port is used by the IIOP listener configured for secure communications. |
IIOP, SSL and mutual authentication |
Another port is used by the IIOP listener configured for mutual (client and server) authentication. |
|
JMX |
8686 |
Another port is used by the JMX connector to communicate with the DAS. |
The Application Server relies on the Java 2 Standard Edition (J2SE) software. When the Application Server was installed, the directory for the J2SE software was specified. For instructions on changing the J2SE software, see Chapter 17, Java Virtual Machine and Advanced Settings.