The Sun ONE Application Server can have multiple Sun ONE Application Server instances. Each application server instance has its own configuration, resources, and application deployment areas that are independent of other application server instances. If you change the configuration for one application server instance, the configurations of other application server instances are not affected.
![]() |
Sun ONE Application Server creates one application server instance, called server1, during the installation. For many users, one application server instance meets their needs. However, depending upon your environment, you might want to create one or more additional application server instances. For example, in a development environment you can use different application server instances to test different Sun ONE Application Server configurations, or to compare and test different application deployments. Because you can easily add or delete an application server instance, you can use them to create temporary “sandbox” areas to experiment with while developing. |
To create a new application server instance:
In the Explorer's Runtime tab,
expand
the Server Registry
Installed Servers
Sun ONE Application Server 7 node.
![]() |
If you do not see any Administration Server nodes, the Administration Server of the Sun ONE Application Server must be added under the Installed Servers subnode of the Server Registry node. See here for more information. |
To delete an application server instance:
In the Explorer's Runtime tab,
expand
the Server Registry
Installed Servers
Sun ONE Application Server 7
Administration Server node.
To set this application server instance as the default application server for all J2EE applications deployed from the IDE:
To apply changes made to the application server instance, right-click the server instance node and choose Apply Changes. For some changes, you might also have to restart the application server instance before the new settings can take an effect.
To update the information of the server instance node with the latest setting right-click the server instance node and choose Refresh List.
To start an application server instance:
To stop an application server instance:
The Sun ONE Application Server maintains a server event log. To view the log, right-click the server instance node and choose View server log. In the output window, the server event log is displayed.
The Sun ONE Application Server maintains a server access log. To view the log, right-click the server instance node and choose View access log. In the output window, the server access log is displayed.