The Admin Console is a browser-based tool that features an easy-to-navigate interface and online help. The administration server must be running to use the Admin Console.
When the Application Server was installed, you chose a port number for the server, or used the default port of 4848 . You also specified a user name and master password.
To start the Admin Console, in a web browser type:
http://hostname:port
For example:
http://kindness.sun.com:4848
If the Admin Console is running on the machine on which the Application Server was installed, specify localhost
for the host name.
On Windows, start the Admin Console from the Start menu by choosing Programs -> Sun Microsystems -> J2EE 1.4 SDK -> Admin Console.
The installation program creates the default administrative domain (named domain1
) with the default port number 4848.After installation, additional administration domains can be created. Each domain has its own domain administration server, which has a unique port number. When specifying the URL for the Admin Console, be sure to use the port number for the domain to be administered.
The asadmin
utility is a command-line tool. Use the asadmin
utility and the commands associated with it to perform the same set of tasks that can be performed in the Admin Console. For example, start and stop domains, configure the server, and deploy applications.
Use these commands either from a command prompt in the shell, or call them from other scripts and programs. Use these commands to automate repetitive administration tasks.
To start the asadmin
utility:
$ asadmin
To list the commands available within asadmin
:
asadmin> help
It is also possible to issue an asadmin
command at the shell’s command prompt:
$ asadmin help
To view a command’s syntax and examples, type help
followed by the command name. For example:
asadmin> help create-jdbc-resource
The asadmin help
information for a given command displays the Unix man page of the command. These man pages are also available in HTML format.