Use admin.jar to press the Application deployment of the EAR package 1> Package application to package the application directory structure
Root Catalog / JSP Program Directory / WEB-INF / CLASSES / LIB / Web.xml
In the root directory, use Java's JAR command to package it as a WebJ2EE.war file. Such as: WAR package jar -cvf xxx.war ./
Create a new TEMP root directory, establish a meta-inflicide in the directory, which is newly built, its content is: XML Version = "1.0" encoding = "utf-8"?>
2> Deploy: java -jar admin.jar ORMI: // Host: Port Username Password -Deploy-file filename -deploymentname app_name-targetpath path / destination
After the parameter file follows the Local path of the EAR file and the filename parameter deploymentname, following the user-defined Web Application Name Parameter TargetPath deployed with the Web Application, the default is / Application