Generic

It should be possible to install your application onto any J2EE application server by following the steps below. Note that you may need to consult your application servers manual to perform these steps:

1. Identify and create additional deployment descriptors

Many application servers have their own deployment descriptors for each of the standard J2EE deployment descriptors. These descriptors provide additional information specific to that particular application server. For example, Weblogic uses a weblogic.xml deployment descriptor to complement the standard web.xml deployment descriptor.

2. Install relevant JDBC drivers

For many application servers this can be done by simply copying the jar files to the correct location and restarting the server. Others may require changes to scripts and the classpath variables.

3. Configure datasource

Configuration of the application datasource can often be done through a management console application or by editing server configuration files directly.

4. Install the application

The application includes a generic Ant build.xml file and associated build.properties file located in the projectdir\ant\generic\ directory. This script has an install target that builds and application WAR file and copies the into a deployment directory. You can execute this by following these steps:

  1. Open up a in the projectdir\ant\generic\ directory.
  2. Execute ant install

Note: this requires the j2ee.home and deploy.dir properties to be set in the build.properties file.

If additional deployment descriptors were created in step 1 you may need to modify the build script to include them in the application WAR file.

Related tasks