Deploying the enterprise archive package

To make the application available for use, you must deploy the application EAR file.

Procedure

  1. Set up the application server.
  2. 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 the smcfs.war and sbc.war files in addition to the wsc.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 the wsc.war file in the smcfs.ear file.

  3. Deploy the EAR package on the application server. For more information about deploying the EAR package on a particular application server.