Creating Deployment Descriptors

The enterprise archives (EAR files) for a VTA contain several modules that require deployment descriptors for the J2EE application server. In these EAR files are sample deployment descriptors for several J2EE application servers. See the Release Notes for information about the J2EE servers that we have tested with the SRC-VTA.

To determine the names of the files that contain the descriptors and how to edit them, see the documentation for your J2EE application server.

To deploy the SRC-VTA in a J2EE application server that we have not tested, you may need to develop your own deployment descriptors. In this case, you may be able to use the samples we provide as a guide.

To create a deployment descriptor:

  1. Create a folder for the VTA on a host.
    mkdir vta
  2. Copy the EAR file for the VTA from the archive file to the folder that you created in Step 1.
  3. From the EAR file, extract the following files into the folder you created:
    • vtacore.jar
    • datamgr.jar
    • quotadp.jar

      For example:

      cd vta
      jar xvf quotavta.ear datamgr.jar
  4. For each JAR file you extracted, extract the file that defines the deployment descriptors for the J2EE application server. For example, for JBoss:
    jar xvf datamgr.jar META-INF/jboss.xml
  5. Edit the file that defines the deployment descriptors for the J2EE application server.
  6. Replace in the JAR file the file that defines the deployment descriptors for the J2EE application server. For example:
    jar uvf datamgr.jar META-INF/jboss.xml
  7. Replace the JAR file in the EAR file. For example:
    jar uvf quotavta.ear datamgr.jar