Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Quick Start Guide

Using Command-line Tools

The Application Server software offers a variety of command-line tools for performing administrative functions, in addition to the Admin Console. This section explains what command-line tools are available.

To launch a tool, type the name of the tool in a command window. This table lists tools by name in the first column and describes them in the second column.

Name of Tool 



Launches the Application Client Container and invokes the client application packaged in the application Java archive (JAR) file. 


Application Server administration tool for configuring the Application Server software. 


Launches the Jakarta Ant tool, so that you can automate repetitive development and deployment tasks. 


Application Server administration tool for upgrading the Application Server software. 


Extracts schema information from a database and produces a schema file that the server can use for Container Managed Persistence (CMP). 


Creates deployment descriptors for J2EE applications, packages them into JAR, Web archive (WAR), and enterprise archive (EAR) files, and deploys them on the server. 

This tool also provides a graphical user interface. 


Compiles JSP pages. 


Packages the application client container libraries and JAR files. 


Validates the J2EE deployment descriptors with the DTDs. 

This tool also provides a graphical user interface. To see the GUI, specify the -u option.

Some Windows systems launch a driver verifier utility with the same name. To launch the Application Server verifier, you must be in the install_dir/bin directory.


Takes the service definition interface and generates the client stubs or server-side skeletons for JAX-RPC; or generates a Web Services Description Language (WSDL) description for the provided interface. 


Generates an implementation-specific, ready-to-deploy WAR file for web services applications that use JAX-RPC. 

ProcedureTo Configure the Windows Environment to Use the Command-line Tools

  1. From the Explorer window or desktop, right click My Computer.

  2. Choose Properties to display the System Properties dialog.

  3. Click the Advanced tab.

  4. Click Environment Variables.

  5. In the User variables section, add or update the PATH variable.

    • If a PATH variable exists:

      1. Click Edit.

      2. In Variable Value, enter the path to the server’s bin directory, separated from other entries by a semicolon. For example:


    • If a PATH variable is not present:

      1. Click New.

      2. In Variable Name, type PATH.

      3. In Variable Value, type the path to the server’s bin directory:


  6. In the User variables section, add an environment variable AS_ADMIN_USER and set it to the Administrative User Name that you assigned during installation.

  7. Click OK to commit the change and close the remaining open windows.