Generate and deploy the PolicyCenter WAR file for Tomcat
Before you begin
About this task
You can build the PolicyCenter WAR file for Tomcat with or without JDBC drivers by using one of the following commands:
|
Builds the WAR file with JDBC drivers. PolicyCenter manages the database connection pool. |
|
Builds the WAR file without JDBC drivers. JBoss manges a JNDI database connection pool. |
Procedure
- Open a command prompt and navigate to the PolicyCenter installation directory.
-
Execute one of the following commands:
- gwb warTomcatDbcp
- gwb warTomcatJndi
Both commands generate the PolicyCenter WAR file in the PolicyCenter dist/war directory.
-
Before you deploy PolicyCenter to Tomcat, verify that environment variable
CATALINA_OPTShas the following value:-Xms1024M -Xmx2G -
Deploy the package to Tomcat by copying the
pc.war file to the webapps directory in your Tomcat server.
Results
As Tomcat starts up, it automatically recognizes PolicyCenter and unpacks the pc.war into a directory structure
within Tomcat\webapps. For this example, Tomcat creates a Tomcat/webapps/pc directory. Each time you
deploy a new copy of a pc.war file, delete the pre-existing pc directory structure created by the old pc.war file.
What to do next
After completing this procedure, review the post-installation tasks in Additional PolicyCenter setup tasks. Then, proceed to Start PolicyCenter on Tomcat on Windows.
