Deploying the enterprise archive package
To make the application available for use, you must deploy the application EAR file.
Procedure
- Set up the application server.
- Create the EAR package for the application server.
- To create the application EAR file for a single-war deployment,
run the following command from the
<INSTALL_DIR>/bindirectory:./buildear.sh (.cmd for Windows) -Dappserver=<application server> -Dwarfiles=wsc -Dearfile=smcfs.ear - To create the application EAR file for a multi-war deployment,
run the following command from the
<INSTALL_DIR>/bindirectory:./buildear.sh (.cmd for Windows) -Dsupport.multi.war=true -Dappserver=<application server> -Dwarfiles=wsc,<comma-separated packages> -Dearfile=smcfs.ear
Note: To create additional WAR files, add the appropriate packages to the value of the-Dwarfilesargument, separated by commas. For example, to create thesmcfs.warandsbc.warfiles in addition to thewsc.warfile, set the-Dwarfilesargument in the commands in Step 2 as-Dwarfiles=wsc,smcfs,sbc.Running the command in this step creates the
smcfs.earfile in the<INSTALL_DIR>/external_deploymentsdirectory. It also places the applicable.warfiles along with thewsc.warfile in thesmcfs.earfile. - To create the application EAR file for a single-war deployment,
run the following command from the
- Deploy the EAR package on the application server. For more information about deploying the EAR package on a particular application server.