Generate the PolicyCenter WAR file for JBoss

Before you begin

Before proceeding, complete Add a servlet definition for JBoss.

About this task

You can build the PolicyCenter WAR file for JBoss with or without JDBC drivers by using one of the following build commands:

warJbossDbcp

Builds the WAR file with JDBC drivers. PolicyCenter manages the database connection pool.

warJbossJndi

Builds the WAR file without JDBC drivers. JBoss manges a JNDI database connection pool.

Procedure

  1. Open a command prompt and navigate to the PolicyCenter installation directory.
  2. Execute one of the following commands:
    • gwb warJbossDbcp
    • gwb warJbossJndi

    Both commands generate the PolicyCenter WAR file in the PolicyCenter dist/war/JbossJndi or dist/war/JbossDbcp directory.

  3. Deploy the package to JBoss according to the instructions for deploying an application included with JBoss.

What to do next

After completing this procedure, proceed to Start PolicyCenter on JBoss.