The J2EETM Tutorial
Home
TOC
Index
PREV TOP NEXT Search
Feedback

Verifier Tool

The verifier tool validates J2EE archive files (EAR, WAR, JAR).

You can run verifier three ways:

To run verifier from within the deploytool GUI, choose Verifier from the Tools menu. The following sections explain how to run the verifier the other two ways.

Command-Line Verifier

The command-line verifier tool has the following syntax:

verifier [options] <filename>
 

The filename argument is the name of a J2EE component file.

Table B-6 verifier Options
Syntax
Description
-v
Displays a verbose version of output.
-o <output-file>
Writes the results to the specified <output-file>, overriding the default Results.txt file.
-u
Runs the stand-alone GUI version.
-<report-level>
Determines whether warnings or failures are reported. The <report-level> may be either a, w, or f:
a (all results)
w (warnings only)
f (failures only)
By default, only warnings and failures are reported.

Stand-Alone GUI Verifier

To run the stand-alone GUI verifier tool, follow these steps:

  1. From the command-line prompt, type:
       verifier -u
     
    
  2. To select a file for verification, click Add.
  3. Select the radio button to indicate the report level:
    • All Results
    • Failures Only
    • Failures and Warnings Only
  4. Click OK.
  5. The verifier tool lists the details in the lower portion of the screen.
Home
TOC
Index
PREV TOP NEXT Search
Feedback