Install
Install
PolicyCenter®
Installation Guide
R E L EA S E 9. 0 . 0
Copyright © 2001-2016 Guidewire Software, Inc.
Guidewire, Guidewire Software, Guidewire ClaimCenter, Guidewire PolicyCenter, Guidewire BillingCenter,
Guidewire Reinsurance Management, Guidewire ContactManager, Guidewire Vendor Data Management,
Guidewire Client Data Management, Guidewire Rating Management, Guidewire InsuranceSuite, Guidewire
ContactCenter, Guidewire Studio, Guidewire Product Designer, Guidewire Live, Guidewire DataHub, Guidewire
InfoCenter, Guidewire Standard Reporting, Guidewire ExampleCenter, Guidewire Account Manager Portal,
Guidewire Claim Portal, Guidewire Policyholder Portal, Guidewire Spotlight, Gosu, Adapt and succeed, and the
Guidewire logo are trademarks, service marks, or registered trademarks of Guidewire Software, Inc. in the
United States and/or other countries.
All other trademarks are the property of their respective owners.
This material is confidential and proprietary to Guidewire and subject to the confidentiality terms in the
applicable license agreement and/or separate nondisclosure agreement.
Guidewire products are protected by one or more United States patents.
Product Name: Guidewire PolicyCenter
Product Release: 9.0.0
Document Name: PolicyCenter Installation Guide
Document Revision: 24-June-2016
PolicyCenter 9.0.0 Installation Guide
Contents
About PolicyCenter Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Conventions in This Document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1 Introduction to Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Installation Topic Roadmap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Selecting an Installation Scenario. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Servers, Databases, and Installation Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Graphical Overview of Development and Production Environments . . . . . . . . . . . . . . . . . . . . . . 13
2 Preparing a PolicyCenter Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Installation Environments Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Creating Accounts to Run PolicyCenter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Hiding Apache Version Information on Error Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Configuring the Application Server for Guidewire Applications. . . . . . . . . . . . . . . . . . . . . . . . . . 17
Supported Uses of Application Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
General Guidelines for Application Server Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Special Considerations for Clustered Application Server Environments . . . . . . . . . . . . . . . . . 18
Configuring the JVM for Environments Without Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
JVM Heap Size Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Load Balancers and Guidewire Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Optional Components Installed with Guidewire Applications . . . . . . . . . . . . . . . . . . . . . . . . . 21
Special Considerations for Configuring JBoss . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Special Considerations for Configuring Tomcat. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Configuring WebLogic for Guidewire Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Configuring WebSphere for Guidewire Applications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Configuring the Database Server for Guidewire Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Overview of Database Configuration for Guidewire Applications. . . . . . . . . . . . . . . . . . . . . . 27
Configuring Database Permissions for Guidewire Applications . . . . . . . . . . . . . . . . . . . . . . . 28
Configuring Linguistic Search Collation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Configuring the Behavior of Deferrable Indexes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Configuring Compression for Databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Configuring Compression for Oracle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Configuring Compression for SQL Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Configuring Oracle for PolicyCenter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Configuring SQL Server for PolicyCenter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Development Workstation Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Web Client Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Levels of Guidewire Support for Web Browsers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Enabling DOM Storage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Installing Java . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Supported Java Version. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
The Dynamic Code Evolution Virtual Machine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Setting Environment Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Documenting Your Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
3 Installing a PolicyCenter Development Environment . . . . . . . . . . . . . . . . . . . . . . . . 51
Overview of Development Environment Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Using Multiple PolicyCenter Development Instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Contents 3
PolicyCenter 9.0.0 Installation Guide
4 Contents
PolicyCenter 9.0.0 Installation Guide
Contents 5
PolicyCenter 9.0.0 Installation Guide
6 Contents
PolicyCenter 9.0.0 Installation Guide
Document Purpose
InsuranceSuite Guide If you are new to Guidewire InsuranceSuite applications, read the InsuranceSuite Guide for
information on the architecture of Guidewire InsuranceSuite and application integrations.
The intended readers are everyone who works with Guidewire applications.
Application Guide If you are new to PolicyCenter or want to understand a feature, read the Application Guide.
This guide describes features from a business perspective and provides links to other books
as needed. The intended readers are everyone who works with PolicyCenter.
Upgrade Guide Describes the overall PolicyCenter upgrade process, and describes how to upgrade your
PolicyCenter database from a previous major version. The intended readers are system
administrators and implementation engineers who must merge base application changes
into existing PolicyCenter application extensions and integrations.
Configuration Upgrade Guide Describes how to upgrade your PolicyCenter configuration from a previous major version.
The intended readers are system administrators and implementation engineers who must
merge base application changes into existing PolicyCenter application extensions and inte-
grations. The Configuration Upgrade Guide is published with the Upgrade Tools, and is
available on the Guidewire Resource Portal.
New and Changed Guide Describes new features and changes from prior PolicyCenter versions. Intended readers
are business users and system administrators who want an overview of new features and
changes to features. Consult the “Release Notes Archive” part of this document for changes
in prior maintenance releases.
Installation Guide Describes how to install PolicyCenter. The intended readers are everyone who installs the
application for development or for production.
System Administration Guide Describes how to manage a PolicyCenter system. The intended readers are system admin-
istrators responsible for managing security, backups, logging, importing user data, or appli-
cation monitoring.
Configuration Guide The primary reference for configuring initial implementation, data model extensions, and
user interface (PCF) files. The intended readers are all IT staff and configuration engineers.
PCF Reference Guide Describes PolicyCenter PCF widgets and attributes. The intended readers are configuration
engineers.
Data Dictionary Describes the PolicyCenter data model, including configuration extensions. The dictionary
can be generated at any time to reflect the current PolicyCenter configuration. The intended
readers are configuration engineers.
Security Dictionary Describes all security permissions, roles, and the relationships among them. The dictionary
can be generated at any time to reflect the current PolicyCenter configuration. The intended
readers are configuration engineers.
Globalization Guide Describes how to configure PolicyCenter for a global environment. Covers globalization top-
ics such as global regions, languages, date and number formats, names, currencies,
addresses, and phone numbers. The intended readers are configuration engineers who
localize PolicyCenter.
Rules Guide Describes business rule methodology and the rule sets in PolicyCenter Studio. The
intended readers are business analysts who define business processes, as well as pro-
grammers who write business rules in Gosu.
Document Purpose
Contact Management Guide Describes how to configure Guidewire InsuranceSuite applications to integrate with
ContactManager and how to manage client and vendor contacts in a single system of
record. The intended readers are PolicyCenter implementation engineers and
ContactManager administrators.
Best Practices Guide A reference of recommended design patterns for data model extensions, user interface,
business rules, and Gosu programming. The intended readers are configuration engineers.
Integration Guide Describes the integration architecture, concepts, and procedures for integrating
PolicyCenter with external systems and extending application behavior with custom pro-
gramming code. The intended readers are system architects and the integration program-
mers who write web services code or plugin code in Gosu or Java.
Java API Reference Javadoc-style reference of PolicyCenter Java plugin interfaces, entity fields, and other utility
classes. The intended readers are system architects and integration programmers.
Gosu Reference Guide Describes the Gosu programming language. The intended readers are anyone who uses
the Gosu language, including for rules and PCF configuration.
Gosu API Reference Javadoc-style reference of PolicyCenter Gosu classes and properties. The reference can
be generated at any time to reflect the current PolicyCenter configuration. The intended
readers are configuration engineers, system architects, and integration programmers.
Glossary Defines industry terminology and technical terms in Guidewire documentation. The intended
readers are everyone who works with Guidewire applications.
Product Model Guide Describes the PolicyCenter product model. The intended readers are business analysts and
implementation engineers who use PolicyCenter or Product Designer. To customize the
product model, see the Product Designer Guide.
Product Designer Guide Describes how to use Product Designer to configure lines of business. The intended read-
ers are business analysts and implementation engineers who customize the product model
and design new lines of business.
Support
For assistance, visit the Guidewire Resource Portal – http://guidewire.custhelp.com
Introduction to Installation
Installing PolicyCenter starts with understanding the installation options that are available and which option to
choose.
This topic includes:
• “Installation Topic Roadmap” on page 9
• “Selecting an Installation Scenario” on page 10
• “Graphical Overview of Development and Production Environments” on page 13
Introduction to Installation 9
PolicyCenter 9.0.0 Installation Guide
Role Description
Demonstrator or Trainer Starts up the application quickly, loads sample data and demonstrates
features.
Application Developer Changes the behavior of the application including the user interface,
rules, and application logic.
Integration Developer Develops software to connect PolicyCenter to external systems.
Conversion Developer Performs analysis and mapping of legacy data structures to
Guidewire application data model.
Build master deploying to test- Deploys finished application to test and production environments.
ing and production
Note: For information about supported servers and databases and the installation scenarios they support, see
“Servers, Databases, and Installation Scenarios” on page 11.
See also
• “Installation Environments Overview” on page 15
• “Installing a PolicyCenter Development Environment” on page 51
• “Installing a PolicyCenter Production Environment” on page 63
Bundled or
Install element Optional Good to know Links for more Information
QuickStart Application Server Bundled You can immediately use the Quick- “Advantages to Using the Quick-
Start server without configuring it. It Start Software” on page 52
does not build a WAR or EAR file
“QuickStart Application Server”
which is necessary before deploy-
on page 54
ment with other servers.
The QuickStart application server can
be used for demonstration or develop-
ment environments. Guidewire does
not support QuickStart for a produc-
tion environment.
PolicyCenter can be quickly started in
development (dev) mode using the
steps in “Installing the QuickStart
Development Environment” on
page 52. PolicyCenter can not run in
production (prod) mode on QuickStart.
For more information on server
modes, see “Server Modes” on
page 48 in the System Administration
Guide.
JBoss Application Server Optional Suitable for production environments. “Configuring the Application
Server for Guidewire Applica-
tions” on page 17
“Installing a JBoss Production
Environment” on page 81
Tomcat Application Server Optional Suitable for production environments. “Configuring the Application
Server for Guidewire Applica-
You can use Tomcat instead of the
tions” on page 17
QuickStart server for development
work although it requires additional “Installing a Tomcat Develop-
configuration. ment Environment” on page 55
“Installing a Tomcat Production
Environment” on page 82
WebSphere Application Server Optional Suitable for production environments. “Configuring the Application
Server for Guidewire Applica-
tions” on page 17
“Installing a WebSphere Produc-
tion Environment” on page 84
WebLogic Application Server Optional Suitable for production environments. “Configuring the Application
Server for Guidewire Applica-
tions” on page 17
“Installing a WebLogic Produc-
tion Environment” on page 83
Bundled or
Install element Optional Good to know Links for more Information
QuickStart Database Bundled You can immediately use the Quick- “Advantages to Using the Quick-
Start database in file mode. Start Software” on page 52
PolicyCenter creates and stores the
“Using the QuickStart Database”
database files within the tmp directory
on page 57
of the local drive. You can customize
this location.
You can use the QuickStart database
for demonstration or development
environments. Guidewire does not
support QuickStart for a production
environment.
Guidewire does not support upgrades
to the QuickStart database. Configur-
ing your application sometimes
requires extending the data model,
which might require dropping the
database.
You can not have more than one con-
nection at a time.
Oracle Database Optional You can use Oracle for development “Configuring the Database
and production. Server for Guidewire Applica-
tions” on page 27
“Configuring Oracle for
PolicyCenter” on page 34
“Configuring a Database Con-
nection” on page 64
SQL Server Database Optional You can use SQL Server for develop- “Configuring the Database
ment and production. Server for Guidewire Applica-
tions” on page 27
“Configuring SQL Server for
PolicyCenter” on page 41
“Configuring a Database Con-
nection” on page 64
*XLGHZLUH
6WXGLR
'HEXJ
'HYHORSPHQW 'HEXJ
4XLFN6WDUW
6HUYHU
7HVW
6HUYHU
3ROLF\&HQWHU
4XLFN6WDUW'DWDEDVH $SSOLFDWLRQ
DQG
&KHFN2XW6XEPLW
&RQILJXUDWLRQ
)LOHV
'DWDEDVH
/RFDO
&RQILJXUDWLRQ :$5($5
)LOHV
6&0
6\VWHP
3ROLF\&HQWHU'DWDEDVH
Dotted lines indicate actions that you perform. For example, you create a WAR or EAR file from your configured
development environment and move it to the production server.
To assist with this development and testing process, Guidewire bundles the following with the PolicyCenter
application:
• A QuickStart development server
• A QuickStart database
• A QuickStart test server that you cannot control
• A QuickStart test database that is separate from the QuickStart database
Guidewire bundles the QuickStart test server and test database for testing. These components are internally
controlled. You can use either the bundled QuickStart development server bundled with PolicyCenter or use an
external application server such as Tomcat. If you use the QuickStart method, then the default development
server is Jetty and the database is H2. Guidewire does not support the QuickStart application server or database
for a production environment.
You must install and configure necessary system components so that your network can support PolicyCenter.
Additionally, there are preparatory steps to follow to deploy a production instance of PolicyCenter.
IMPORTANT The versions of third-party products that Guidewire supports for this release are subject
to change without notice. See the Guidewire Platform Support Matrix for current system and patch
level requirements. The Guidewire Platform Support Matrix is available from the Guidewire Resource
Portal at https://guidewire.custhelp.com/app/resources/products/platform.
Although production environments can run on operating systems other than Windows, development environ-
ments must be on Windows. However, you can build PolicyCenter on a non-development Unix system prior to
deploying PolicyCenter.
Production Environments
Guidewire strongly recommends that you allocate dedicated hardware for the application server and database
server tiers. Reserve hardware solely for PolicyCenter. Using dedicated hardware is best for performance and for
isolating the cause of any issues that arise.
Although production environments can run on operating systems other than Windows, you must build
PolicyCenter on a Windows system prior to deploying PolicyCenter.
PolicyCenter requires a 64-bit operating system and JVM for a production installation.
To install a production environment, first review all of the information in “Preparing a PolicyCenter Environ-
ment” on page 15. Then proceed to “Installing a PolicyCenter Production Environment” on page 63.
Development Environments
Guidewire supports the use of either the bundled QuickStart application server or the Tomcat application server
for development environments.
For development, all builds must use the Oracle JDK. See “Development Workstation Requirements” on
page 45.
For all development environments, review the following topics:
• “Development Workstation Requirements” on page 45
• “Web Client Information” on page 46
• “Creating Accounts to Run PolicyCenter” on page 16 (Windows information only)
• “Installing Java” on page 47
• “Setting Environment Variables” on page 48
• “Documenting Your Environment” on page 49
If using the Tomcat application server in a development environment, also review:
• “Configuring the Application Server for Guidewire Applications” on page 17
• “Special Considerations for Configuring Tomcat” on page 22
If using an Oracle or SQL Server database server in a development environment, also review:
• “Configuring the Database Server for Guidewire Applications” on page 27
After reviewing the relevant development environment information, proceed to “Installing a PolicyCenter Devel-
opment Environment” on page 51.
See also
• “Development Workstation Requirements” on page 45
• If you run Tomcat on Microsoft Windows, install the PolicyCenter server as a Windows service. See
“Installing Tomcat as a Windows Service” on page 23 for more information.
• For a UNIX-based operating system, the PolicyCenter-related processes must run in non-privileged (user)
mode. A process in non-privileged mode can access only its own memory. To ensure that the PolicyCenter
processes run in the correct mode, create a specific user account on each server and run the corresponding
applications under these accounts.
4. Save httpd.conf.
Guidewire also supports JBoss, WebLogic, and WebSphere application servers for development use. How-
ever, because these application servers do not reload resources modified in Studio without a rebuild and rede-
ploy, they are not ideal for development work.
See also
• For information about the specific application server versions Guidewire supports for PolicyCenter 9.0.0, see
the Guidewire Platform Support Matrix on the Guidewire Resource Portal at https://
guidewire.custhelp.com/app/resources/products/platform.
• For information on configuring the QuickStart application server, see “QuickStart Application Server” on
page 54.
See also
• “Understanding PolicyCenter Server Clustering” on page 113 in the System Administration Guide
See also
• “Clustering Parameters” on page 47 in the Configuration Guide
For more information on setting JVM options, see the documentation provided with your application server.
See also
• “Changing Heap Size in Tomcat on Windows” on page 23
• “Increasing Heap Size for WebLogic” on page 24
• “Increasing Heap Size for WebSphere” on page 25
Refer to the documentation provided with your application server for more information.
32-bit and 64-bit refer to the size of the pointer used to reference an address.
Production environments must use a 64-bit operating system and a 64-bit JVM. 64-bit JVMs inherently use more
memory to host the same number of objects. 32-bit JVMs have an inherent memory scalability limit that differs
significantly across platforms. This scalability limit makes those platforms unsuitable production platforms.
64-bit JVMs are a more scalable option.
Typically, a 64-bit JVM has an approximately 80% heap size overhead. For example, a 1024 MB heap for a
32-bit JVM would host the same amount of objects as a 1843 MB heap for a 64-bit JVM. Generally, non-produc-
tion systems work correctly with heap sizes of 1024MB for a 32-bit JVM and 2048 MB for a 64-bit JVM.
For more information on heap size and tuning your production application to optimal performance, contact
Guidewire Support.
Operating system 32-bit heap size scales to: 64-bit heap size scales to:
Although IBM recommends that the initial Java heap size for WebSphere not be set to the maximum Java heap
size, Guidewire recommends otherwise. The IBM recommendations are not optimal for PolicyCenter. With a
fixed heap, you avoid performance penalties from resizing the heap on the rising edge as the system load rises, or
on the falling edge as load drops off. WebSphere provides several garbage collection policies. Guidewire recom-
mends using the generational concurrent (gencon) garbage collection policy with equal minimum and maximum
heap size.
There is some variance across JVM technology with regard to memory allocation. Guidewire supports
WebSphere on the IBM JVM only. The IBM JVM manages the permanent space without the use of a permanent
size setting.
Enabling Guidewire free-text search requires that you install a different instance of JBoss than the instance that
runs your PolicyCenter application. In a production environment, Guidewire requires that you set up the separate
JBoss instance on a host that is separate from the one that hosts PolicyCenter. This separate instance of the appli-
cation server runs a full-text search engine, Apache Solr.
Whenever you install a separate JBoss instance for Guidewire free-text search, change the HTTP port to 8983.
The standard Solr port is 8983. You configure ports on JBoss in the following file:
JBOSS_HOME/server/default/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml
Edit the file, and change the port property for the WebServer service from 8080 to 8983, as the following
example shows.
<bean class="org.jboss.services.binding.ServiceBindingMetadata">
<property name="serviceName">jboss.web:service=WebServer</property>
<property name="port">8983</property>
See also
• “Setting Up Free-text Search for JBoss” on page 91
• “Installing a Tomcat Instance for Free-text Search” on page 24
By default, a Tomcat connector allows a maximum of 40 concurrent threads. Guidewire recommends that you set
the maximum number of concurrent threads to 200 instead.
2. Find the definition for the http connector. It looks similar to the following:
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
4. Save server.xml.
3. Save context.xml.
4. Click Services.
If you have Tomcat installed, and Tomcat is not run as a Windows Service, set heap size for Tomcat by setting a
Windows environment variable.
Note: For values in step 6, consult “JVM Heap Size Considerations” on page 19.
Guidewire free-text search requires that you set up a different instance of Tomcat than the instance that runs your
PolicyCenter application. In a production environment, Guidewire requires that you set up the separate Tomcat
instance on a host separate from the one that hosts your PolicyCenter application. This separate instance of the
application server runs a full-text search engine, Apache Solr.
Whenever you install a separate Tomcat instance for Guidewire free-text search, change the port for the HTTP/
1.1 protocol to 8983. The standard Solr port is 8983. Edit the file TOMCAT_HOME/conf/server.xml, and change
the connector port for the HTTP/1.1 protocol from 8080 to 8983, as the following example shows.
Connector port="8983" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
See also
• “Setting Up Free-text Search for Tomcat” on page 93
• “Installing a JBoss Instance for Free-text Search” on page 21
• “Installing a WebSphere Instance for Free-text Search” on page 26
Use the USER_MEM_ARGS environment variable to specify arguments to WebLogic during application server
startup.
To support Guidewire applications in WebSphere, increase minimum heap size to 256 and maximum heap size to
1024.
2. From the left menu, select Servers → Server Types → WebSphere application servers, and select your server from the
list on the right.
3. Under Server Infrastructure select Java and Process Management → Process Definition.
7. A message displays stating that changes have been made. Click Save.
Guidewire free-text search requires that you install a different instance of WebSphere than the instance that runs
your PolicyCenter application. In a production environment, Guidewire requires that you set up the separate
WebSphere instance on a host that is separate from the one that hosts PolicyCenter. This separate instance of the
application server runs a full-text search engine, Apache Solr.
Whenever you install a separate WebSphere instance for Guidewire free-text search, change the HTTP port for
the default host and its virtual host to 8983. The standard Solr port is 8983. You configure ports on WebSphere
through the administrative console.
See also
• “Changing the Port Number in WebSphere” on page 26
2. Change the port for the default host in your WebSphere application server.
a. From the Administrative Console, navigate to Servers → Server Types → WebSphere application servers and select
your application server from the list of resources that you can administer.
The console displays the configuration page for your application server.
b. On the right underneath Communications, click Ports.
e. Click Apply.
f. In the Messages box, Click Save to apply the changes to the master configuration.
3. Change the port number for the virtual host in your WebSphere application server.
a. From the Administrative Console, navigate to Environment → Virtual hosts and click the name of your physi-
cal host name. The default name of your physical host is default_host.
The console displays the configuration page for your physical host.
b. On the right underneath Additional Properties, click Host Aliases.
c. Click New.
e. Click OK.
f. In the Messages box, Click Save to apply the changes to the master configuration.
Run the database server on hardware supported by the database server provider. Guidewire can provide assis-
tance with hardware requirements for your production implementation. PolicyCenter depends heavily on
back-end database performance, which in turn depends on storage performance. Optimize the performance of
your database server.
For production systems, Guidewire recommends using a database server dedicated to PolicyCenter. Production
environments must use a 64-bit operating system and 64-bit database engine on the database server.
PolicyCenter synchronizes with the database clock. The application server and database server must be in the
same time zone. The maximum difference allowed between the application server and database server is 29
minutes.
Oracle The pcUser must have the following permissions on the PolicyCenter Oracle database:
• create session
• create procedure
• create trigger
• create table
• create view
• create sequence
• query rewrite
• alter session
• select any dictionary
If your users want to see statspack data on the Server Tools Info Pages → Oracle Statspack screen, grant
the pcUser access to the PolicyCenter performance statistics (perfstat) tables. See “Oracle
Statspack” on page 285 in the System Administration Guide for more information.
SQL Server The pcUser must have the public and db_owner roles on the PolicyCenter SQL Server database.
PolicyCenter supports several different data management pages for performance analysis of the appli-
cation. To use these pages, the pcUser must be granted view server state in PolicyCenter. The
server login account must also have view database state permission on each PolicyCenter data
management view. The data management views all start with sys.dm_ prefix.
Configuration settings at the table level override any configuration set at the database (global) level.
Both the <loader> element and its subelement <loader-table> contain a drop-deferrable-indexes attribute.
This attribute, for each element, takes one of the following values:
• disable
• enable
• enable_all
Although similar, the attribute behavior is slightly different depending on the level at which you set the attribute.
Element drop-deferrable-indexes
See also
• “The Database Configuration File” on page 170 in the System Administration Guide
• “The loader Database Configuration Element” on page 177 in the System Administration Guide
• The disadvantage of compression is that the database requires more CPU time to compress and decompress
data. Furthermore, queries that require either a table scan or a full index scan will require fewer physical and
logical reads because more rows fit on a single data page.
Consult with Guidewire Support about whether compression will improve overall performance of your
PolicyCenter implementation.
The compression settings examples in the following topics demonstrate the syntax you can use to configure
compression. These examples are not provided as guidelines for compression settings for your environment.
A full discussion of table and index compression is beyond the scope of this document. Refer to documentation
from your database vendor for details about compression options.
The <ora-compression> element accepts the attributes table-compression and index-compression. You can
specify one or both attributes. Attributes that you specify for <ora-compression> apply to all tables and indexes
in the database.
The values that you can set for these two attributes are described in the topics that follow.
You can override options for a specific table by adding an <ora-table-compression> element and setting the
table-compression attribute to NONE, BASIC or ADVANCED. The <ora-table-compression> element is contained
in an <ora-table-ddl> element within the <ora-db-ddl> element. For example:
<database>
...
<upgrade>
<ora-db-ddl>
<ora-table-ddl table-name="pc_tableName">
<ora-table-compression table-compression="NONE|BASIC|ADVANCED" />
</ora-table-ddl>
</ora-db-ddl>
</upgrade>
</database>
• A value of NONE specifies that the database or table is not compressed.
• A value of BASIC specifies that the database or table uses Oracle basic compression.
• A value of ADVANCED specifies that the database or table uses Oracle advanced compression.
Note: Oracle advanced compression is part of the Oracle Advanced Compression Option, which requires a
separate license. Refer to Oracle documentation for more information about compression.
The following example specifies advanced compression for the entire database and no compression for the
pc_Activity and pc_Workflow tables.
<database name="PolicyCenterDatabase" dbtype="oracle">
...
<upgrade>
<ora-db-ddl>
<ora-compression table-compression="ADVANCED" />
<ora-table-ddl table-name="pc_Activity">
<ora-table-compression table-compression="NONE" />
</ora-table-ddl>
<ora-table-ddl table-name="pc_Workflow">
<ora-table-compression table-compression="NONE" />
</ora-table-ddl>
</ora-db-ddl>
</upgrade>
</database>
IMPORTANT Oracle spatial indexes are not compressible. If you use the key-columns attribute to
specify a spatial index to compress, PolicyCenter reports an error. If the index is implied to be
compressed by the compression configuration of the database or table, PolicyCenter ignores the
compression setting for a spatial index.
The <mssql-compression> element accepts the attributes table-compression and index-compression. You
can specify one or both attributes. Attributes that you specify for <mssql-compression> apply to all tables and
indexes in the database.
Settings for table-compression and index-compression can apply to the entire database, a table, or an index,
depending on the XML element to which the attribute is applied. In general, these values mean the following:
• A value of NONE specifies that the database or table is not compressed.
• A value of PAGE specifies that the database or table uses page-level compression. Page compression is applied
only when the page gets full. For page compression, the following operations happen in the following order:
• Row compression
• Prefix compression
• Dictionary compression
• A value of ROW specifies that the database or table uses row compression. Row compression drastically
reduces the metadata needed for variable-length columns.
For syntax and a description of the options for table-compression, see the preceding topic.
You can override options for a specific table by adding an <mssql-table-compression> element and setting the
table-compression attribute to NONE, PAGE, or ROW. The <mssql-table-compression> element is contained in
an <mssql-table-ddl> element within the <mssql-db-ddl> element. For example:
<database>
...
<upgrade>
<mssql-db-ddl>
<mssql-table-ddl table-name="pc_tableName">
<mssql-table-compression table-compression="NONE|PAGE|ROW" />
</mssql-table-ddl>
</mssql-db-ddl>
</upgrade>
</database>
The following example specifies row table compression for the entire database, page compression for the
pc_Activity table, and no compression for the pc_Workflow table.
<database name="PolicyCenterDatabase" dbtype="sqlserver">
...
<upgrade>
<mssql-db-ddl>
<mssql-compression table-compression="ROW" />
<mssql-table-ddl table-name="pc_Activity">
<mssql-table-compression table-compression="PAGE" />
</mssql-table-ddl>
<mssql-table-ddl table-name="pc_Workflow">
<mssql-table-compression table-compression="NONE" />
</mssql-table-ddl>
</mssql-db-ddl>
</upgrade>
</database>
</upgrade>
</database>
• You can override options for a specific index by adding an <mssql-index-ddl> element within the
<mssql-table-ddl> element for the table that has the index.
• Specify an index by setting the key-columns attribute of the <mssql-index-ddl> element to a
comma-delimited list of key columns in order.
• Specify DESC after a column name for descending sort order on that column.
For example:
<database>
...
<upgrade>
<mssql-db-ddl>
<mssql-table-ddl table-name="pc_tableName">
<mssql-index-ddl key-columns="column1,column2" index-compression="true|false" />
</mssql-table-ddl>
</mssql-db-ddl>
</upgrade>
</database>
Oracle Java Virtual Machine (JVM) must be installed on all Oracle databases hosting PolicyCenter. The only
exception is when the PolicyCenter application locale is English and you only require case-insensitive searches.
Ensure that Oracle initialization parameter java_pool_size is set to a value of above 50 MB.
Configure Oracle to use asynchronous IOs. Asynchronous IO significantly simplifies a database’s IO manage-
ment while increasing its performance. For performance reasons, tune your operating system to Oracle database
requirements. Oracle provides guidance on tuning your database based on:
• Operating system
• Available memory
• Database release
Consult Oracle documentation and support web site for information on how to tune your database.
The Oracle database supports server-side caching that can help increase PolicyCenter performance. The size of
the Oracle database cache is critical to supporting server-side caching. For internal tests, Guidewire uses a data-
base cache size of 3.6 GB or more. Consult the Oracle documentation for information on selecting a cache size
appropriate to your server computer’s architecture.
After your database is in production, you cannot easily modify the storage architecture. Guidewire recommends
that you test and tune your database’s storage performance prior to installing PolicyCenter. There are many tools
available for optimizing database performance, including an open source tool, IOzone (www.iozone.org).
IMPORTANT Guidewire currently supports single-byte character sets that are a strict superset of
ASCII, and AL32UTF8 or UTF8 for Unicode. Use only a supported character set with PolicyCenter. Refer
to your Oracle documentation for a complete list of supported character sets. WE8ISO8859P1 is a
single-byte character set that supports both Western European languages and American English.
AL32UTF8 and UTF8 are Oracle character sets supported for the storage of Unicode data, such as Asian
characters. If using the AL32UTF8 or UTF8 character set, the Oracle instance must be configured with
nls_length_semantics set to char. Otherwise, the database does not start.
2. Create one or more tablespaces to support the PolicyCenter logical tablespaces. Guidewire recommends that
you create a separate tablespace for each logical tablespace:
You can name your tablespaces anything you like in a production environment: either the same as the logical
tablespace names or entirely different. As you configure PolicyCenter, you map the tablespaces you created
to the PolicyCenter internal logical tablespaces.
For a development environment, use the same tablespace names as the logical names. The gwb dropDb com-
mand only works if the tablespace names match the default logical names.
3. Create a single database user, pcUser, in the PolicyCenter database.
6. Set default tablespace for pcUser to the one being mapped to the OP logical tablespace.
7. If you run the database server and the application server on the same computer, be aware that Oracle adds
directories to the PATH environment variable. To prevent potential conflicts with PolicyCenter files,
Guidewire recommends that you edit your PATH variable and move the Oracle directories to the end, after the
PolicyCenter directories. Guidewire recommends that you do not run database and application servers on the
same computer in a production environment.
8. Test a connection to the database from a database client. Verify that all the tablespaces are visible.
Note: The information in this topic is provided for implementations that experience slow policy queries. If
you do not experience slow policy queries, you do not need to define a resource consumer group for policy
queries.
Oracle provides resource plans and consumer groups to handle resources in the database. One useful feature is to
cancel a query based on the execution time. You can configure PolicyCenter to switch to a resource consumer
group that you define to perform policy searches. You can set this resource consumer group to have a time limit
and cancel SQL operations for policy searches that exceed the time limit.
PolicyCenter saves the initial resource consumer group detected when the application server is started and
reverts to that group following the policy query.
The requirements for using Oracle resource consumer groups for policy queries are:
• The <oracle-settings> attribute db-resource-mgr-cancel-sql is set in database-config.xml to a
resource consumer group defined in Oracle. For example:
<database name="ClaimCenterDatabase" dbtype="oracle">
...
<oracle-settings db-resource-mgr-cancel-sql="" />
...
</database>
• The Oracle resource manager plan is set at the system level.
• The pcUser has privileges to switch between the two resource groups.
PolicyCenter checks these conditions when the server starts.
To specify to use compressed SecureFile LOBs for all LOBs in the database, add the following to the
<database> block.
<ora-db-ddl>
<ora-lobs type="SECURE_COMPRESSED" caching="true|false"/>
</ora-db-ddl>
To specify to use basic file LOBs for all LOBs on a particular table, add the <ora-lobs> element within the
<ora-table-ddl> block for the table.
<ora-db-ddl>
<ora-table-ddl name="pc_tablename">
<ora-lobs type="BASIC" />
</ora-table-ddl>
</ora-db-ddl>
If any LOBs are configured to be SecureFile LOBs, and the LOB tablespace is configured, it must be managed
with Automatic Segment Space Management. If the LOB tablespace is not configured, then the ADMIN, OP and
STAGING tablespaces must be managed with Automatic Segment Space Management.
To specify to use caching for LOBs, add the attribute caching="true" to the <ora-lobs> element.
PolicyCenter does not automatically convert LOBs if you change the configuration. You can convert the tables in
Oracle and then update the PolicyCenter configuration, and PolicyCenter will use the updated configuration for
new objects.
Refer to Oracle documentation for information about basic file, SecureFile, and compressed SecureFile LOBs.
If a keyable table is partitioned, by default, PolicyCenter uses the ID column as the hash column. You can specify
a different column by using the hash-column attribute on <ora-table-hash-partitioning>. For non-keyable
tables, the hash-column attribute is required.
If a keyable table is partitioned, PolicyCenter also partitions the primary key index and the index on PublicID.
This index is on PublicID and Retired if the table is for a retireable entity.
By default, PolicyCenter uses 128 partitions. You can override this number by defining a num-partitions attri-
bute on <ora-table-hash-partitioning>.
Note: PolicyCenter creates partitions only when creating a table or index. PolicyCenter does not modify
existing tables or indexes. If a table is dropped and rebuilt during an upgrade, PolicyCenter partitions the
table if the table is configured to be partitioned. The schema verifier detects and flags if a table is config-
ured as partitioned but is not, or if it is not configured as partitioned but is partitioned.
Note: PolicyCenter does not support indexes that are range-partitioned on a date column.
For example, the following database block defines an index range partitioning that uses five partitions and two
column values per partition. The final partition, created automatically by PolicyCenter, uses the following values
for the two columns defined in range-partitioning-column-list:
• ADDRESSBOOKUID – At least 'ab:830' and less than MAXVALUE
• RETIRED – At least 0 and less than MAXVALUE
<database name="pcDatabase" dbtype="oracle">
...
<upgrade degree-parallel-ddl="1" verifyschema="true">
<ora-db-ddl>
<tablespaces admin="pc_ADMIN" index="pc_INDEX" op="pc_OP"
staging="pc_STAGING" typelist="pc_TYPELIST"/>
<ora-table-ddl table-name="pc_CLAIM">
<ora-index-ddl key-columns="ADDRESSBOOKUID, RETIRED, SUBTYPE, ID">
<ora-index-partitioning partitioning-type="RANGE"
range-partitioning-column-list="ADDRESSBOOKUID, RETIRED">
<ora-index-range-partition value-list="'ab:20', 0"/>
<ora-index-range-partition value-list="'ab:40', 0"/>
<ora-index-range-partition value-list="'ab:60', 0"/>
<ora-index-range-partition value-list="'ab:830', 0"/>
</ora-index-partitioning>
</ora-index-ddl>
</ora-table-ddl>
</ora-db-ddl>
</upgrade>
</database>
If you do not specify a value for adaptive-optimization, PolicyCenter does not set the
OPTIMIZER_ADAPTIVE_FEATURES and OPTIMIZER_ADAPTIVE_REPORTING_ONLY Oracle parameters.
See also
• “Database Statistics Generation for Oracle Databases” on page 220 in the System Administration Guide
• “Disable Sequence for Oracle Automatic Database Statistics Generation” on page 220 in the System
Administration Guide
for a full discussion. The version of Windows being used for the database and application server is a factor. Some
newer collations, such as Japanese_Bushu_Kakusu_100, are only available on Windows 2007 or later and not on
Windows 2003.
Creating a SQL Server database with files of sufficient size and parameters is important to future performance
and maintenance. A basic discussion can be found online in a Microsoft SQL Server topic “Designing Data-
bases” at:
http://msdn.microsoft.com/en-us/library/ms187099.aspx?ppud=4
For production systems Guidewire strongly recommends that you pre-allocate disk space rather than using the
SQL Server autogrowth feature. As a general guideline, estimate how big your database might grow in one year
and add 20%. Then, allocate enough total file space for this size. Monitor the size of the database and add space
during scheduled periods of lower activity. Set the maximum file size to be less than the size of the disk, so that
the disk does not fill up.
For your production database, work with your SAN (Storage Area Network) engineers early in implementation
to deliver production-realistic performance.
Guidewire recommends that you not share the SQL Server instance on which you are running PolicyCenter with
other data or applications.
2. Create a database for PolicyCenter. See “Creating a PolicyCenter Database in SQL Server” on page 42.
3. Modify the database-config.xml file so that the application correctly points to the database. See
“Deploying PolicyCenter to the Application Server” on page 81.
4. Restart the application server and test by opening PolicyCenter in a browser window.
2. In the Object Explorer, right-click the server node you plan to use for PolicyCenter and choose Properties. Typi-
cally, the node is the same as computer name.
The Server Properties dialog opens.
3. Select the Security page and check SQL Server and Windows Authentication Mode.
WARNING PolicyCenter does not run if authentication is set to Windows Authentication Mode only.
6. With a dedicated host computer running SQL Server, Microsoft recommends that you use the default settings
and have SQL Server manage memory. Consult the Microsoft documentation (http://
msdn2.microsoft.com/en-us/library/ms178067(d=ide).aspx) for an in-depth discussion of memory
options. Setting the maximum server memory to a particular value can cause performance problems.
7. Click OK to close the dialog.
IMPORTANT If you plan to create additional database instances to support multiple PolicyCenter
environments or other Guidewire products, consider applying the changes in the following procedure
to the model database. Use the model database as a template for the additional database instances.
Before you edit the model database, create a backup.
2. Right-click the Databases node and select New Database. Or, your company’s database administrator can write a
CREATE DATABASE SQL statement to create the database.
Guidewire recommends that you not share the PolicyCenter database with other applications.
3. Enter a database name in the New Database dialog and click OK.
4. Optionally, create one or more filegroups to support the PolicyCenter logical tablespaces from the Filegroups
page. If you choose to use filegroups, create a separate filegroup for each logical tablespace:
With one exception, you can name the filegroups anything you like: either the same as the logical tablespace
names or entirely different. INDEX is a reserved name on SQL Server, so you can not map the logical
tablespace INDEX to a physical filegroup of the same name.
As you configure the PolicyCenter database connection, you can map the filegroups you created to the
PolicyCenter internal logical tablespaces. See “Specifying Filegroups for SQL Server” on page 67.
5. Select the Options page.
6. Choose your database collation if not using the SQL Server server default. The only requirement is that it is a
CI (case-insensitive) collation.
7. Validate that Auto Create Statistics and Auto Update Statistics are both set to True. During startup,
PolicyCenter checks that these properties are set to True and validates that the SQL Server database is
case-insensitive.
8. Validate that Auto Shrink is set to False. If set to True, poor performance can result.
9. Click OK.
11. On the Login - New dialog, select SQL Server Authentication if not already selected.
14. In Object Explorer, expand the database and open Security → Users.
18. Grant pcUser ownership of the PolicyCenter database by selecting db_owner in both Schemes owned by this user
and Database role membership panels.
19. Click OK.
20. PolicyCenter supports several different data management pages for performance analysis of the application.
To use these pages, the pcUser must be granted view server state and view database state on each
PolicyCenter data management view. The data management views all start with sys.dm_ prefix.
a. Right-click the database and select Properties.
c. Select pcUser.
e. Click OK.
j. Select the checkbox to grant create any database permission. This permission allows the gwb dropDb
command to recreate the database.
k. Click OK.
21. Guidewire recommends that you do not use the SQL Server autogrowth feature in a production system.
Instead, monitor the size of your database and increase the size of the database files as needed during periods
of lower activity. SQL Server enables the autogrowth feature by default.
To disable autogrowth
c. For each database file, click the … button in the Autogrowth column.
e. Click OK.
c. Click Execute. SQL Server Management Studio informs you that the command completed successfully.
During startup, PolicyCenter checks that the READ_COMMITTED_SNAPSHOT option is on.
23. Close SQL Server Management Studio. You do not need to save the READ_COMMITTED_SNAPSHOT query.
Define the partition scheme before starting PolicyCenter with the partition scheme attribute set. The referenced
partition scheme in the configuration must exist, or PolicyCenter reports a configuration error during startup.
When a SQL Server index is partitioned, that index is the clustering index for the table. Without a partition
scheme defined, the clustering index for a PolicyCenter table is the primary key index.
The partition scheme is treated as a filegroup during index creation, and the SQL Server data space system
catalog reports it almost the same as a filegroup.
The PolicyCenter database schema verifier checks that an index and the associated table are stored in the parti-
tion scheme configured in database-config.xml.
Refer to Microsoft documentation for information about how to create SQL Server partition schemes.
See the Guidewire Platform Support Matrix for development workstation system requirements for PolicyCenter
9.0.0. The Guidewire Platform Support Matrix is available from the Guidewire Resource Portal at https://
guidewire.custhelp.com/app/resources/products/platform.
3. Click Advanced.
5. Click OK.
Installing Java
The PolicyCenter application server and Guidewire Studio require a JVM (Java Virtual Machine).
This topic includes:
• “Supported Java Version” on page 47
• “The Dynamic Code Evolution Virtual Machine” on page 47
IMPORTANT Production environments must use a 64-bit operating system and 64-bit JVM.
To use a 64-bit Oracle JDK for development, add the startup parameter -XX:+UseCompressedOops to the JVM.
By default, Oracle JVMs provide both a client and a server mode. Guidewire supports only the server mode as it
yields much higher performance. How you set server mode depends on your application server.
• If using Oracle JVM with Tomcat, then add the -server flag to CATALINA_OPTS.
• If using Oracle JVM with WebLogic, then add the -server flag as an argument while launching the
WebLogic start script.
• If using the IBM JVM with WebSphere, the server mode is enabled by default. You probably do not need to
change any settings.
Refer to http://www.oracle.com/technetwork/java/javase/downloads/index.html for information on
downloading the JDK.
Installing Java 47
PolicyCenter 9.0.0 Installation Guide
4. Check that java.exe is not listed. If it is, close any programs that might be using the JVM.
5. In the command window, navigate to the directory where you downloaded the DCE VM installer.
7. On the installer window, specify the JDK that you are using for development of PolicyCenter.
See also
• “Studio and the DCEVM” on page 94 in the Configuration Guide
• http://java.net/projects/dcevm/
Application server (Tomcat) CATALINA_OPTS Specifies the minimum and maximum memory used by Tomcat. For
example, the following value for CATALINA_OPTS would set direct JVM
memory allocations to 1024 MB (initially) and 1024 MB (maximum), and
would allocate 128 MB of background processing memory:
-server -Xms1024M -Xmx1024M -XX:PermSize=128m
-XX:MaxPermSize=128M
Make your maximum JVM memory allocation (the –Xmx setting) the maxi-
mum likely available memory on the server. Guidewire tests have shown
that performance of garbage collections are best if the -Xms and -Xmx are
set to the same value. See “Operating System Limits on Heap Size” on
page 20 for a detailed discussion.
For more information on configuration options, run the following command
to view the built-in help for Java command line options:
java –X
Development environment, JAVA_HOME C:\Program Files\Java\jdk1.7.0_17
administration tools ANT_HOME C:\ant
Add Ant to Path C:\ant\bin
Before Continuing
Check that you established your environment correctly. Open a new command prompt and display your environ-
ment variables to check them.
Database Name
Server Name
Database server port
PolicyCenter database user name
Cache size
Block size
JAVA_HOME
CATALINA_HOME
CATALINA_OPTS
The development environment enables you to customize PolicyCenter and rapidly view and test your customiza-
tions. Do not use a development environment for production.
IMPORTANT This topic only provides information for installing a PolicyCenter development environ-
ment. To install a production environment, first review “Preparing a PolicyCenter Environment” on
page 15 and then proceed to “Installing a PolicyCenter Production Environment” on page 63.
• Configure Tomcat to automatically load configuration changes that you make in Guidewire Studio. For
instructions, see “Installing a Tomcat Development Environment” on page 55.
• Work on the local configuration files, repackage the configured application into a WAR or EAR file, and
deploy it to a local or remote application server. Because you must repackage and redeploy a WAR or EAR
file after making configuration changes, Guidewire does not recommend this approach for a development
environment. See:
• “Installing a JBoss Production Environment” on page 81
• “Installing a WebSphere Production Environment” on page 84
• “Installing a WebLogic Production Environment” on page 83
Use the QuickStart method if you want to quickly install a development or demonstration PolicyCenter environ-
ment using the fewest steps.
4. If you are reinstalling PolicyCenter and using a QuickStart database, drop the QuickStart database by running
gwb dropDb.
5. PolicyCenter uses the QuickStart database by default. You can configure where PolicyCenter stores the
QuickStart database files. See “Using the QuickStart Database” on page 57. If you want to use an Oracle or
SQL Server database in your development environment, see “Using SQL Server or Oracle in a Development
Environment” on page 58. Then continue with this procedure after you have created the database account and
configured PolicyCenter to connect to the database.
6. Start the QuickStart server with the following command:
gwb runServer
When the server has started, you see: *****PolicyCenter ready***** in the command window.
7. Open a browser and navigate to http://localhost:8180/pc and login with the default superuser.
• User name is su.
• Password is gw.
See also
• “Using the QuickStart Database” on page 57
• “Using SQL Server or Oracle in a Development Environment” on page 58
• “Enabling Reinsurance Management or Disabling Work Queue” on page 59
• “Installing Sample Data” on page 60
• “Application Logging” on page 21 in the System Administration Guide
• To integrate PolicyCenter with ContactManager, see “Integrating ContactManager with Guidewire Core
Applications” on page 43 in the Contact Management Guide.
QuickStart Commands
You launch many PolicyCenter commands by passing arguments to the gwb command, located in the
PolicyCenter installation directory. For a complete list of gwb commands, see “Command Reference” on
page 119.
See also
• “Server Modes” on page 48 in the System Administration Guide
IMPORTANT You cannot assign a port number between 8800 and 8900 to the QuickStart server.
Troubleshooting QuickStart
If you have problems with QuickStart, consider the following:
Issue: You are unable to upgrade or to see changes after changing database tables.
Solution: First try restarting the server. If that does not work, then drop the database. If the server is running, then
stop the server by opening a command prompt, navigating to the PolicyCenter installation directory and
entering the following command:
gwb stopServer
Solution: The QuickStart server listens on a default server port. The default server port might already be in use by
your organization. Consult with your IT department to verify which ports to use.
See also
“Configuring QuickStart Ports” on page 54
See also
• “Using Multiple PolicyCenter Development Instances” on page 52
Note: Using a third-party tool such as 7-Zip may perform better than using the built-in Windows decom-
pression utility.
3. If you are not using a version control system, make a read-only copy of the PolicyCenter directory. This
enables you to recover quickly from accidental changes that can prevent PolicyCenter from starting.
4. Create or modify the CATALINA_OPTS environment variable to include the following:
-Xms1024m -Xmx1024m -XX:MaxPermSize=128m -Dgw.server.mode=dev
6. If you are reinstalling PolicyCenter and using the QuickStart database, drop the database by running the gwb
dropDb command.
7. PolicyCenter uses the QuickStart database by default. You can configure where PolicyCenter stores the
QuickStart database files. See “Using the QuickStart Database” on page 57. If you want to use an Oracle or
SQL Server database in your development environment, see “Using SQL Server or Oracle in a Development
Environment” on page 58. Then continue with this procedure after you have created the database account and
configured PolicyCenter to connect to the database.
8. Run the following command:
gwb warTomcatDbcp
The gwb warTomcatDbcp command creates a pc.war file including JDBC drivers and places the WAR file in
the PolicyCenter\dist\war directory.
9. Deploy the package to Tomcat by copying the pc.war file to the webapps directory in your Tomcat server.
10. Use the Tomcat bin\startup.bat command to start Tomcat and allow it to explode the WAR file.
When Tomcat starts, it automatically recognizes the new application and unpacks the pc.war into a directory
structure within webapps. For this example, Tomcat creates a webapps\pc directory. Each time you deploy a
new copy of a pc.war file, delete the existing pc directory structure before you start Tomcat.
11. Delete the Tomcat webapps\pc\modules\configuration directory.
12. Create a symbolic link from the deployed PolicyCenter application on Tomcat to the
PolicyCenter\modules\configuration directory of the original PolicyCenter installation location.
Windows 7 and Vista: Use the mklink command to create the link, as in the example below:
mklink /d C:\apache-tomcat-7.0.39\webapps\pc\modules\configuration
C:\PolicyCenter\modules\configuration
Windows XP: Use the Windows SysInternals program Junction.exe to create the symbolic link. The
Junction.exe program is available at:
http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx
5. Double-click the display_languageCode.properties file for the locale you are using.
For example, open display_en_US.properties.
6. Select the Web.Login.Username display key.
7. Change the value of the Web.Login.Username display key in an obvious manner. For example, add several ques-
tion marks.
8. Click the Save All icon to save your changes.
9. Log into PolicyCenter with the su account. At this point the User name field is unchanged.
14. Click Log Out. PolicyCenter redirects you to the login page.
15. Check for your change to the User name field. If you properly set up your development environment, the field
now displays with the new name you set to the Web.Login.Username display key. You can revert this change once
you have confirmed the successful configuration of your development environment.
After installing a PolicyCenter development environment with Tomcat, see the following topics for procedures
you might want to use to set up your development environment:
• “Using the QuickStart Database” on page 57
• “Using SQL Server or Oracle in a Development Environment” on page 58
• “Archiving in a Development Environment” on page 59
• “Enabling Reinsurance Management or Disabling Work Queue” on page 59
• “Installing Sample Data” on page 60
• “Application Logging” on page 21 in the System Administration Guide
• To integrate PolicyCenter with ContactManager, see “Integrating ContactManager with Guidewire Core
Applications” on page 43 in the Contact Management Guide.
• The QuickStart database only supports one connection at a time. Therefore, you cannot have the server
running and look at the schema at the same time.
• You cannot test your cluster against the QuickStart database.
• The QuickStart database does not support all upgrades. Guidewire does not test upgrades on the QuickStart
database other than the process of creating a database.
To drop your QuickStart database, open a command prompt in the PolicyCenter installation directory and enter
gwb dropDb.
4. Modify the value set to the jdbc-url parameter. The /tmp/guidewire/ portion of jdbc-url sets the file loca-
tion. The value after the location sets the file prefix.
<!-- H2 (meant for dev/quickstart use only!) -->
<database name="PolicyCenterDatabase" dbtype="h2">
<dbcp-connection-pool jdbc-url="jdbc:h2:mem:/tmp/guidewire/pc"/>
</database>
Enabling Archiving
The default config.xml file has archiving disabled, as set in the following parameter:
<param name="ArchiveEnabled" value="false"/>
IMPORTANT Guidewire strongly recommends that you contact Customer Support before imple-
menting archiving.
Disabling Archiving
Archiving relies on Archive Policy Term and Restore Policy Term batch processing. If you do not want to enable
archiving, Guidewire recommends that you disable Archive Policy Term and Restore Policy Term batch
processing.
1. In a command window, navigate to the PolicyCenter installation directory.
3. In the Project window, navigate to configuration → config → workqueue, and then open work-queue.xml.
4. Comment out the following block by adding <!-- before the block and --> after it:
<work-queue workQueueClass="com.guidewire.pc.domain.archive.ArchivePolicyTermWorkQueue"
progressinterval="600000">
<worker instances="10"/>
</work-queue>
<work-queue workQueueClass="com.guidewire.pc.domain.archive.RestorePolicyTermWorkQueue"
progressinterval="600000">
<worker instances="10"/>
</work-queue>
See also
• “Archiving Overview” on page 549 in the Application Guide
To disable RICedingWorkQueue
1. In a command window, navigate to the PolicyCenter directory in the PolicyCenter installation.
4. Comment out the following block by adding <!-- before the block and --> after it.
<work-queue workQueueClass="com.guidewire.pc.domain.reinsurance.RICedingWorkQueue"
progressinterval="30000">
<worker instances="1"/>
</work-queue>
To demonstrate the difference in rate calculation between written date and effective date, sample data for all
states beginning with the letter "N" are configured to use written date. Rates for those states are chosen based on
the current date and not the effective date of the policy. All other states are configured to use the effective date of
the policy. This has nothing to do with actual industry practices or state laws and is only intended as a demonstra-
tion.
See also
• For instructions on how to import or export administrative data, consult “Importing and Exporting Adminis-
trative Data” on page 227 in the System Administration Guide.
• “Using Gosu to Configure Sample Data” on page 61
To configure the Gosu classes used to load sample data into PolicyCenter
1. Start Studio and the PolicyCenter server and connect Studio to PolicyCenter.
3. Copy one entry from the // USER section and make changes, creating a new user.
var aapplegate = loadUser(bundle, "underwriter", "underwriter",
enigmaOrg, false, false, false, "aapplegate",
"aapplegate@enigma_fc.com", "Alice", "Applegate",
"213-555-8164", "143 Lake Ave. Suite 501",
"Pasadena", "CA", "91253", "US")
9. Logout and log back in as the new user to verify the user has been created, indicating your new sample data
has loaded correctly.
10.
Installing a PolicyCenter production environment is a multi-step process that requires you to perform several
procedures. The initial installation process can take from two hours to a full day.
This topic includes:
• “Unpacking the Configuration Files” on page 63
• “Configuring a Database Connection” on page 64
• “Deploying PolicyCenter to the Application Server” on page 81
See also
• “Installing a PolicyCenter Development Environment” on page 51
2. Extract the contents of the PolicyCenter Zip file into the PolicyCenter directory.
Note: Using a third-party tool such as 7-Zip may perform better than using the built-in Windows decom-
pression utility.
3. If you are not using a version control system, make a read-only copy of the PolicyCenter directory. This
enables you to recover quickly from accidental changes that can prevent PolicyCenter from starting.
At this point, you have a full set of PolicyCenter configuration files.
Guidewire recommends that you maintain your PolicyCenter configuration files in a change control system such
as Perforce or SVN. If you have such a system, add the PolicyCenter modules\configuration directory and
files to it at this point.
// Oracle only
<oracle-settings query-rewrite="true|false" statistics-level-all="true|false"
stored-outline-category db-resource-mgr-cancel-sql >
<upgrade>
<ora-db-ddl>
<tablespaces admin="admin tablespace" index="index tablespace" op="op tablespace"
staging="staging tablespace" typelist="typelist tablespace" lob="lob tablespace" />
</ora-db-ddl>
</upgrade>
<databasestatistics />
</database>
Some elements and attributes are not shown. These elements and attributes are described in other sections.
File database-config.xml contains a single root-level <database> element that takes the following attributes.
To improve performance of certain pages in PolicyCenter such as the Desktop page, add the following configura-
tion to the <database> element in database-config.xml:
<databasestatistics ....>
<tablestatistics name="pc_userroleassign">
<histogramstatistics name="CreateTime" numbuckets="75"/>
</tablestatistics>
</databasestatistics>
Note: Guidewire requires that you provide a value for attribute numbuckets. The default value for the
number of buckets is 254 for the retired and subtype columns. For all other columns, PolicyCenter uses
75, the database default.
See also
• “Configuring the Database Server for Guidewire Applications” on page 27
• “Database Maintenance” on page 203 in the System Administration Guide
To specify tablespaces for a particular table in Oracle, use the following syntax in your database configuration in
database-config.xml:
<database>
...
<upgrade>
<ora-db-ddl>
<tablespaces admin="admin tablespace" index="index tablespace" op="op tablespace"
staging="staging tablespace" typelist="typelist tablespace" lob="lob tablespace" />
<ora-table-ddl table-name="table name">
<ora-table-tablespaces table-tablespace="table tablespace" lob-tablespace="LOB tablespace"
index-tablespace="index tablespace"/>
</ora-table-ddl>
</ora-db-ddl>
</upgrade>
</database>
To specify filegroups for a particular table in SQL Server, use the following syntax in your database configura-
tion in database-config.xml:
<database>
...
<upgrade>
<mssql-db-ddl>
<mssql-filegroups admin="admin filegroup" index="index filegroup" op="op filegroup"
staging="staging filegroup" typelist="typelist filegroup" lob="lob filegroup" />
<mssql-table-ddl table-name="table name">
<mssql-table-filegroups table-filegroup="table filegroup" lob-filegroup="LOB filegroup"
index-filegroup="index filegroup"/>
</mssql-table-ddl>
</mssql-db-ddl>
</upgrade>
</database>
Oracle
<database>
...
<upgrade>
<ora-db-ddl>
<tablespaces admin="admin tablespace" index="index tablespace" op="op tablespace"
staging="staging tablespace" typelist="typelist tablespace" lob="lob tablespace" />
<ora-compression table-compression="ADVANCED|BASIC|NONE" index-compression="true|false">
<ora-lobs type="BASIC|SECURE|SECURE_COMPRESSED" caching="true|false" />
<ora-table-ddl table-name="pc_tableName">
<ora-index-ddl key-columns="column1,column2" index-compression="true|false"
index-tablespace="index tablespace">
<ora-index-hash-partitioning locality="GLOBAL|LOCAL" num-partitions="number"/>
</ora-index-ddl>
<ora-lobs type="BASIC|SECURE|SECURE_COMPRESSED" caching="true|false" />
<ora-table-compression table-compression="NONE|OLTP" />
<ora-table-hash-partitioning hash-column="column name" num-partitions="number"/>
<ora-table-tablespaces table-tablespace="table tablespace" lob-tablespace="LOB tablespace"
index-tablespace="index tablespace"/>
</ora-table-ddl>
</ora-db-ddl>
</upgrade>
</database>
SQL Server
<database>
...
<upgrade>
<mssql-db-ddl>
<mssql-filegroups admin="admin filegroup" index="index filegroup" op="op filegroup"
staging="staging filegroup" typelist="typelist filegroup" lob="lob filegroup" />
<mssql-table-ddl table-name="table name">
<mssql-index-ddl key-columns="column1,column2" index-compression="true|false"
index-filegroup="index filegroup"/>
<mssql-table-compression table-compression="NONE|PAGE|ROW"
index-compression="NONE|PAGE|ROW" />
<mssql-table-filegroups table-filegroup="table filegroup" lob-filegroup="LOB filegroup"
index-filegroup="index filegroup"/>
</mssql-table-ddl>
</mssql-db-ddl>
</upgrade>
</database>
See also
• “Configuring Compression for Databases” on page 29
• “Configuring Oracle for PolicyCenter” on page 34
• “Configuring SQL Server for PolicyCenter” on page 41
See also
• “Checking Database Consistency” on page 206 in the System Administration Guide
The JDBC URL for a standalone Oracle instance uses one of the following formats:
<dbcp-connection-pool jdbc-url="jdbc:oracle:thin:userName/password@serverName:port/OracleSID" />
or
<dbcp-connection-pool jdbc-url="jdbc:oracle:thin:userName/password@
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=serverName)(PORT=port))
(CONNECT_DATA=(SERVICE_NAME=OracleSID)))"/>
The server name can be specified using the computer name or IP address.
The JDBC URL for SQL Server uses the following format:
<dbcp-connection-pool jdbc-url="jdbc:sqlserver://serverName[:port];
databaseName=pc;user=pcUser;password=password
[;applicationName=applicationName]"/>
PolicyCenter defaults the value of the sendStringParametersAsUnicode property to be the correct, appropriate
value in the SQL Server JDBC URL connection. PolicyCenter does not override an existing value. If you set
sendStringParametersAsUnicode in database-config.xml, the server will validate the value to be correct.
2. Set the value of password-file to the absolute path of the password file.
3. Replace the password value in the jdbc-url connection specification with a ${password} placeholder.
</database>
The trace level is a string that corresponds to a valid trace level as documented at http://msdn.microsoft.com/
en-us/library/ms378517(SQL.90).aspx?ppud=4. The trace file can be specified, or defaults to
C:\temp\msjdbctrace%u.log. The trace file specified is a pattern documented at http://java.sun.com/j2se/
1.5.0/docs/api/java/util/logging/FileHandler.html. Using %h and %t puts the file in the Documents and
Settings directory under the name which is running the application server.
A page called Microsoft JDBC Driver Logging is available in the PolicyCenter Info Pages. This page enables you to start
and stop Microsoft driver logging on a running application server. Using this page might be a better option when
tracing a particular operation, in order to minimize system impact and size of the trace file. To turn tracing on,
choose a logging level, simple or XML logging format and a log file location. Click Set Logging Level. Messages
report the outcome of the operation.
If logging has already been enabled through database-config.xml or previous use of this page, then the logging
level resets to the new level. PolicyCenter flushes and closes any existing logging files before beginning the new
trace. If OFF is the chosen logging level, logging is turned off. Any existing logging files are flushed and closed.
The ability to control logging of the Microsoft JDBC driver through PolicyCenter only works when using the
internal connection pool, not when using an external JNDI data source connection pool.
IMPORTANT Guidewire only supports JNDI using the drivers bundled with PolicyCenter. Guidewire
does not support the XA versions of a data source.
During startup, PolicyCenter records the connection made through JNDI with an entry similar to the following in
the log:
INFO Looking up JNDI datasource 'jdbc/pcDataSource'...
3. Add a <jndi-connection-pool> element and specify the JNDI name you assign to the data source as a
datasource-name attribute.
When you are finished, the <database> element looks similar to the following:
<database name="PolicyCenterDatabase" dbtype="oracle|sqlserver">
<jndi-connection-pool datasource-name="jdbc/pcDataSource" />
...
</database>
This example is for a direct JNDI lookup. If you want to use an indirect JNDI lookup, use the format
java:comp/env/jdbc/DataSourceName for the datasource-name value, replacing DataSourceName with
the name you assigned to the data source.
4. Close and save the database-config.xml file.
5. Rebuild and install the PolicyCenter application EAR or WAR file. See “Deploying PolicyCenter to the
Application Server” on page 81 for instructions.
Before deploying PolicyCenter to the application server, create the JNDI data source on the application server.
See one of the following topics, depending on your application server and database type:
• “Creating an Oracle JNDI Data Source on JBoss” on page 71
• “Creating a SQL Server JNDI Data Source on JBoss” on page 72
• “Creating an Oracle JNDI Data Source on Tomcat” on page 73
• “Creating a SQL Server JNDI Data Source on Tomcat” on page 74
• “Creating an Oracle JNDI Data Source on WebLogic” on page 74
• “Creating a SQL Server JNDI Data Source on WebLogic” on page 75
• “Creating an Oracle JNDI Data Source on WebSphere” on page 76
• “Creating a SQL Server JNDI Data Source on WebSphere” on page 78
3. Click Runtime.
4. Click Manage Deployments for the domain hosting PolicyCenter. For standalone installations, no domain is
shown.
5. Click Add.
6. Click Browse.
7. Select the ojdbc7-12.1.0.2.0-prod.jar file from the PolicyCenter admin/lib directory and click Next.
8. Click Save.
a. Click Assign.
c. Click Save.
15. Enter a JNDI Name. The JNDI name must use the pattern java:jboss/datasources/name. The JNDI name
must match the value of the datasource-name attribute of the <jndi-connection-pool> element in the
database-config.xml file.
18. Enter the Connection URL, Username, and Password and click Done.
24. Select Connection and click Test Connection. If you do not receive a message that the JDBC connection was
successful, check your connection settings.
3. Click Runtime.
4. Click Manage Deployments for the domain hosting PolicyCenter. For standalone installations, no domain is
shown.
5. Click Add.
6. Click Browse.
7. Select the sqljdbc4-4.0.2206.100.jar file from the PolicyCenter admin/lib directory and click Next.
8. Click Save.
a. Click Assign.
c. Click Save.
15. Enter a JNDI Name. The JNDI name must use the pattern java:jboss/datasources/name. The JNDI name
must match the value of the datasource-name attribute of the <jndi-connection-pool> element in the
database-config.xml file.
17. Select the SQL Server JDBC driver and click Next.
18. Enter the Connection URL, Username, and Password and click Done.
24. Select Connection and click Test Connection. If you do not receive a message that the JDBC connection was
successful, check your connection settings.
3. Add a resource-ref entry to the web.xml file in the conf directory of the Tomcat instance. For example:
<resource-ref>
<description>Oracle Datasource</description>
<res-ref-name>jdbc/Datasource name</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
3. Add a resource-ref entry to the web.xml file in the conf directory of the Tomcat instance. For example:
<resource-ref>
<description>SQL Server Datasource</description>
<res-ref-name>jdbc/Datasource name</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
4. Restart WebLogic.
5. Enter a name and JNDI name for the data source. The JNDI name must match the value of the
datasource-name attribute of the <jndi-connection-pool> element in the database-config.xml file. The
JNDI name typically begins with jdbc/.
6. Select Oracle as the Database Type.
8. Select Versions:9.0.1 and later for Database Driver and click Next.
9. Fill in connection properties for your environment and click Next. The WebLogic Server Administration
Console displays the Test Database Connection page.
10. Leave Driver Class Name as oracle.jdbc.OracleDriver.
11. Click Test Configuration. If you configured the connection properly and the database is running, WebLogic
displays the message “Connection test succeeded.”
12. Click Next.
14. Click Finish. The WebLogic Server Administration Console returns you to the Summary of JDBC Data Sources
page.
15. Click Activate Changes. WebLogic displays the message “All changes have been activated. No restarts are
necessary.”
4. Enter a Name and JNDI Name for the data source. The JNDI name must match the value of the datasource-name
attribute of the <jndi-connection-pool> element in the database-config.xml file.
5. Select MS SQL Server as the Database Type.
8. Specify connection properties for the SQL Server database, and click Next.
11. Fill in connection properties for your environment. If using a unicode database, set the property
sendStringParametersAsUnicode to true. If using a single-byte database, set
sendStringParametersAsUnicode to false.
12. Click Test Configuration. If you configured the connection properly and the database is running, WebLogic
displays the message “Connection test succeeded.”
13. Click Next.
15. Click Finish. The WebLogic Server Administration Console returns you to the Summary of JDBC Data Sources
page.
16. Click Activate Changes. WebLogic displays the message “All changes have been activated. No restarts are
necessary.”
8. Supply a new Name for the JDBC provider, for example pcOracle.
11. Specify the directory location of ojdbc7-12.1.0.2.0-prod.jar. Set the value to the WAS_HOME/lib/ext path
where you copied ojdbc7-12.1.0.2.0-prod.jar earlier.
12. Click Next.
13. Review the Summary page. Click Previous if you need to make changes. Otherwise, click Finish.
2. If you do not yet have a J2C (Java 2 Connector) authentication alias, create a new one.
b. Under Authentication click Java Authentication and Authorization → J2C authentication data.
c. Click New.
Parameter Value
Alias A string specifying the alias name. The alias can be anything you like, for example pcAlias.
User ID A string specifying the user name.
Password A string specifying the password.
e. Click OK.
g. Start the procedure to create the data source again, beginning with step 3.
5. Select the JDBC provider that you defined for Oracle. WebSphere displays the Configuration tab.
6. Select Data Sources in the Additional Properties section. WebSphere displays the Data sources page.
8. Enter a JNDI name for the data source. The JNDI name must match the value of the datasource-name attribute
of the <jndi-connection-pool> element in the database-config.xml file. See “Configuring PolicyCenter
to Use a JNDI Data Source” on page 71.
9. Click Next.
11. Select Oracle11g data store helper for the Data store helper class name.
15. Click Next. Review the information on the Summary page. Click Previous if you need to make changes. Other-
wise, click Finish.
16. Click Save to save apply your changes to the master configuration.
3. Click the data source that you just defined. WebSphere displays the Configuration tab.
7. Click OK.
6. Select Microsoft SQL Server JDBC Driver for the Provider type drop down and click OK.
8. Supply a new Name for the JDBC provider, for example pcSQLServer.
11. Specify the directory location of sqljdbc4-4.0.2206.100.jar. Set the value to the WebSphere lib/ext
directory. For example, you might set it to:
C:\Program Files\IBM\WebSphere\AppServer\lib\ext
You can ignore that the greyed out Class path box lists the JAR name as sqljdbc.jar instead of
sqljdbc4-4.0.2206.100.jar.
You do not need to enter a value for the Native library path.
12. Click Next.
13. Review the Summary page. Click Previous if you need to make changes. Otherwise, click Finish.
2. If you do not yet have a J2C (Java 2 Connector) authentication alias, create a new one.
b. Click New.
Parameter Value
Alias A string specifying the alias name. this can be anything you like, for example pcAlias.
User ID A string specifying the user name.
Password A string specifying the password.
d. Click OK.
f. Start the procedure to create the data source again, beginning with step 3.
5. Select the JDBC provider that you created for SQL Server.
WebSphere displays the Configuration tab.
6. Select Data Sources in the Additional Properties section.
WebSphere displays the Data sources page.
7. Click New to create a new data source.
Enter a JNDI name for the data source, such as jdbc/pcDataSource. The JNDI name must match the value of
the datasource-name attribute of the <jndi-connection-pool> element in the database-config.xml file.
See “Configuring PolicyCenter to Use a JNDI Data Source” on page 71.
8. Click Next.
10. If using a different port to connect to the database than the default of 1433, change the Port number value.
11. Enter the Server name for the server hosting SQL Server.
12. Uncheck the box for Use this data source in container managed persistence (CMP).
16. Click Next. Review the information on the Summary page. Click Previous if you need to make changes. Other-
wise, click Finish.
17. Click Save to save apply your changes to the master configuration.
4. Under Additional Properties, click WebSphere Application Server data source properties.
7. Click OK.
11. Check the property sendStringParametersAsUnicode. If you are using unicode columns (nvarchar), then this must
be set to true. If you are not using nvarchar, but single byte varchar columns, this must be set to false. Your
application server will not start up if this setting is incorrect. If you need to change the value, click the prop-
erty name.
12. At the top of the Custom properties page, click New.
3. Add servlet definitions as needed. See the defined servlets for an example.
4. Add a servlet-mapping definition for each servlet that you add. See the defined servlet mappings for an
example.
5. Save your changes.
Review the post-installation tasks in “Additional PolicyCenter Setup Tasks” on page 87. Then proceed to
“Starting PolicyCenter on JBoss” on page 115.
You can build the PolicyCenter WAR file for JBoss with or without JDBC drivers. Run gwb warJbossDbcp to
build the WAR file with JDBC drivers and have PolicyCenter manage the database connection pool. Run gwb
warJbossJndi to build the WAR file without JDBC drivers and use a JNDI database connection managed by
JBoss. See “Using a JNDI Data Source” on page 70.
1. Open a command window.
2. Navigate to PolicyCenter.
2. Add a servlet-mapping definition for each servlet that you add. See the defined servlet mappings for an
example.
3. Save web.xml.
You can build the PolicyCenter WAR file for Tomcat with or without JDBC drivers. Run gwb warTomcatDbcp to
build the WAR file with JDBC drivers for use with Tomcat and have PolicyCenter manage the database connec-
tion pool. Run gwb warTomcatJndi to build the WAR file without JDBC drivers and use a JNDI database
connection managed by Tomcat. See “Using a JNDI Data Source” on page 70.
1. Open a command window.
When 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.
Review the post-installation tasks in “Additional PolicyCenter Setup Tasks” on page 87. Then proceed to
“Starting PolicyCenter on Tomcat on Windows” on page 115.
3. Add servlet definitions as needed. See the defined servlets for an example.
4. Add a servlet-mapping definition for each servlet that you add. See the defined servlet mappings for an
example.
5. Save web.xml.
You can build the PolicyCenter EAR file for WebLogic with or without JDBC drivers. Run gwb
earWeblogicDbcp to build the EAR file with JDBC drivers and have PolicyCenter manage the database connec-
tion pool. Run gwb earWeblogicJndi to build the EAR file without JDBC drivers and use a JNDI database
connection managed by WebLogic. See “Using a JNDI Data Source” on page 70.
1. Open a command prompt.
1. If WebLogic is not already running, start it now. If WebLogic is running, restart it.
Note: Port 7001 is the default port for WebLogic. If you configured WebLogic with a different port number,
then change the port number in the address to the correct one.
3. Log in with your user name and password. The default WebLogic user name and password is weblogic.
4. On the left side of the user interface, under Domain Structure, click Deployments.
5. On the next screen, above Domain Structure, click Lock & Edit.
9. In the Source accessibility section of the next screen, select I will make the deployment accessible from the following loca-
tion.
10. For the location, enter the path to the PolicyCenter webapps directory and click Next.
11. Click Yes, take me to the deployment’s configuration screen and click Finish.
12. Review your configuration, and click Activate Changes located on the left side of the screen, above Domain Struc-
ture.
Adding a welcome-file-list
Add a welcome-file-list to the PolicyCenter web.xml file so WebSphere can find the index.html file.
Pointing your browser to http://localhost:9080/pc does not work. Point to http://localhost:9080/pc/
Start.do.
1. Start Studio by running the following command from the PolicyCenter directory:
gwb studio
3. At the bottom of the file, just before the </web-app> tag, add the following:
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
4. Add servlet definitions as needed. See the defined servlets for an example.
5. Add a servlet-mapping definition for each servlet that you add. See the defined servlet mappings for an
example.
6. Save your changes and close web.xml.
You can build the PolicyCenter EAR file for WebSphere with or without JDBC drivers. Use gwb
earWebsphereDbcp if you are going to have PolicyCenter manage the database connection pool. Run gwb
earWebsphereJndi to build the EAR file without JDBC drivers and use a JNDI database connection managed by
WebSphere. See “Using a JNDI Data Source” on page 70.
1. Open a command window.
5. Click Browse and select the PolicyCenter EAR file in the PolicyCenter/dist/ear directory.
6. Click Next.
8. Click Next.
11. On the Map modules to servers page, verify that your targeted server or cluster is selected.
14. On the Summary page, review your selections for accuracy. Click Previous to change any settings.
18. Under Detail properties, click Class loading and update detection.
19. Under Class loader order, verify Classes loaded with local class loader first (parent last) is selected.
20. Under WAR class loader policy, verify Single class loader for application is selected.
23. If using JNDI, remove the JDBC JAR files (such as ojdbc<version>.jar or sqljdbc<version>.jar) from
the exploded deployment in <WAS Profile>/installedApps/DefaultCell/pc.ear/pc.war/WEB-INF/lib.
After you have finished the procedure to install the PolicyCenter EAR file on WebSphere, review post-installa-
tion tasks in “Additional PolicyCenter Setup Tasks” on page 87. Then, proceed to “Starting PolicyCenter on
WebSphere” on page 115.
This topic describes required and optional setup tasks. You perform these tasks after you complete the initial
installation of your PolicyCenter development or production environment and deploy PolicyCenter to your appli-
cation server.
The patch installation step is required. The remaining steps are optional.
This topic includes:
• “Required Patch Installation” on page 87
• “Free-text Search Setup” on page 88
• “Changing the Superuser Password” on page 100
• “Generating Java API Libraries” on page 100
• “Enabling Integration between ClaimCenter and PolicyCenter” on page 101
• “Enabling Integration between BillingCenter and PolicyCenter” on page 105
• “Archiving in a Production Environment” on page 110
• “Enabling Rating Management” on page 110
• “Installing Reinsurance Management or Disabling Work Queue” on page 111
• “Upgrading Product Model of Old LOB Extension Packs” on page 111
• “Configuring Single Sign-on Authentication” on page 112
• “Starting PolicyCenter on the Application Server” on page 115
• “Connecting to PolicyCenter with a Web Client” on page 116
• “Configuring Windows Accessibility for Firefox” on page 116
• “Additional Installation Information” on page 116
See also
• “Free-text Search Configuration” on page 362 in the Configuration Guide.
• For specific versions of application servers Guidewire that supports, see the Guidewire Platform Support
Matrix on the Guidewire Resource Portal, at https://guidewire.custhelp.com/app/resources/
products/platform.
See also
• “Free-text Search System Architecture” on page 362 in the Configuration Guide
• Setting up a separate application server instance for the Guidewire Solr Extension
• Setting up the free-text batch load command
With embedded operation, your only set-up task involves changes to the solrserver-config.xml file. This
configuration file tells the free-text feature in PolicyCenter how to operate and interact with the Guidewire Solr
Extension.
See also
• “Setting Up Free-text Search for Embedded Operation” on page 90
The Guidewire Solr Extension runs as a web application in a JBoss, Tomcat, WebLogic, or WebSphere applica-
tion server. If you configure the Guidewire Solr Extension for embedded operation, it operates as part of
PolicyCenter, not as a separate web application.
WARNING Do not use any distribution of the Apache Solr full-text search engine other than the one
that Guidewire provides as the Guidewire Solr Extension.
In the instructions that follow, you first perform a procedure to set up free-text search for JBoss, Tomcat,
WebLogic, or WebSphere. Then, regardless of application server, you perform a separate, follow-on procedure to
set up the free-text batch load command.
If you set up a development environment for PolicyCenter, you can avoid setting up the free-text batch load
command. Instead, use the Free-text Search page from the Server Tools tab to perform the same function. Also, the
Free-text Search page has a function to confirm that the policy data in the Guidewire Solr Extension matches the
policy data in the application database. Use the consistency checking function after you run the batch load
command to verify changes to the command that you are developing and testing.
See also
• “Setting Up the Free-text Batch Load Command” on page 98
• “Configuring the Free-text Batch Load Command” on page 375 in the Configuration Guide
• For information on the Free-text Search page, see “Free-text Search” on page 314 in the System Administration
Guide.
2. Verify that the file contains a <solrserver> element that matches the following:
<solrserver name="embedded" type="embedded">
<param name="provision" value="true"/>
<param name="solrroot” value="/opt/gwsolr"/>
</solrserver>
5. Open a command prompt in the PolicyCenter installation directory and run the following command:
gwb packageSolr
6. Proceed to “Enabling Free-text Search in PolicyCenter” on page 366 in the Configuration Guide.
2. Verify that the file contains a <solrserver> element that matches the following:
<solrserver name="embedded" type="embedded">
<param name="provision" value="true"/>
<param name="solrroot” value="/opt/gwsolr"
<param name="gwsolrzip" value="/dev/PolicyCenter/solr/pc-gwsolr.zip">
</solrserver>
5. Open a command prompt in the PolicyCenter installation directory and run the following command:
gwb packageSolr
6. Proceed to “Enabling Free-text Search in PolicyCenter” on page 366 in the Configuration Guide.
See also
• To setup free-text search for external operation on Tomcat, see “Setting Up Free-text Search for Tomcat” on
page 93.
3. On the host where the JBoss instance for free-text search resides, create an installation directory for the
Guidewire Solr Extension. For example:
• On Unix – /opt/gwsolr/pc
• On Windows – C:\opt\gwsolr\pc
This topic uses /opt/gwsolr/pc as the directory name.
4. Extract the file PolicyCenter/solr/pc-gwsolr.zip from the host where your PolicyCenter application
resides to the folder you created on the host where JBoss resides.
5. If you extracted pc-gwsolr.zip to a directory other than /opt/gwsolr/pc in step 3, or if you are using
Windows, update an environment entry in web.xml to reflect your install location:
a. Extract the web application deployment descriptor, web.xml, from pc-gwsolr.war by running the follow-
ing command:
jar -xf pc-gwsolr.war WEB-INF/web.xml
c. Change the value for the solr/home entry to match the directory in which you installed the Guidewire
Solr Extension. If you are using Windows, change the value to a Windows path, including the drive desig-
nator:
<env-entry>
<env-entry-name>solr/home</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>C:\opt\gwsolr\pc\solr</env-entry-value>
</env-entry>
b. Change the port property for the HTTP port value to 8983, as the following example shows.
<socket-binding-group name="standard-sockets" default-interface="public"
port-offset="${jboss.socket.binding.port-offset:0}">
...
<socket-binding name="http" port="8983"/>
...
</socket-binding-group>
The standard port for the Guidewire Solr Extension is 8983.
c. Save your changes.
7. Start JBoss by running the following command from the JBOSS_HOME/bin/ directory:
standalone
8. Add two logging modules to JBoss and deploy the Guidewire Solr Extension:
a. From a separate command window in the JBOSS_HOME/bin directory, start the JBoss command line inter-
face by running the following command:
jboss-cli -c
c. Deploy the Guidewire Solr Extension by running the following JBoss command:
• On Unix – deploy /opt/gwsolr/pc/pc-gwsolr.war
• On Windows – deploy c:\opt\gwsolr\pc\pc-gwsolr.war
9. Examine the log file JBOSS_HOME/standalone/log/server.log to be certain that the Guidewire Solr Exten-
sion started successfully.
The application started successfully if you see a number of log entries related to the directory in which you
installed the Guidewire Solr Extension in step 3.
10. In a browser, open the administrative user interface for the Guidewire Solr Extension by entering the
following URL:
http://hostName:8983/pc-gwsolr
11. Verify that you see links to administrative pages for each entity type that is searchable in PolicyCenter with
free-text search.
For example, click Core Admin to see information for the pc_policy_active core.
12. Proceed to “Setting Up the Free-text Batch Load Command” on page 98.
See also
• “Free-text Search System Architecture” on page 362 in the Configuration Guide
b. Change the value for the solr/home entry to match the directory in which you installed the Guidewire
Solr Extension. If you are using Windows, or change the value to a Windows path, including the drive des-
ignator:
<env-entry>
<env-entry-name>solr/home</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>C:\opt\gwsolr\pc\solr</env-entry-value>
</env-entry>
4. If you installed the Guidewire Solr Extension in a directory other than /opt/gwsolr/pc in step 1, or you are
using Windows:
a. Edit the file c:\opt\gwsolr\pc\pc-gwsolr.xml
b. Change the value for the docBase attribute to match the directory in which you installed the Guidewire
Solr Extension. If you are using Windows, include the drive designator.
<Context docBase="C:\opt\gwsolr\pc\pc-gwsolr" debug="0" crossContext="true">
b. Change the port property for the HTTP port value to 8983, as the following example shows.
<Connector port="8983" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
The standard port for the Guidewire Solr Extension is 8983.
c. Save your changes.
11. Verify that you see links to administrative pages for each entity type that is searchable in PolicyCenter with
free-text search.
For example, click Core Admin to see information for the pc_policy_active core.
12. Proceed to “Setting Up the Free-text Batch Load Command” on page 98.
See also
• “Free-text Search System Architecture” on page 362 in the Configuration Guide
• On Unix – /opt/gwsolr/pc
• On Windows – C:\opt\gwsolr\pc
This this topic uses /opt/gwsolr/pc as the directory name.
2. Extract the file PolicyCenter/solr/pc-gwsolr.zip from the host where your PolicyCenter application
resides to the folder you created on the host where WebLogic resides.
3. Within the autodeploy directory in the WebLogic instance, create a subdirectory pc-gwsolr.
5. If you installed the Guidewire Solr Extension in a directory other than /opt/gwsolr/pc in step 1, or if you are
using Windows:
a. From the directory in which you installed the Guidewire Solr Extension, open the following file for edit-
ing:
autodeploy/pc-gwsolr/WEB-INF/web.xml
b. Change the value for the solr/home entry to match the directory in which you installed the Guidewire
Solr Extension. If you are using Windows, or change the value to a Windows path, including the drive des-
ignator:
<env-entry>
<env-entry-name>solr/home</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>C:\opt\gwsolr\pc\solr</env-entry-value>
</env-entry>
6. Create a lib folder in WebLogic_Home\pc and place the following logging JAR file there:
• jcl-over-slf4j-1.7.5.jar – Jakarta commons logging over SLF4J
The logging JAR file is provided in the logging_jars folder at the root of the pc-gwsolr.zip file.
See also
• “Free-text Search System Architecture” on page 362 in the Configuration Guide
3. On Windows, edit the file GWSOLR_HOME\pc\pc-gwsolr.xml, and add the drive specifier to the front of the
path in the docBase attribute, as the following example shows.
<Context docBase="C:\opt\gwsolr\pc\pc-gwsolr.war" debug="0" crossContext="true">
4. Check the web application deployment descriptor in autodeploy/pc-gwsolr/WEB-INF/web.xml for the defi-
nition of the solr.home environment variable:
<env-entry>
<env-entry-name>solr/home</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>/opt/gwsolr/pc/solr</env-entry-value>
</env-entry>
If you installed the Zip file in a directory other than /opt/gwsolr, you must now change the path in the
<env-entry-value> XML element to match the actual install directory path.
5. Create a lib folder in WebSphere_Home\appserver\profiles and place the following logging JAR files
there:
• slf4j-api-1.7.5.jar – SLF4J API
• slf4j-ext-1.7.5.jar – SLF4J Extensions
• slf4j-jdk14-1.7.5.jar – SLF4J Java logging binding
• jcl-over-slf4j-1.7.5.jar – Jakarta commons logging over SLF4J
• log4j-over-slf4j-1.7.5.jar – Log4j logging over SLF4J
Logging JAR files are provided in the logging_jars folder at the root of the pc-gwsolr.zip file.
6. Start WebSphere:
• On Unix – WEBSPHERE_HOME/bin startServer.sh server1
• On Windows – Start → All Programs → IBM WebSphere → Application Server → Profiles → AppSrv01 → Start the server
8. Change the port for the default host in your WebSphere application server and for its virtual host.
PolicyCenter assumes the Solr port is 8983. If you want to use a different port number, change the port num-
ber in the PolicyCenter file solrserver-config.xml.
a. From the Administrative Console, navigate to Servers → Server Types → WebSphere application servers and click
the name of your application server from the list. The default name of your application server is server1.
The console displays the configuration page for your application server.
b. On the right underneath Communications, click Ports.
e. Click Apply.
f. In the Messages box, Click Save to apply the changes to the master configuration.
g. From the Administrative Console, navigate to Environment → Virtual hosts and click the name of your virtual
host. The default name of your virtual host is default_host.
The console displays the configuration page for your virtual host.
h. On the right underneath Additional Properties, click Host Aliases.
i. Click New.
The console displays the configuration page for your new virtual host alias.
k. Click Apply.
l. In the Messages box, Click Save to apply the changes to the master configuration.
d. In the dialog, navigate to the file /opt/gwsolr/pc/pc-gwsolr.war and select it. Then, click Open.
e. Click Next.
After a moment, a screen appears that asks how you want to install the application.
f. Select the Fast Path radio button and then click Next.
After a moment, a screen appears with steps listed along the left.
g. Click Step 3, to skip past Step 1 and Step 2 and click Next.
The console displays an application resource warning, ADMA8019E, which you can ignore safely.
h. Click Continue.
The console displays the page for step 4, where you map web modules to virtual hosts.
i. Click Next to accept the mapping of the pc-gwsolr.war web module to the default_host virtual host.
The console displays the page for step 5.
j. In the Context Root field, enter /pc-gwsolr.
10. From the Administrative Console, install the necessary shared libraries from the WAR file:
a. In the left navigation, expand the Environment node and click Shared Libraries.
b. Create a shared library, and then list all the logging JAR files preceded by ${USER_INSTALL_ROOT}:
${USER_INSTALL_ROOT}\lib\slf4j-api-1.7.5.jar
${USER_INSTALL_ROOT}\lib\slf4j-ext-1.7.5.jar
${USER_INSTALL_ROOT}\lib\slf4j-jdk14-1.7.5.jar
${USER_INSTALL_ROOT}\lib\jcl-over-slf4j-1.7.5.jar
${USER_INSTALL_ROOT}\lib\log4j-over-slf4j-1.7.5.jar
c. Expand the Applications node. Click Application Types → WebSphere Enterprise Applications. In the right pane, click
pc-gwsolr → Shared Library References.
d. In the Module list, select pc-gwsolr.war. Click the Reference Shared Libraries button. Select the library you
created in step b, and then click the right arrow button to move it from the Available list to the Selected list.
11. From the Administrative Console, change the class loading order
a. Click WebSphere Enterprise Applications → pc-gwsolr → Class loading and update detection → Detail Properties tab.
c. Modify class loading by selecting the Classes loaded with local class loader first (parent last) and Single class loader
for application radio buttons.
d. Click OK.
12. Log out of the administrative console and stop and start the application server.
14. In a browser, open the administrative user interface for the Guidewire Solr Extension web application by
entering the following URL:
http://hostName:8983/pc-gwsolr
15. Verify that you see links to administrative pages for each entity type that is searchable in PolicyCenter with
free-text search.
For example, click Core Admin to see information for the pc_policy_active core.
16. Proceed to “Setting Up the Free-text Batch Load Command” on page 98.
See also
• “Free-text Search System Architecture” on page 362 in the Configuration Guide
Most of the setup information for the free-text batch load command is located in a configuration file for your
database brand. The configuration filename has the format:
batchload-config-databaseBrand.xml
• absolutePathToSortTmpDir – Location of a working directory into which the sort binary writes its interme-
diate files. This directory may be the same as or different from the directory specified by
absolutePathToWorkDir.
• absolutePathToSortExe – Location of a sort binary. You must modify this parameter if you use a binary
other than /bin/sort on Unix or c:\cygwin\bin\sort.exe on Windows.
• dataSource – Connection information for the PolicyCenter relational database. You must modify this param-
eter to specify the network location of the database and the username and password.
• absolutePathToPostprocessorExe – Locates the postprocess shell script of batch file that the batch load
command calls after extracting data from the PolicyCenter relational database. You must modify this param-
eter if your Guidewire Solr home directory is other than /opt/gwsolr.
2. Extract the files from the Guidewire Solr WAR file as you would any Zip file, to the following location, using
full directory paths:
opt/gwsolr/pc/exploded
The free-text batch load command depends on access to JAR files within the WAR file.
3. Switch to the configuration directory, opt/gwsolr/pc/solr/policy_active/conf.
4. Edit the batchload shell script or batch file, and modify the CONFIGFILE environment variable to locate the
appropriate batch load configuration file for your database brand. For example, if your database brand is
Oracle:
On Unix
CONFIGFILE=$GWSOLR_HOME/solr/policy_active/conf/batchload-config-oracle.xml
On Windows
set CONFIGFILE=%GWSOLR_HOME%\solr\policy_active\conf\batchload-config-oracle.xml
5. Open the batch load configuration file that you specified in step 4 and do all of the following:
a. If you use a directory for the Guidewire Solr home directory other than /opt/gwsolr, modify the
xsi:noNamespaceSchemaLocation attribute of the <document> element.
b. Review the following elements for possible changes.
On Unix
<param name="absolutePathToWorkDir" value="/opt/gwsolr/pc/solr/policy_active/conf/workDir"/>
<param name="absolutePathToSortExe" value="/bin/sort"/>
On Windows
<param name="absolutePathToWorkDir" value="c:\opt\gwsolr\pc\solr\policy_active\conf\workDir"/>
<param name="absolutePathToSortExe" value="c:\cygwin\bin\sort.exe"/>
c. Modify the attributes of the <dataSource> element to match the values for your database. For example, if
your database brand is Oracle:
<dataSource name="ds_orcl" driver="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin://@grinch:11201:gwDiaAsc" user="su" password="gw"/>
d. If you use a directory for the Guidewire Solr home directory other than /opt/gwsolr, modify the
absolutePathToPostprocessorExe attribute of the <postprocessor> element.
6. On Windows, edit postprocess.bat and modify the CoreUtils environment variable to locate the sort
binary. For example:
set CoreUtils C:\opt\cygwin
7. If use a directory for the Guidewire Solr home directory other than /opt/gwsolr:
b. Change the value of the url attribute on the <entity> element to match the location of your Guidewire
Solr home directory. For example:
<entity name="policy"
processor="XPathEntityProcessor"
orEach="/CONTAINER_ELEM/POLICY"
url="/opt/gwsolr/pc/solr/policy_active/conf/workDir/policy"
stream="true">
See also
• “Free-text Batch Load Command” on page 245 in the System Administration Guide
• “Configuring the Free-text Batch Load Command” on page 375 in the Configuration Guide
• “Free-text Search System Architecture” on page 362 in the Configuration Guide
4. Click the Preferences link on the Desktop and change the password for user su.
At this point, you have a running PolicyCenter server. However, there is no data in the installation and you have
none of the tools available to manage the PolicyCenter server process. Before you use PolicyCenter, follow the
processes defined in “Generating Java API Libraries” on page 100, and “Connecting to PolicyCenter with a Web
Client” on page 116.
See also
• To learn how to change which user is the superuser, see “Changing the Unrestricted User” on page 20 in the
System Administration Guide.
This command generates the java-api directory within the top-level PolicyCenter directory.
See also
• “Integration Overview” on page 23 in the Integration Guide
To enable claim search integration from PolicyCenter, see “Configuring ClaimCenter to Get Policy Information
from PolicyCenter” on page 101.
To enable policy search integration from ClaimCenter, see “Configuring PolicyCenter to Get Claim Information
from ClaimCenter” on page 103.
To enable large loss notification integration, see “Enabling Large Loss Notification Integration” on page 104.
This topic includes procedures to enable claim search integration from PolicyCenter and policy search integra-
tion from ClaimCenter.
3. In the Studio Project window, navigate to configuration → config → Plugins → registry, and then open
IPolicySearchAdapter.gwp.
Note: The pc800 plugin implementation class might indicate that it is deprecated. Ignore this indicator. This
class is the correct one to use to integrate with PolicyCenter 8.
7. In the Studio Project window, navigate to configuration → config → suite, and then open suite-config.xml.
8. Remove the comment markers <!-- and --> from the line for the PolicyCenter URL:
<!--<product name="pc" url="http://localhost:8180/pc"/>-->
10. In the Studio Project window, navigate to configuration → config, and then open config.xml.
11. Set the PolicyCenter URL in the PolicySystemURL configuration parameter. For example, add the following
line to this file:
<param name="PolicySystemURL" value="http://localhost:8180/pc""/>
12. In the Studio Project window, expand configuration → gsrc and then navigate to wsi.remote.gw.webservice.pc.
13. Open one of the following web service files, depending on the version of PolicyCenter that you are inte-
grating with ClaimCenter:
• PolicyCenter 8 – pc800.wsc
• PolicyCenter 9 – pc900.wsc
Note: The ${pc} variable for each of the defined web services is defined in suite-config.xml.
14. Ensure that the PolicyCenter server is running. Then select all the web services in Resources and click Fetch
. You must refresh the web services, even if you have made no changes to them.
15. In the same editor on the Settings tab is the configuration provider class. This class,
wsi.remote.gw.webservice.pc.PCConfigurationProvider, is used by the plugin to define the user name
and password that ClaimCenter uses to connect with PolicyCenter.
In the base configuration, ClaimCenter defines the user name su and password gw in this class. Guidewire
recommends that you change this user name in this class. Then add a new user to PolicyCenter with the same
user name and password that you specify in PCConfigurationProvider. That new user must have the
soapadmin permission, plus at least the permissions needed to view and edit policies.
There is an example of how to configure a user name and password with ContactManager that is similar to the
ClaimCenter configuration for PolicyCenter. See “Configuring ClaimCenter-to-ContactManager Authentica-
tion” on page 65 in the Contact Management Guide.
16. To test the integration, restart the ClaimCenter server. Then start the New Claim wizard and search for a
Personal Auto or Workers' Compensation policy.
The only object that ClaimCenter sends to PolicyCenter is a PCSearchCriteria object. This object is created and
populated from the ClaimCenter search criteria by using Gosu. Configuration of this object must be done in
Gosu.
Changes to the pc-to-cc-data-mapping.xml file are not picked up automatically by the plugin. After changing
the file, restart your ClaimCenter server.
3. In the Studio Project window, navigate to configuration → config → suite, and then open suite-config.xml.
4. Remove the comment markers <!-- and --> from the line for the ClaimCenter URL:
<!--<product name="cc" url="http://localhost:8080/cc"/>-->
6. In the Studio Project window, expand configuration → gsrc and then navigate to wsi.remote.gw.webservice.cc.
7. Open one of the following web service files, depending on the version of ClaimCenter that you are inte-
grating with PolicyCenter:
• ClaimCenter 8 – cc800.wsc
• ClaimCenter 9 – cc900.wsc
Note: The ${cc} variable for the defined web service is defined in suite-config.xml.
8. Ensure that the ClaimCenter server is running. Then select the web service in Resources and click Fetch .
You must refresh the web service, even if you have made no changes to it.
9. In the same editor on the Settings tab is the configuration provider class. This class,
wsi.remote.gw.webservice.cc.CCConfigurationProvider, defines the user name and password that
PolicyCenter uses to connect with ClaimCenter.
In the base configuration, PolicyCenter uses the user name su and password gw. Guidewire recommends that
you change this user name and password in CCConfigurationProvider and then create a corresponding user
with the same user name and password in ClaimCenter. That new user must have the soapadmin permission,
plus at least the permissions needed to view and edit claims and policies.
There is an example of how to configure a user name and password with ContactManager that is similar to the
PolicyCenter configuration for ClaimCenter. See “Configuring PolicyCenter-to-ContactManager Authentica-
tion” on page 66 in the Contact Management Guide.
10. In the Studio Project window, navigate to configuration → config → Plugins → registry, and then open
IClaimSearchPlugin.gwp.
13. Enter one of the following plugin implementation classes in the Gosu Class field, depending on the version of
ClaimCenter that you are integrating with PolicyCenter:
• ClaimCenter 8 – gw.plugin.claimsearch.cc800.GWClaimSearchPlugin
• ClaimCenter 9 – gw.plugin.claimsearch.cc900.GWClaimSearchPlugin
Note: The cc800 plugin implementation class might indicate that it is deprecated. Ignore this indicator. This
class is the correct one to use to integrate with ClaimCenter 8.0.0 and later.
14. In the Project window, navigate to configuration → config, and then open config.xml.
See also
• “PolicyCenter Exit Points to ClaimCenter and BillingCenter” on page 546 in the Integration Guide
2. In the Studio Project window, navigate to configuration → config → Rule Sets → Preupdate → TransactionSetPreupdate.
3. Select the check box for the rule TPU05000 - Large Loss Notification to enable that rule.
4. Navigate to configuration → config → Rule Sets → EventMessage → EventFired and select the check box for the rule
EFR06000 - Policy System Notification to enable that rule.
5. Navigate to configuration → config → Messaging, and then open messaging-config.xml.
7. Enable this message destination by clearing the Disabled check box at the top right of the editor.
8. In the Studio Project window, navigate to configuration → config → Plugins → registry, and then open
policySystemNotificationTransport.gwp.
10. In the Studio Project window, navigate to configuration → config → Plugins → registry, and then open
IPolicySystemNotificationPlugin.gwp.
14. If you have not already done so, update suite-config.xml to enable ClaimCenter to work with PolicyCenter.
Also, if necessary, change the URL for the PolicyCenter server to the URL used in your configuration.
a. In the Studio Project window, navigate to configuration → config → suite, and then open suite-config.xml.
b. If present, remove the comment markers <!-- and --> from the line defining the PolicyCenter URL:
<!--<product name="pc" url="http://localhost:8180/pc"/>-->
c. If necessary, update the PolicyCenter URL to match your server and port.
15. If you have not already done so, set the PolicyCenter URL in the PolicySystemURL configuration parameter:
a. In the Studio Project window, navigate to configuration → config, and then open config.xml.
b. Set the PolicyCenter URL in the PolicySystemURL configuration parameter. For example, add the follow-
ing line to this file:
<param name="PolicySystemURL" value="http://localhost:8180/pc""/>
17. In the ClaimCenter Studio Project window, navigate to configuration → gsrc and then to
wsi.remote.gw.webservice.pc.
18. Double-click pc900.wsc to open this web service collection in the editor.
Note: The ${pc} part of this path is the PolicyCenter URL defined in suite-config.xml.
Integration Features
The default installations of PolicyCenter and BillingCenter support integration between the two applications.
The integration enables PolicyCenter and BillingCenter to exchange information about accounts, policies,
producers, producer codes, and billing. When the integration is enabled, the payment screen in PolicyCenter
displays payment plans retrieved from BillingCenter. Your payment plan selection is transmitted to BillingCenter
and saved with the policy period. Accounts and policy periods are shared between BillingCenter and
PolicyCenter. BillingCenter sends delinquency notices to PolicyCenter. The PolicyCenter user interface displays
links that enable you to view data in BillingCenter.
PolicyCenter includes Gosu plugins that interface with BillingCenter web services provided with BillingCenter.
These plugins enable PolicyCenter to send information to and retrieve information from BillingCenter.
BillingCenter publishes the following web services in the base configuration for use by PolicyCenter:
• gw.webservice.policycenter.bc900.BillingAPI
• gw.webservice.policycenter.bc900.BillingSummaryAPI
• gw.webservice.bc.bc900.BCAPI
• gw.webservice.bc.bc900.PaymentInstrumentAPI
• gw.webservice.policycenter.bc801.BillingAPI
• gw.webservice.policycenter.bc801.BillingSummaryAPI
• gw.webservice.bc.bc801.BCAPI
• gw.webservice.bc.bc801.PaymentInstrumentAPI
When PolicyCenter starts, it sends Producer, ProducerCode, Account, and Policy entity instances to
BillingCenter. Therefore, you must start BillingCenter before PolicyCenter.
See also
• For detailed information, see“Billing Integration” on page 489 in the Integration Guide and “Billing System
Integration” on page 799 in the Application Guide.
2. In Studio, navigate in the Project window to configuration → config → Plugins → registry, and then open
IPolicySystemPlugin.gwp.
c. For the Value of the parameter, enter the superuser user name su.
f. For the Value of the parameter, enter the superuser password gw.
5. In the Project window, navigate to configuration → config → suite and double-click suite-config.xml.
6. Remove the comment markers <!-- and --> from the line for the PolicyCenter URL:
<!--<product name="pc" url="http://localhost:8180/pc"/>-->
7. If necessary, update the PolicyCenter URL to match your server and port.
Note: The ${pc} variable for each of the defined web services is defined in suite-config.xml.
9. Ensure that the PolicyCenter server is running.
10. Select all the web services in Resources and click Fetch . You must refresh the web services, even if you have
made no changes to them.
11. Shut down the PolicyCenter server.
Starting BillingCenter
1. In a command prompt, navigate to the BillingCenter installation directory and type the following command:
gwb runServer
2. After BillingCenter is ready, open a supported web browser and enter the URL to BillingCenter. In the default
configuration, the web address is:
http://localhost:8580/bc/BillingCenter.do
d. After the data set loads, in the Options menu , click Return to BillingCenter.
2. In the Project window in Studio, navigate to configuration → config → Plugins → registry, and then open
IBillingSummaryPlugin.gwp.
3. Change Gosu Class to one of the following, depending on the version of BillingCenter that you are integrating
with:
gw.plugin.billing.bc900.BCBillingSummaryPlugin
gw.plugin.billing.bc800.BCBillingSummaryPlugin
5. Change Gosu Class to one of the following, depending on the version of BillingCenter that you are integrating
with:
gw.plugin.billing.bc900.BCBillingSystemPlugin
gw.plugin.billing.bc800.BCBillingSystemPlugin
6. In the Project window, navigate to configuration → config, and then open config.xml.
7. Set the BillingSystemURL parameter to the BillingCenter URL. Before configuration, the
BillingSystemURL is set to the null string. In a default installation, the BillingCenter URL is:
http://localhost:8580/bc/BillingCenter.do
This configuration parameter defines the URL for an exit point. Exit points are configured in config.xml and
not in suite-config.xml. The configuration parameters in suite-config.xml support integration between
Guidewire applications through web services. The exit point configuration parameters in config.xml support
integration between web browsers.
See “PolicyCenter Exit Points to ClaimCenter and BillingCenter” on page 546 in the Integration Guide.
8. If archiving is enabled in BillingCenter, set BillingSystemArchiveEnabled to true.
9. In the Studio Project window, navigate to configuration → config → suite, and then open suite-config.xml.
10. Remove the comment markers <!-- and --> from the line for the BillingCenter URL:
<!--<product name="bc" url="http://localhost:8580/bc"/>-->
11. If necessary, update the BillingCenter URL to match your server and port.
Note: The ${bc} variable for each of the defined web services is defined in suite-config.xml.
13. Ensure that the BillingCenter server is running. Then, in PolicyCenter Studio, select all the web services in
Resources and click Fetch .
Note: You must refresh the web services, even if you have made no changes to them.
14. In the same editor on the Settings tab is the configuration provider class. This class,
wsi.remote.gw.webservice.bc.BCConfigurationProvider, is used by the bc900 and bc800 plugins to
define the user name and password that PolicyCenter uses to connect with BillingCenter.
In the base configuration, PolicyCenter defines the user name pu and password gw in this class. Guidewire
recommends that you change the user name and password defined in this class. Then add a new user to
BillingCenter with the same user name and password that you specify in BCConfigurationProvider. That
new user must have the soapadmin permission, plus at least the permissions needed to view policies and
accounts.
There is an example of how to configure a user name and password with ContactManager that is similar to the
PolicyCenter configuration for BillingCenter. See “Configuring PolicyCenter-to-ContactManager Authenti-
cation” on page 66 in the Contact Management Guide.
Starting PolicyCenter
Whenever PolicyCenter is integrated with BillingCenter, on startup, PolicyCenter sends Producer,
ProducerCode, Account, and Policy entity instances to BillingCenter. Therefore, you must start BillingCenter
before PolicyCenter, so BillingCenter is available to receive this data. See “Starting BillingCenter” on page 107.
1. In a command prompt, navigate to the installation directory for PolicyCenter.
3. After PolicyCenter is ready, open a supported web browser and navigate to PolicyCenter. In the default instal-
lation, the web address is:
http://localhost:8180/pc/PolicyCenter.do
b. Type ALT+SHIFT+T.
f. After the data set loads, click the Options menu , and then click Return to PolicyCenter.
b. In the Search Policies screen, enter enough data to search for a policy.
For example, if the small sample data set is loaded, enter Ray in the First Name field, Newton in the Last Name
field, and 100-002541 in the Producer Code field.
c. Select a policy number and copy it.
d. In BillingCenter, click the drop-down button on the Policy tab, and then paste the policy number in the Pol-
icy # box.
f. In the Policy column, click the link to the policy. BillingCenter displays the Summary page for that policy.
b. In BillingCenter, select the drop-down button on the Account tab, and then paste the account number into
the Account # box.
c. Click Search. BillingCenter displays a list of matching accounts.
d. In the Account column, click the link to the account. BillingCenter displays the Summary page for that
account.
3. Verify that producers and producer codes were transferred from PolicyCenter to BillingCenter.
a. In PolicyCenter, click an account number to jump to the Account File Summary page for the account.
e. Click Search.
BillingCenter displays a list of matching producers. In the Name column, click the link to the producer to
see the producer Summary page.
Enabling Archiving
The default config.xml file has archiving disabled, as set in the following parameter:
<param name="ArchiveEnabled" value="false"/>
IMPORTANT Guidewire strongly recommends that you contact Customer Support before imple-
menting archiving.
Disabling Archiving
Archiving relies on Archive Policy Term and Restore Policy Term batch processing. If you do not want to enable
archiving, Guidewire recommends that you disable Archive Policy Term and Restore Policy Term batch
processing.
1. In a command window, navigate to the PolicyCenter installation directory.
3. In the Project window, navigate to configuration → config → workqueue, and then open work-queue.xml.
4. Comment out the following block by adding <!-- before the block and --> after it:
<work-queue workQueueClass="com.guidewire.pc.domain.archive.ArchivePolicyTermWorkQueue"
progressinterval="600000">
<worker instances="10"/>
</work-queue>
<work-queue workQueueClass="com.guidewire.pc.domain.archive.RestorePolicyTermWorkQueue"
progressinterval="600000">
<worker instances="10"/>
</work-queue>
See also
• “Archiving Overview” on page 549 in the Application Guide
See also
• “Guidewire Rating Management and PCRatingPlugin” on page 387 in the Integration Guide
• “Rating Management Concepts” on page 559 in the Application Guide
To disable RICedingWorkQueue
1. In a command window, navigate to the PolicyCenter directory in the PolicyCenter installation.
4. Comment out the following block by adding <!-- before the block and --> after it.
<work-queue workQueueClass="com.guidewire.pc.domain.reinsurance.RICedingWorkQueue"
progressinterval="30000">
<worker instances="1"/>
</work-queue>
a. Open Studio.
f. Enter CustomAuthServlet as the name for the class and click OK.
uses com.guidewire.pl.system.dependency.PLDependencies
uses com.guidewire.pl.system.service.context.ServiceToken
uses com.guidewire.pl.system.server.Version
uses com.guidewire.pl.web.controller.WebServlet
uses javax.servlet.http.HttpServletResponse
uses javax.servlet.http.HttpServletRequest
uses javax.servlet.http.HttpServlet
uses gw.servlet.ServletUtils
uses javax.security.auth.login.LoginException
uses gw.servlet.Servlet
uses gw.plugin.Plugins
uses gw.plugin.baseurlbuilder.IBaseURLBuilder
// try to login
try {
PLDependencies.LoginManager.login(req);
} catch (e : LoginException) {
respondUnauthorized(req,resp);
return;
}
return;
}
uses gw.plugin.security.AuthenticationServicePlugin
uses gw.plugin.security.AuthenticationServicePluginCallbackHandler
uses gw.plugin.security.AuthenticationSource
uses gw.plugin.security.UserNamePasswordAuthenticationSource
uses java.lang.IllegalArgumentException
uses javax.security.auth.login.FailedLoginException
uses gw.plugin.security.AuthenticationSourceCreatorPlugin
uses gw.plugin.security.AuthenticationSource
uses javax.servlet.http.HttpServletRequest
uses gw.plugin.security.UserNamePasswordAuthenticationSource
var source:AuthenticationSource;
var userName:String = p0.getParameter ("username");
var password:String = p0.getParameter("password");
print("userName\t" + userName)
print("password\t" + password)
return source;
}
}
In your code, check for errors and throw InvalidAuthenticationSourceData if there are errors.
6. Associate AuthServicePlugin.gs to the AuthenticationServicePlugin plugin.
a. Open AuthenticationSourceCreatorPlugin.gwp.
a. Expand configuration → config → Page Configuration → pcf, right-click entrypoints and click New → PCF file.
c. Select Entry Point for the file type and click OK.
c. Select Entry Point for the file type and click OK.
By default, Tomcat starts up in a new window. If it encounters errors, the new window might automatically close
too quickly for you to read any error messages. In this case, you can run Tomcat in the same command window
by editing the startup script. Locate the line in the script that runs Tomcat:
startup.bat: call "%EXECUTABLE%" start %CMD_LINE_ARGS%
Change the start option in the command to run. Save the script, and then run it again. Tomcat then runs in the
same command window, which you can use to view any error messages.
5. Click Start → Servicing all requests. The WebLogic Administration Console informs you of the deployments that
you selected to be started.
6. Click Yes.
7. Navigate to and select the PolicyCenter application. WebLogic identifies PolicyCenter by the name that you
gave to the deployed EAR file.
8. Click Deploy Application.
This step launches the PolicyCenter server. The application start process could take a few minutes to com-
plete.
3. Select the checkbox next to the PolicyCenter application, abbreviated by default as pc.
If PolicyCenter is already running, and you want to restart PolicyCenter, restart WebSphere.
If PolicyCenter is not running, click Start. PolicyCenter might take a few minutes to start.
IMPORTANT Guidewire does not support stopping and restarting the PolicyCenter server with the
WebSphere Application Server (WAS) tools alone. Instead, to stop the PolicyCenter server, shut down
the WebSphere server itself.
The following list shows default port numbers used by the application servers supported by PolicyCenter. You
can configure the application server to listen on a different port than the default.
QuickStart 8180
JBoss 8080
Tomcat 8080
WebLogic 7001
WebSphere 9080
Supply users with a user name and password along with the URL for your installation.
See “Web Client Information” on page 46 for a list of required software and hardware for client computers
accessing PolicyCenter.
3. Click OK.
4. Restart Firefox.
Command Reference
PolicyCenter includes a number of command line tools that you can use for help with build and administrative
tasks on your PolicyCenter server.
Because of their simplicity and power, command line tools are the preferred method of controlling server
behavior, loading data, and generating tools in the PolicyCenter configuration environment. These commands
can be configured using familiar files, are invoked using standard developer tools, and are compatible with a
wide spectrum of development environments.
See also
• “Command Prompt Tools” on page 317 in the System Administration Guide
Command Action
Command Action
gwb dropDB -Denv=<env> Prepares a new database for use by the Guidewire application. It will act
upon the database configured in database-config.xml, or as optionally
specified by the -Denv="env" parameter.
Use caution when using this command. If the database has any objects
before the command is run, the objects are all dropped and not available
for recovery except from a database backup.
You can pass additional parameters to this command by configuring the
<reset-tools-params> element underneath the
<dbcp-connection-pool> element of the <database> element in
database-config.xml.
Command Action
gwb earWebsphereDbcp Builds the EAR file for WebSphere including JDBC drivers. Use gwb
earWebsphereDbcp if you are going to have PolicyCenter manage the
database connection pool.
gwb earWebsphereJndi Builds the EAR file for WebSphere without JDBC drivers. Use gwb
earWebsphereJndi only if you are going to use a JNDI database connec-
tion managed by WebSphere.
See also
“Using a JNDI Data Source” on page 70.
WAR tools
gwb warJbossDbcp Builds the generic WAR file for JBoss including JDBC drivers. Use gwb
warJbossDbcp if you are going to have PolicyCenter manage the data-
base connection pool.
You can include the Boolean parameter config.war.dictionary=true to
also generate the PolicyCenter Data Dictionary and Security Dictionary
while building the WAR file. Use the following command:
gwb warJbossDbcp -Dconfig.war.dictionary=true
When config.war.dictionary=true, the command creates a
dictionary folder within the WAR file. The dictionary folder contains
data and security folders. These folders contain the Data Dictionary and
Security Dictionary respectively. To view a dictionary, open index.html in
the data or security folder.
gwb warJbossJndi Builds the generic WAR file for JBoss without JDBC drivers. Use gwb
warJbossJndi only if you are going to use a JNDI database connection
managed by JBoss.
You can include the Boolean parameter config.war.dictionary=true to
also generate the PolicyCenter Data Dictionary and Security Dictionary
while building the WAR file. Use the following command:
gwb warJbossJndi -Dconfig.war.dictionary=true
When config.war.dictionary=true, the command creates a
dictionary folder within the WAR file. The dictionary folder contains
data and security folders. These folders contain the Data Dictionary and
Security Dictionary respectively. To view a dictionary, open index.html in
the data or security folder.
See also
“Using a JNDI Data Source” on page 70.
gwb warTomcatDbcp Builds the generic WAR file for Tomcat including JDBC drivers. Use gwb
warTomcatDbcp if you are going to have PolicyCenter manage the data-
base connection pool.
You can include the Boolean parameter config.war.dictionary=true to
also generate the PolicyCenter Data Dictionary and Security Dictionary
while building the WAR file. Use the following command:
gwb warTomcatDbcp -Dconfig.war.dictionary=true
When config.war.dictionary=true, the command creates a
dictionary folder within the WAR file. The dictionary folder contains
data and security folders. These folders contain the Data Dictionary and
Security Dictionary respectively. To view a dictionary, open index.html in
the data or security folder.
Command Action
gwb warTomcatJndi Builds the generic WAR file for Tomcat without JDBC drivers. Use gwb
warTomcatJndi only if you are going to use a JNDI database connection
managed by JBoss.
You can include the Boolean parameter config.war.dictionary=true to
also generate the PolicyCenter Data Dictionary and Security Dictionary
while building the WAR file. Use the following command:
gwb warTomcatJndi -Dconfig.war.dictionary=true
When config.war.dictionary=true, the command creates a
dictionary folder within the WAR file. The dictionary folder contains
data and security folders. These folders contain the Data Dictionary and
Security Dictionary respectively. To view a dictionary, open index.html in
the data or security folder.
See also
“Using a JNDI Data Source” on page 70.
Change verification tools
gwb verifyResources Checks PCF files, XML schemas, and type loaders for errors.
gwb zipChangedConfig -DoutputFile Creates a ZIP file containing all files that are changed from the base con-
filename.zip [-DappRootDirectory figuration.
PolicyCenter Home] [-Dexclude
"directory1;directory2"] Specify the output filename with the -DoutputFile parameter.
You can also specify an application root directory by setting the
-DappRootDirectory parameter. If you do not set -DappRootDirectory,
the tool uses the PolicyCenter installation directory as the root. The
tool saves the output file relative to the application root. This file must not
already exist.
Specify any directories to exclude by setting the -Dexclude parameter,
which takes a quoted, semicolon delimited, list of directories to exclude.
Note that you can only exclude directories, and cannot exclude files.
Integration tools
gwb ccTypelistGen Runs the ClaimCenter Typelist Generator to help you synchronize your
ClaimCenter line of business model with your PolicyCenter product
model.
See also
“PolicyCenter Product Model Import into ClaimCenter” on page 546 in the
Integration Guide.
gwb genFromWsc Builds WSC meta-information. Run this command whenever there are
new .wsc files containing web service URLs available to generate the web
service stub code. Places all WSC files in the configuration module.
gwb genWsiLocal Generate the WSDL for WSI web services in gsrc/wsi/local.
Plugin development tools
gwb genJavaApi Builds the Java API libraries to the PolicyCenter/java-api directory.
See also
“Regenerating Integration Libraries and WSDL” on page 30 in the
Integration Guide.
gwb pluginStudio Starts IntelliJ IDEA with OSGi Editor. This is a specially-configured
instance of IntelliJ IDEA and included with PolicyCenter. You can use this
IDE for Java plugin development.
See also
“OSGi Plugin Deployment with IntelliJ IDEA with OSGi Editor” on
page 672 in the Integration Guide.
Project tools
Command Action
gwb cleanIdea Deletes the PolicyCenter Studio project files (.iml, .idea).
gwb idea Builds the PolicyCenter Studio project.
gwb codegen Generates metadata classes, page configuration classes, permission
classes, localization classes, xml classes, and entity role constraints
classes.
User interface tools
gwb webResources Generates expanded, debuggable CSS files from the Sass files that
define style rules for PolicyCenter.
See also
“Modifying Style and Theme Elements” on page 333 in the Configuration
Guide.
gwb updateTheme Applies style and image changes to PolicyCenter.
See also
“Modifying Style and Theme Elements” on page 333 in the Configuration
Guide.
Upgrade tools
gwb upgrade Runs configuration upgrade.
gwb upgradeProductModelStructure Upgrades a 7.0.x or 8.0.x product model structure to the current 8.0.x
-DtargetPath=target_path structure. Use this command to upgrade the product model directory
specified by targetPath to the current 8.0.x product model hierarchy.
Before running this command, Guidewire recommends that you make a
backup copy of the specified product model directory as the command
destructively modifies the target directory.
The targetPath argument is case-sensitive.
Globalization tools
gwb diffDisplayKeys A display key difference tool that does the following:
• Compares each locale configured on the server against the master dis-
play key list.
• Generates a file that contains a list of any missing keys.
See also
“Localizing Typecodes” on page 47 in the Globalization Guide.
gwb exportLocalizations Exports a translation file from PolicyCenter into a file.
-Dexport.file="translation_file"
-Dexport.language="export_language" The -Dexport.file parameter specifies the destination file.
• If you leave the import translation file in the same location, then enter
only the name of the file to import.
• If you move the translation file to a different location, then enter an
absolute path or a relative path to the file from the root of the installa-
tion directory.
The -Dexport.language parameter specifies the destination language to
export. The -Dexport.language parameter must match a PolicyCenter
LanguageType typecode, such as fr or ja.
See also
“Localizing Typecodes” on page 47 in the Globalization Guide.
Command Action
gwb importLocalizations Imports a translation file into the configuration.
-Dimport.file="translation_file"
-Dimport.language=destination_language The -Dimport.file parameter specifies the file that contains the transla-
tions. It must be in the same format as an export file from Studio.
The -Dimport.language parameter specifies the destination language for
the translations. The language must match a PolicyCenter LanguageType
typecode, such as fr or ja.
See also
“Localizing Typecodes” on page 47 in the Globalization Guide.
gwb installLocalizedPack Installs or upgrades a language module.
-Dmodule.file=ZipFileName
-Dinstall.type={install|upgrade} See also
“Installing Display Languages” on page 23 in the Globalization Guide.
gwb genPhoneMetadata Regenerates phone metadata in config/phone/data. Run this com-
mand if you have modified the phone metadata XML files
Documentation generation and other tools
gwb genDataDictionary Generates the Data Dictionary and Security Dictionary.
-DoutputFormat={html|xml}
The Data Dictionary includes physical fields in the database and virtual
fields in the data model.
The Security Dictionary includes application permission keys, system per-
missions, and roles.
Generate the dictionaries the first time you unzip PolicyCenter. Regener-
ate the dictionaries each time you update the data model.
Run the gwb genJavaApi command before regenerating the security and
data dictionaries.
The DoutputFormat parameter is optional. If this parameter is omitted, the
default output format is HTML.
You can also generate the dictionaries in HTML format while building a
WAR file. See the descriptions for WAR tools in this command list for
instructions.
Set DoutputFormat to html to generate HTML:
PolicyCenter/dictionary/data/index.html
PolicyCenter/dictionary/security/index.html
Set DoutputFormat to xml to generate XML:
PolicyCenter/build/dictionary/data/entityModel.xml
PolicyCenter/build/dictionary/data/entityModel.xsd
PolicyCenter/build/dictionary/security/securityDictionary.xml
PolicyCenter/build/dictionary/security/securityDictionary.xsd
See also
“Regenerating the Data Dictionary and Security Dictionary” on page 35 in
the Configuration Guide
gwb genDataMapping -Dsplit={true|false} Builds the data mapping files. Data mapping files represent fields present
in the physical database. None of the virtual fields are represented.
Set -Dsplit=true to build the files split out by table and typelist.
Set -Dsplit=false to build the data mapping files with all tables and
typelists concatenated.
gwb genEntityModelXml Generates the Data Dictionary in XML format with an associated DTD so
the XML document can be translated.
See also
“Regenerating the Data Dictionary and Security Dictionary” on page 35 in
the Configuration Guide.
gwb getImportAdminDataXsd Regenerates the XSD files for importing administrative data.
gwb genPcfMapping Builds the PCF mappings.
Command Action
gwb genRuleReport Generates an XML report describing the existing business rules.
See also
“Generating a Rule Repository Report” on page 47 in the Rules Guide.
gwb gosudoc Generates Gosu API reference of the APIs available from Gosu within
Studio. This command produces documentation at PolicyCenter/build/
gosudoc/index.html.
See also
“Gosu Generated Documentation (Gosudoc)” on page 38 in the Gosu
Reference Guide.
gwb packageSolr Regenerates the Solr ZIP file.