[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Installing Web Applications

We supply one Web archive (WAR) file for each Web application in the SRC software distribution and the application library CD. You must deploy Web applications in a Web application server.

The exact way you install Web applications depends on the Web application server you are using and the particular Web application. The following procedure provides general steps for installing a Web application:

  1. Install the Web application server on the host.
  2. Start the Web application server.
  3. If the Web application requires configuration of a properties file, complete the following procedure:
  1. Copy the WAR file from the SRC software distribution or application library CD to a temporary folder on the host.
  2. Unpack the WAR file.

For information about unpacking and packing WAR files, see http://java.sun.com/j2se/1.4/docs/guide/jar/

  1. Edit the properties file for the Web application.
  2. Repack the WAR file.
  1. Deploy the WAR file by using the procedure appropriate for your Web application server.

For information about deploying WAR files, see the documentation for your Web application software.

Installing Web Applications Inside JBoss on a Solaris Platform

SRC software for Solaris platforms provides the JBoss Web application server in the SRC software distribution. JBoss is an open-source Java application server that provides full support for J2EE application programming interfaces (APIs).

To deploy a Web application inside JBoss:

  1. Install the UMCjboss package from the SRC software distribution.

For information about using the Solaris pkgadd utility to install the package, see Chapter 28, Installing the SRC Software on a Solaris Platform.

  1. During the installation, choose a JBoss configuration when prompted; typically choose the default configuration.
  2. Start JBoss.
  3. /etc/init.d/jboss start
    
    
    

You can view the log file to observe the process:

/opt/UMC/jboss/server/default/log/server.log

  1. Customize the properties file for the Web application.

For instructions about configuring the property files for the SRC Web applications, see the documentation for that application.

  1. Deploy the WAR file by copying it into the JBoss default/deploy directory.
  2. cp <filename>.war /opt/UMC/jboss/server/default/deploy
    
    
    

JBoss automatically starts the Web application when a new WAR file is copied into the deploy directory.

Stopping JBoss

To stop JBoss:

  1. On the host on which JBoss is installed, log in as root or as an authorized nonroot admin user.
  2. Stop JBoss.
  3. /etc/init.d/jboss stop
    
    
    

[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]