Deploy the enterprise archive package
About this task
To make the application available for use, you must deploy the application EAR file.
To create and deploy the application EAR file:
Procedure
- Set up the application server appropriately for deploying the application. For more information about setting up the application server, refer Installing 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 (.cmdfor Windows) -Dappserver=<application server> -Dwarfiles=isccs -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 (.cmdfor Windows) -Dsupport.multi.war=true -Dappserver=<application server> -Dwarfiles=isccs,<comma-separated packages> -Dearfile=smcfs.earNote: 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 theisccs.warfile, set the-Dwarfilesargument in the commands in Step 2 as follows:-Dwarfiles=isccs,smcfs,sbcRunning the command in this step creates the
smcfs.earfile in the<INSTALL_DIR>/external_deploymentsdirectory. It also places the applicable.warfiles along with theisccs.warfile in thesmcfs.earfile.
- To create the application EAR file for a single-war
deployment, run the following command from the
- Deploy the EAR file on the application server.