Installing Web Applications
We supply one Web archive (WAR) file for each Web application in the SDX 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 SDX 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
We provide the JBoss Web application server in the SDX 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:
See Chapter 5, Installing the SDX-300 Software for information about using the Solaris pkgadd utility to install the package.
- During the installation, choose a JBoss configuration when prompted; typically choose the default configuration.
- Start JBoss.
/etc/init.d/jboss startYou can view the log file to observe the process:
/opt/UMC/jboss/server/default/log/server.log/etc/init.d/jboss stopFor instructions about configuring the property files for the SDX 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/deployJBoss automatically starts the Web application when a new WAR file is copied into the deploy directory.