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:
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.
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.
Configuration of the application datasource can often be done through a management console application or by editing server configuration files directly.
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:
projectdir\ant\generic\
directory.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.