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>/bin
directory:./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>/bin
directory:./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-Dwarfiles
argument, separated by commas. For example, to create thesmcfs.war
andsbc.war
files in addition to thewsc.war
file, set the-Dwarfiles
argument in the commands in Step 2 as-Dwarfiles=wsc,smcfs,sbc
.Running the command in this step creates the
smcfs.ear
file in the<INSTALL_DIR>/external_deployments
directory. It also places the applicable.war
files along with thewsc.war
file in thesmcfs.ear
file. - 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.