Create the Deployment Plan

5-6 Forms Services Deployment Guide For example, on UNIX operating systems: cd ORACLE_HOMEcustomappj2ee jar cvfM customapp.ear META-INFMANIFEST.MF APP-INF config formsweb.war META-INF On Windows operating systems: cd ORACLE_HOME\customapp\j2ee jar cvfM customapp.ear META-INF\MANIFEST.MF APP-INF\ config\ formsweb.war META-INF\ 8. Clean the extracted EAR file contents. On UNIX operating systems: rm -rf META-INF APP-INF config META-INF formsweb.war On Windows operating systems: RMDIR META-INF APP-INF config META-INF s q DEL formsweb.war

5.2.1.3 Create the Deployment Plan

1.

Create a folder in customapp named 11.1.1. For example, on UNIX operating systems: mkdir -p DOMAIN_HOMEdeploymentplanscustomapp11.1.1 On Windows operating systems, mkdir DOMAIN_HOME\deploymentplans\customapp\11.1.1 2. Copy the following entries to a file DOMAIN_ HOMEdeploymentplanscustomapp11.1.1plan.xml on Windows operating systems, DOMAIN_ HOME\deploymentplans\customapp\11.1.1\plan.xml. Example 5–1 describes a deployment plan with application name of customapp and managed server name of WLS_FORMS_CUSTOM_APP. Ensure you make the following changes: ■ Replace the custom application name, location of EAR file, and managed server with the names and locations in your environment. ■ Replace DOMAIN_HOME, ORACLE_HOME with the absolute paths. Example 5–1 Example of Deployment Plan ?xml version=1.0 encoding=UTF-8? deployment-plan xmlns=http:xmlns.oracle.comweblogicdeployment-plan xmlns:xsi=http:www.w3.org2001XMLSchema-instance xsi:schemaLocation=http:xmlns.oracle.comweblogicdeployment-plan http:xmlns.oracle.comweblogicdeployment-plan1.0deployment-plan.xsd global-variables=false application-namecustomappapplication-name variable-definition variable namevd-ORACLE_HOMEcustomappname valueORACLE_HOMEcustomappvalue variable variable namevd-DOMAIN_HOMEconfigfmwconfigserversWLS_FORMS_CUSTOM_ APPapplicationscustomapp_11.1.1configcustomappname Using Oracle Forms Services with the HTTP Listener and Oracle WebLogic Server 5-7 valueDOMAIN_HOMEconfigfmwconfigserversWLS_FORMS_CUSTOM_ APPapplicationscustomapp_11.1.1configcustomappvalue variable variable-definition module-override module-namecustomapp.earmodule-name module-typeearmodule-type module-descriptor external=false root-elementweblogic-applicationroot-element uriMETA-INFweblogic-application.xmluri module-descriptor module-descriptor external=false root-elementapplicationroot-element uriMETA-INFapplication.xmluri module-descriptor module-descriptor external=true root-elementwldf-resourceroot-element uriMETA-INFweblogic-diagnostics.xmluri module-descriptor module-override module-override module-nameformsweb.warmodule-name module-typewarmodule-type module-descriptor external=false root-elementweblogic-web-approot-element uriWEB-INFweblogic.xmluri variable-assignment namevd-ORACLE_HOMEcustomappname xpathweblogic-web-appvirtual-directory-mapping[url-pattern=java]l ocal-pathxpath variable-assignment variable-assignment namevd-ORACLE_HOMEcustomappname xpathweblogic-web-appvirtual-directory-mapping[url-pattern=webutil ]local-pathxpath variable-assignment variable-assignment namevd-DOMAIN_HOMEconfigfmwconfigserversWLS_FORMS_CUSTOM_ APPapplicationscustomapp_11.1.1configcustomappname xpathweblogic-web-appvirtual-directory-mapping[url-pattern=registry ]local-pathxpath variable-assignment module-descriptor module-descriptor external=false root-elementweb-approot-element uriWEB-INFweb.xmluri module-descriptor module-override deployment-plan

5.2.1.4 Deploy the Custom EAR file