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>/bin
directory:./buildear.sh (.cmd
for 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>/bin
directory:./buildear.sh (.cmd
for Windows) -Dsupport.multi.war=true -Dappserver=<application server> -Dwarfiles=isccs,<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 theisccs.war
file, set the-Dwarfiles
argument in the commands in Step 2 as follows:
-Dwarfiles=isccs,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 theisccs.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 file on the application server.