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:
- Install the Web application server on the host.
- Start the Web application server.
- If the Web application requires configuration of a properties file, complete the following procedure:
- Copy the WAR file from the SRC software distribution or application library CD to a temporary folder on the host.
- Unpack the WAR file.
For information about unpacking and packing WAR files, see
http://java.sun.com/j2se/1.4/docs/guide/jar/
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:
For information about using the Solaris pkgadd utility to install the package, see Chapter 33, Installing the SRC Software on a Solaris Platform.
- During the installation, choose a JBoss configuration when prompted; typically choose the default configuration.
- Start JBoss.
/etc/init.d/jboss start
You can view the log file to observe the process:
/opt/UMC/jboss/server/default/log/server.log
For instructions about configuring the property files for the SRC Web applications, see the documentation for that application.
- Deploy the WAR file by copying it into the JBoss default/deploy directory.
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