Generate the PolicyCenter EAR file for WebSphere

Before you begin

Before proceeding, complete Add a welcome-file-list element to file web.xml.

About this task

You can build the PolicyCenter EAR file for WebSphere with or without JDBC drivers using the following commands:

earWeblogicDbcp

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

earWeblogicJndi

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 earWeblogicDbcp
    • gwb earWeblogicDbcp

Results

Executing either of these commands does the following:

  • It builds the EAR file and place it the PolicyCenter dist/ear directory.
  • It packages file modules/configuration/deploy/WEB-INF/web.xml in the EAR file.

What to do next

After completing this procedure, proceed to Install the PolicyCenter EAR file on WebSphere.