![]() |
|
To validate an archive from the Server Shell, type:
java com.pramati.j2ee.deploy.validator.earvalidator.EARValidator <name and location of the archive>Note: Before validating an archive from the command prompt, ensure that the classpath has been set. To set the classpath, run setup.sh on Unix or setup.bat on Windows located at <install_dir>/server/bin.
The following options can be specified with this command:
Table 1: Commands for Validating an Archive
| Option | Description |
|---|---|
| -a | Generates and displays a report of all the severity levels after validation is complete. |
| -w | Generates and displays a report of messages with Warning and Failed severity levels. |
| -f | Generates and displays a report of messages with Failed severity level. This is the default option. |
| -v | Generates the results of the validation in the verbose mode. |
| -o | Saves the results of the validation to a text file. |
For example, at the command prompt, type:
java com.pramati.tools.validator. earvalidator.EARValidator -a -oreport.txt orderApp.ear.
Click here to know how to deploy applications using Server Shell.
| © Pramati Technologies 2007 | Runs on Pramati Server | Feedback | Legal |