The J2EETM Tutorial
Home
TOC
PREV TOC NEXT Search
Feedback

Verifier

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

You can run the verifier three ways:

To run the 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 has the following syntax:

verifier [options] <filename> 

The filename argument is the name of a J2EE component file. The following table lists the options.

Table 46 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, 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 lists the details in the lower portion of the screen.
Home
TOC
PREV TOC NEXT Search
Feedback