Oracle9ias Containers For J2EE Release Guide - (Package and Deployment)

xiaoxiao2021-03-06  40

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: Webj2ee Application Description Webj2ee.war Note that there is no comment within its structure. Its directory structure is: Temp | | --META-INF / | - Application.xml (payment case) At the same time, put the good WebJ2EE.WAR package into TEMP, the summary is as follows: Temp | | - META- INF / | | - Application.xml | | - Webj2ee.war In the Temp Root Directory with Java's JAR command to WebJ2EE.EAR: JAR CVFM AppName.ear. Note The command is last there. Number; pay attention to your full directory The structure is:

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

转载请注明原文地址:https://www.9cbs.com/read-77522.html

New Post(0)