Install Guide
Install Guide
Installation Guide
Release 10.1.2
© 2021 Guidewire Software, Inc.
For information about Guidewire trademarks, visit [Link]
Guidewire Proprietary & Confidential — DO NOT DISTRIBUTE
Contents
Guidewire Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
About PolicyCenter documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
3
Guidewire PolicyCenter 10.1.2 Installation Guide
4
Guidewire PolicyCenter 10.1.2 Installation Guide
5
Guidewire PolicyCenter 10.1.2 Installation Guide
6
Guidewire PolicyCenter 10.1.2 Installation Guide
7
Guidewire PolicyCenter 10.1.2 Installation Guide
Guidewire Documentation
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 upgrade process, and describes how to upgrade your configuration and
database. The intended readers are implementation engineers who must merge base application
changes into existing application extensions and integrations.
Configuration Upgrade Tools Describes the tools and functionality provided by the Guidewire InsuranceSuite Configuration
Guide Upgrade Tools. The intended readers are implementation engineers who must merge base application
changes into existing application extensions and integrations. Visit the Guidewire Community to
access the Configuration Upgrade Tools Guide, which is available for download, separately from the
main documentation set, with the Configuration Upgrade Tools.
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 administrators
responsible for managing security, backups, logging, importing user data, or application monitoring.
Configuration Guide The primary reference for configuring initial implementation, data model extensions, and user
interface (PCF) files for PolicyCenter. The intended readers are all IT staff and configuration engineers.
PCF Format Reference Describes PolicyCenter PCF widgets and attributes. The intended readers are configuration engineers.
See the Configuration Guide
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 topics 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 Guidewire Studio for PolicyCenter. The
intended readers are business analysts who define business processes, as well as programmers who
write business rules in Gosu.
Guidewire Contact Management Describes how to configure Guidewire InsuranceSuite applications to integrate with ContactManager
Guide 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 programming code. The intended
8
Guidewire PolicyCenter 10.1.2 Installation Guide
Document Purpose
readers are system architects and the integration programmers who write web services code or
plugin code in Gosu or Java.
REST API Client Guide Describes how to use the InsuranceSuite REST API Client to make outbound HTTP calls to internal or
third-party REST services.
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.
ISBTF and GUnit Testing Guide Describes the tools and functionality provided by InsuranceSuite for testing application behavior
during an initial implementation or an upgrade. The guide covers functionality related to Behavior
Testing Framework, GUnit, and Gosu functionality designed specifically for application testing. There
are two sets of intended readers: business analysts who will assist in writing tests that describe the
desired application behavior; and technical developers who will write implementation code that
executes the tests.
Glossary Defines industry terminology and technical terms in Guidewire documentation. The intended readers
are everyone who works with Guidewire applications.
Advanced Product Designer Advanced Product Designer is a tool that helps you, a business user, design, simulate, and deploy an
Guide insurance product. The intended readers are business analysts who understand insurance products,
business systems analysts who liaise between business analysts and IT, project managers, and IT who
provides technical expertise in areas such as programming, testing, and databases.
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 readers are
business analysts and implementation engineers who customize the product model and design new
lines of business.
REST API Framework Describes the Guidewire InsuranceSuite framework that provides the means to define, implement,
and publish REST API contracts. It also describes how the Guidewire REST framework interacts with
JSON and Swagger objects. The intended readers are system architects and integration programmers
who write web services code or plugin code in Gosu or Java.
narrow bold The name of a user interface element, such Click Submit.
as a button name, a menu item name, or a
tab name.
9
Guidewire PolicyCenter 10.1.2 Installation Guide
Support
For assistance, visit the Guidewire Community.
Guidewire customers
[Link]
Guidewire partners
[Link]
10
chapter 1
Introduction to installation
Installing PolicyCenter starts with understanding the installation options that are available and which option to
choose.
Topic Description
“About installation roles” on page 11 Overview that discusses the different ways to install
PolicyCenter.
“Graphical overview of development and production environ- Diagram that shows how the PolicyCenter development and
ments” on page 13 production environment interact
“Preparing a PolicyCenter environment” on page 15 Steps to prepare a development or production environment
for PolicyCenter.
“Installing a PolicyCenter development environment” on How to install a PolicyCenter development environment us-
page 53 ing the QuickStart server and database or Tomcat.
“Installing a PolicyCenter production environment” on page 63 How to deploy PolicyCenter to an application server and da-
tabase server production environment.
“Additional PolicyCenter setup tasks” on page 91 Optional installation tasks you may want to perform after
you complete the installation and deployment of a
PolicyCenter development or production environment.
“Command reference” on page 123 Descriptions of the QuickStart and build commands.
Topic the System Administration Guide describes
PolicyCenter command utilities used by system administra-
tors.
Introduction to installation 11
Guidewire PolicyCenter 10.1.2 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 applica-
tion 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 testing Deploys finished application to test and production environments.
and production
Note: For information about supported servers and databases and the installation scenarios they
support, see “Servers, databases, and installation scenarios” on page 12.
See also
• “Installation environments overview” on page 15
• “Installing a PolicyCenter development environment” on page 53
• “Installing a PolicyCenter production environment” on page 63
Introduction to installation 13
Guidewire PolicyCenter 10.1.2 Installation Guide
Guidewire
Studio
Debug
Development Debug
QuickStart
Server
Test
Server
PolicyCenter
QuickStart Database Application
and
Check Out/Submit
Configuration
Files
Database
Local
Configuration WAR / EAR
Files
SCM
System
PolicyCenter Database
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 Supported Software Components knowledge article for current
system and patch level requirements. Visit the Guidewire Community and search for knowledge
article 1005, “Supported Software Components”.
IMPORTANT For PolicyCenter development, all application builds must use the appropriate Oracle
JDK. For current system and patch level requirements, visit the Guidewire Community and search for
knowledge article 1005, “Supported Software Components”.
If using an Oracle or SQL Server database server in a development environment, review also:
• “Configuring the database server for Guidewire applications” on page 27
After reviewing the relevant development environment information, proceed to “Installing a PolicyCenter
development environment” on page 53.
See also
• “Development workstation requirements” on page 47
Micro- If your network servers are Microsoft Windows systems, create a user with the Log on as a service right. Ensure that
soft this user is not a member of any group. Then, start the application server process as this user to ensure that
Win- PolicyCenter is run with the correct rights.
dows If you run Tomcat on Microsoft Windows, install the PolicyCenter server as a Windows service. See “Install Tomcat as
a Windows service” on page 22 for more information.
UNIX 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.
Production envi- Guidewire supports JBoss, WebSphere, WebLogic, and Tomcat application servers.
ronments
Development envi- Guidewire provides the best support for the bundled QuickStart application server.
ronments Guidewire also supports JBoss, WebSphere, WebLogic, and Tomcat application servers for development
use. However, because these application servers do not reload resources modified in Studio without a
rebuild and redeploy, they are not ideal for development work.
See also
• For information about the specific application server versions Guidewire supports for PolicyCenter 10.1.2, visit
the Guidewire Community and search for knowledge article 1005, “Supported Software Components”.
• For information on configuring the QuickStart application server, see “About the QuickStart application server”
on page 54.
See also
• For information about the specific JDK or JRE versions that Guidewire supports for PolicyCenter 10.1.2, visit
the Guidewire Community and search for knowledge article 1005, “Supported Software Components”.
See also
• System Administration Guide
See also
• See the Configuration Guide for parameter descriptions and suggested values.
Preparing a PolicyCenter environment 17
Guidewire PolicyCenter 10.1.2 Installation Guide
For more information on setting JVM options, see the documentation provided with your application server.
See also
• “About heap size in Tomcat on Windows” on page 23
• “Increase heap size for WebLogic” on page 24
• “Increase heap size for WebSphere” on page 24
Refer to the documentation provided with your application server for more information.
Note: The terms 32-bit and 64-bit refer to the size of the pointer used to reference an address.
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-production
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:
Linux 2.7GB Very large
Windows 1.5 GB Very large
Operating system 32‐bit heap size scales to: 64‐bit heap size scales to:
AIX 2 GB Very large
Linux 2.56 GB Very large
Windows 1.5 GB Very large
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 recommends 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.
a standard way to track session state across requests. However, some load balancers support IP affinity, which
allows for very coarse load balancing of SOAP requests on a per-system basis. PolicyCenter supports both
sessionless and sessioned SOAP calls, the latter of which require IP affinity.
See also
• System Administration Guide
The [Link] conflicts with PolicyCenter in the JBoss class loader. Not all JBoss versions
include this JAR file.
Edit the file, and change the port property for the WebServer service from 8080 to 8983, as the following example
shows.
<bean class="[Link]">
<property name="serviceName">[Link]:service=WebServer</property>
<property name="port">8983</property>
See also
•
• “Install a Tomcat instance for free-text search ” on page 23
• “Installing a WebSphere instance for free-text search” on page 26
20 chapter 2: Preparing a PolicyCenter environment
Guidewire PolicyCenter 10.1.2 Installation Guide
By default, Apache HTTP server discloses the Apache version number in HTTP response headers and Apache error
pages. This information can reveal valuable details to an attacker about possible vulnerabilities in the software. If
you are using Apache HTTP Server, Guidewire recommends that you customize your installation to not return this
information.
Procedure
1. Open the Apache HTTP server [Link] file, located in the conf directory.
2. Change ServerSignature to Off.
3. Change ServerTokens to Prod.
4. Save [Link].
5. Restart the Apache HTTP Server.
Guidewire recommends that you remove the following directory from any Guidewire production implementation
that uses Tomcat:
TOMCAT_HOME/webapps/examples
There have been security vulnerabilities reported for some versions of the example scripts shipped with Tomcat.
Procedure
1. In the Tomcat installation directory, find and open file conf/[Link].
2. Find the definition for the http connector. It looks similar to the following:
<Connector port="8180" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
4. Save [Link].
5. Restart Tomcat to make these changes effective.
Procedure
1. Open the Tomcat conf/[Link] file in a text editor.
2. Uncomment the <Manager> element:
<Manager pathname="" />
3. Save [Link].
automatically as Windows starts and use the standard Windows service management tools to manage the
PolicyCenter server.
Before the PolicyCenter application starts, the database server must already be up and running. Keep this order issue
in mind as you develop startup procedures and scripts.
Procedure
1. Start the Tomcat Windows service.
2. From the Start menu, click Control Panel.
3. Click Administrative Tools.
4. Click Services.
5. Right-click the Tomcat service and click Properties.
6. Add the following to Start parameters:
-Xms1024m -Xmx1024m
Procedure
1. From the Windows desktop, right-click My Computer.
2. Select Properties and click the Advanced tab.
3. Click the Environment Variables button.
4. Under System Variables, click New.
5. Set the Variable Name to CATALINA_OPTS.
6. Set the Variable Value to -Xms1024m -Xmx1024m.
For values to set in this step, see “JVM heap size considerations” on page 18.
7. Click OK until the properties settings dialog closes.
See also
•
• “Install a JBoss instance for free-text search” on page 20
• “Installing a WebSphere instance for free-text search” on page 26
Procedure
1. Create an environment variable on your system named USER_MEM_ARGS.
2. For the value of USER_MEM_ARGS, enter:
-Xms256m -Xmx1024m -[Link]=dev
The server mode entry is needed for reloading PCF pages.
3. (Optional) To run the server in production mode, remove the -[Link] argument listed in “Increase
heap size for WebLogic” on page 24.
By default, PolicyCenter starts in production mode on all application servers except the bundled QuickStart
server.
Procedure
1. Open the WebSphere Administrative Console.
2. From the left menu, select Servers→Server Types→WebSphere application servers.
3. Select your server from the list on the right.
4. Under Server Infrastructure select Java and Process Management→Process Definition.
5. Under Additional Properties, select Java Virtual Machine.
6. Enter the following heap sizes, then click OK:
Initial heap size – 256
Maximum heap size – 1024
7. Click OK.
WebSphere displays a confirmation dialog that shows that changes have been made.
8. Click Save.
24 chapter 2: Preparing a PolicyCenter environment
Guidewire PolicyCenter 10.1.2 Installation Guide
Procedure
Verify that the WebSphere web container custom property [Link] is not
configured to enable the HTTPOnly attribute on the PolicyCenter csrfToken cookie.
The [Link] contains a comma separated list of cookies that are given the
HTTPOnly attribute. An asterisk value means that all cookies are given the HTTPOnly attribute.
See also
See also
Procedure
e. Click OK.
f. In the Messages box, click Save to apply the changes to the master configuration.
4. Stop and start the application server.
WARNING Guidewire supports the built-in automatic database upgrade process only for
Guidewire InsuranceSuite products. Guidewire explicitly does not support any alternative process
that executes SQL DDL commands on the database.
If you have a legitimate need to update underlying application data, Guidewire recommends that you use Guidewire
APIs, either Java or Gosu, to perform the necessary updates. This ensures that you do not miss any critical side
effects of the updates in the process of altering the data. Using Guidewire APIs to update application data is safer
than using SQL queries with regard to consistency. However, with any programming language or API it is still
possible to update data incorrectly or in ways that do not perform well. Therefore, before using the APIs, Guidewire
Preparing a PolicyCenter environment 27
Guidewire PolicyCenter 10.1.2 Installation Guide
strongly recommends that you review your intended updates with your Guidewire Support Partner and/or Guidewire
Professional Services team.
In the rare case in which no API exists to correct a data corruption problem, Guidewire can advise you on the SQL
queries to use to correct these problems. In these cases, the SQL queries used to update the database must be written,
or approved, by Guidewire. This process ensures that all SQL queries use correct logic and that you take all potential
side effects into account.
Do not apply any other SQL queries to modify data in a PolicyCenter database. Guidewire does not provide, nor
review, such queries for situations in which an API or supported alternate method is available.
See also
• System Administration Guide
See also
• Globalization Guide
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.
See also
• System Administration Guide
</ora-db-ddl>
</upgrade>
</database>
See also
• System Administration Guide
• You can override options for a specific index by adding an <ora-index-ddl> element within the <ora-table-
ddl> element for the table that has the index. For example:
<database>
...
<upgrade>
<ora-db-ddl>
<ora-table-ddl table-name="pc_tableName">
<ora-index-ddl index-compression="true|false" key-columns="column1,column2" />
</ora-table-ddl>
</ora-db-ddl>
</upgrade>
</database>
Specify an index by setting the key-columns attribute of the <ora-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.
The following example specifies the following overrides:
• Index compression for the entire database
• No compression for the pc_Activity index that contains key columns PublicID and Retired in key positions
one and two, respectively.
• No compression for any indexes on the pc_Workflow table.
<database>
...
<upgrade>
<ora-db-ddl>
<ora-compression index-compression="true">
<ora-table-ddl table-name="xx_Activity">
<ora-index-ddl key-columns="PublicID,Retired" index-compression="false" />
</ora-table-ddl>
<ora-table-ddl table-name="xx_Workflow">
<ora-table-compression index-compression="false" />
</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.
See also
• System Administration Guide
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. SQL Server applies page
compression only if the page becomes full. For page compression, the following operations happen in the listed
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.
See also
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>
See also
• 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>
See also
• System Administration Guide
IMPORTANT
Guidewire supports only 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, configure the Oracle instance to set
nls_length_semantics to char. Otherwise, the application server will not start.
Note: Oracle recommends that you do not set the nls_length_semantics parameter to
char (due to concerns about third party applications relying on the value being set to
byte), but Guidewire specifically relies on having it set to char. For more details, see
Oracle support MOS Doc ID 144808.1.
Guidewire does not support non-ASCII characters in database schema object names and qualifiers.
Without limitation, these names and qualifiers include table names and column names. If you do not
restrict schema object names and qualifiers to ASCII characters, an exception will result.
Procedure
1. Create a new database instance for PolicyCenter.
Guidewire recommends that you not share the PolicyCenter database with other data or applications.
2. Create one or more tablespaces to support the PolicyCenter logical tablespaces. Guidewire recommends that
you create a separate tablespace for each logical tablespace:
• create trigger
• create view
• query rewrite
• select any dictionary
If your users want to view statspack data on the PolicyCenter Info Pages interface, you also need to grant the
pcUser access to Statspack's (perfstat user) tables.
5. Grant quota on all the tablespaces listed in step 2 to the pcUser.
6. Set default tablespace for pcUser to the one being mapped to the OP logical tablespace.
7. (Optional) In a production environment, edit the PATH environment variable and move any Oracle directories
to the end of the variable, after the PolicyCenter directories.
This action prevents potential conflicts with PolicyCenter files as Oracle adds directories to the PATH
environment variable if you run the database and application servers on the same computer.
Note: 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 and verify that all the tablespaces are visible.
9. Define the method you will use to gather Oracle database statistics. Select and configure your choice as
outlined in .
Note: A change in the value of useoraclestatspreferences takes effect only during an application
upgrade.
Note: Due to Oracle Bug 27818902, using Oracle AutoTask to gather database statistics can create
certain issues in Guidewire PolicyCenter. See the Major issues and changes section of the Release
Notes for details.
See also
• System Administration Guide
Use the following syntax in the <database> block to specify the use of compressed SecureFile LOBs for all LOBs
in the database.
Preparing a PolicyCenter environment 37
Guidewire PolicyCenter 10.1.2 Installation Guide
<ora-db-ddl>
<ora-lobs type="SECURE_COMPRESSED" caching="true|false"/>
</ora-db-ddl>
Use the following syntax in the <database> block to specify the use of compressed SecureFile LOBs for all LOBs
on a particular table.
<ora-db-ddl>
<ora-table-ddl name="pc_tablename">
<ora-lobs type="BASIC" />
</ora-table-ddl>
</ora-db-ddl>
PolicyCenter does not automatically convert LOBs if you change the configuration. You can convert the tables in
Oracle and then update the PolicyCenter configuration. PolicyCenter then uses the updated configuration for new
objects.
Refer to Oracle documentation for information about basic file, SecureFile, and compressed SecureFile LOBs.
See also
• System Administration Guide
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 attribute
on <ora-table-hash-partitioning>.
Note: PolicyCenter creates partitions only if creating a table or index. PolicyCenter does not modify
existing tables or indexes. If an upgrade process drops and rebuilds a table, PolicyCenter partitions the
table if the table is configured to be partitioned. The schema verifier detects and flags the table if a
table is configured as partitioned but is not, or if it is not configured as partitioned but is partitioned.
See also
• System Administration Guide
The use of the partitioning-type attribute is mandatory. This attribute takes one of the following values.
LOCAL The only allowed attribute is the partitioning-type attribute. PolicyCenter partitions the index as the table is parti-
tioned.
HASH PolicyCenter hash-partitions the index globally on the leading key of the index by using the number of partitions speci-
fied or the default number 128.
RANGE PolicyCenter range-partitions the index by using the range-partitioning-column-list columns and the values speci-
fied in the ora-index-range-partition elements under this element.
The range-partitioning-column-list element takes a comma-delimited list of columns to use for range-partitioning
this index. This element requires the definition of one or more ora-index-range-partition elements.
The ora-index-range-partition defines the value range for each partition in value-list. It defines a comma-
delimited, ordered list of literal values corresponding to the column list defined in range-partitioning-column-list.
Place any single String value inside single quotation marks. Surround the entire list of values by double quotation
marks.
PolicyCenter uses these defined values in the SQL clause VALUES LESS THAN(value_list). Do not specify the last
range, which is always VALUES LESS THAN (MAXVALUE[, MAXVALUE, ...]).
Note: PolicyCenter does not support the use of a date column for range-partitioning of indexes.
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>
See also
See also
Guidewire recommends that you not share the SQL Server instance on which you are running PolicyCenter with
other data or applications.
See also
• System Administration Guide
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 of the database.
Note: Guidewire recommends that you not share the PolicyCenter database with other applications.
Note: It is possible for a database administrator to write a CREATE DATABASE SQL statement to create
the database also.
Procedure
1. If not already open, open SQL Server Management Studio.
2. If creating a new database, do the following. Otherwise, skip to step 3:
a. Right-click the Databases node and select New Database.
b. Enter a database name in the New Database dialog.
c. Click OK.
d. Skip to step 4.
3. If modifying the model database, do the following:
a. Expand Databases→System Databases,
b. Right-click model and select Properties,
c. Continue to step 4.
4. Optionally, create one or more filegroups to support the PolicyCenter logical tablespaces from the Filegroups
page.
See “Create filegroups in SQL Server” on page 44 for details.
5. Select the Options page.
a. Choose your database collation if not using the SQL Server server default. The only requirement is that it
is a CI (case-insensitive) collation.
b. Verify that the values for Auto Create Statistics and Auto Update Statistics are both set to True.
During start up, PolicyCenter checks that these properties are set to True and validates that the SQL
Server database is case-insensitive.
c. Verify that the value of Auto Shrink is set to False.
Note: If the value of this options is set to True, poor performance can result.
d. Click OK.
6. Right-click Security and select New→Login.
a. On the Login - New dialog, select SQL Server Authentication if not already selected.
b. Specify a password and password policy options.
c. Click OK.
7. In Object Explorer, expand the database and open Security→Users.
a. Right-click Users and select New User.
b. Enter pcUser for the User name.
c. Enter the Login name that you created earlier.
d. Select db_owner in both Schemes owned by this user and Database role membership panels.
This action grants ownership of the PolicyCenter database to pcUser.
e. Click OK.
8. Grant the pcUser the following permissions on each PolicyCenter data management view:
• view server state
• view database state
Preparing a PolicyCenter environment 43
Guidewire PolicyCenter 10.1.2 Installation Guide
See “Grant Guidewire Data Management view permissions to pcUser” on page 45 for details.
9. Disable the SQL Server autogrowth feature in a production system.
See “Disable the SQL Server autogrowth feature” on page 45 for details.
10. Set the READ_COMMITTED_SNAPSHOT option to on.
PolicyCenter checks for this condition during application start up.
See “Set the READ_COMMITTED_SNAPSHOT option” on page 46 for details.
Note: There is no need to save the READ_COMMITTED_SNAPSHOT query that sets this value.
11. Close SQL Server Management Studio.
See also
Review the information in “About filegroups in SQL Server” on page 44 before proceeding with this task.
Procedure
Procedure
1. If not already open, open SQL Server Management Studio.
2. In Object Explorer, right-click the database and select Properties.
3. Select the Permissions page.
4. Select pcUser.
5. Select the check box to grant view database state permission.
6. Click OK.
7. Right-click the server and select Properties.
8. Select the Permissions page.
9. Select the login associated with pcUser.
10. Select the check box to grant view server state permission.
11. Select the check box to grant create any database permission.
This permission allows the gwb dropDb command to recreate the database.
12. Click OK.
Procedure
1. If not already open, open SQL Server Management Studio.
2. Right-click the database and select Properties.
3. Select the Files page.
a. For each database file, click … in the Autogrowth column.
b. Click the check box for Enable Autogrowth to deselect it.
Preparing a PolicyCenter environment 45
Guidewire PolicyCenter 10.1.2 Installation Guide
c. Click OK.
4. Repeat the previous step for each database file.
5. Click OK on the Database Properties screen.
Procedure
1. In SQL Server Management Studio, click New Query.
2. In the query pane, enter:
3. Click Execute.
SQL Server Management Studio shows you that the command completed successfully.
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.
Whenever you partition a SQL Server index, 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.
46 chapter 2: Preparing a PolicyCenter environment
Guidewire PolicyCenter 10.1.2 Installation Guide
The PolicyCenter database schema verifier checks that an index and the associated table are stored in the partition
scheme configured in [Link].
Refer to Microsoft documentation for information about how to create SQL Server partition schemes.
See also
• System Administration Guide
Full Guidewire successfully completed functional testing and performance tuning for the browser and fully supports
it.
Partial Guidewire completed some testing for the browser and found significant functional or performance issues that
Guidewire could not resolve. The browser might have a known issue that the browser vendor has not
committed to resolving. Browsers with partial support also include browsers that have not yet made it past
quality assurance but that Guidewire determines might be fine to use. For example, a newer version of a fully
supported browser could be partially supported until Guidewire can fully test the new version. The partial
support grade functions largely as a staging area while Guidewire verifies all facets of support.
Unsupported These are browsers that have significant functional or performance issues. Guidewire does not support any
browser that does not fully support HTML5 and CSS3. Other less commonly used browsers, such as Opera or
Dolphin, could be unsupported because Guidewire has not tested them due to a lack of demand. The
Preparing a PolicyCenter environment 47
Guidewire PolicyCenter 10.1.2 Installation Guide
unsupported grade functions as a collection of browsers that are unlikely to get any support in the medium to
long term.
To preserve PolicyCenter user preferences between browser sessions, Guidewire requires that DOM storage be
enabled in Internet Explorer. Microsoft enables DOM storage by default. However, if DOM storage is disabled,
PolicyCenter displays the following message after you log into PolicyCenter:
Browser DOM Storage disabled: User preferences will not be persistent after page refresh in this browser version.
Procedure
Installing Java
The PolicyCenter application server and Guidewire Studio require the use of a JVM (Java Virtual Machine).
IMPORTANT Production environments must use a 64-bit operating system and 64-bit JVM.
To use a 64-bit JDK for development, add the startup parameter -XX:+UseCompressedOops to the JVM.
By default, the JVM 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 JVM with Tomcat, add the -server flag to CATALINA_OPTS.
• If using JVM with WebLogic, 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.
Note: Do not set JAVA_HOME to point to the DCEVM or use the DCEVM JDK to build your project in
Guidewire Studio. The DCEVM is intended for use while debugging to hot-swap changes. Using it to
build your project (beyond simple changes made while debugging) can cause severe performance
problems when doing either incremental or full builds.
Guidewire does not support using the DCEVM for other application servers or in a production
environment.
See the Supported Software Components knowledge article for information about which specific DCEVM version
Guidewire supports for PolicyCenter 10.1.2. Visit the Guidewire Community and search for knowledge article 1005,
“Supported Software Components”.
See also
• [Link]
See the Supported Software Components knowledge article for information about which specific DCEVM version
Guidewire supports for PolicyCenter 10.1.2 . Visit the Guidewire Community and search for knowledge article
1005, “Supported Software Components”.
For Java 11
Procedure
1. Visit [Link]
2. Click the Java 11 link.
3. Scroll to find the binary for your development platform, and click to download the relevant file:
Windows [Link]
Mac [Link]
Linux [Link]
For Java 8
Procedure
1. Visit [Link]
2. Click the link under Binaries to download the appropriate DCEVM installer for your java version.
Java 8 update 181
3. Install the DCEVM as an alternative JVM.
a. At a command prompt, run java -jar [Link], where [Link] is the name of the file
you downloaded in the previous step.
java –jar [Link]
You may need administrator or super user privileges.
The Dynamic Code Evolution VM Installer dialog appears.
b. Select the installation directory for the JDK corresponding to the DCEVM version you are installing.
c:\Program Files\Java\jdk1.8.0_181
c. Click the Install DCEVM as altjvm button.
The Dynamic Code Evolution VM Installer dialog displays Yes in the Installed altjvm column for the
selected JDK.
d. Click "X" to close the Dynamic Code Evolution VM Installer dialog.
4. Edit your configuration in Studio to add -XXaltjvm=dcevm to VM options.
a. In Studio, at the right hand side of the toolbar, select Server.
b. Click Run→Edit Configurations.
c. Under Application, click Servers.
d. In VM options, add -XXaltjvm=dcevm to the end of the line.
e. Click OK.
Procedure
1. Open a command prompt.
2. Run the following command:
set
The command lists the operating system environment variables
CATALINA_OPTS
The development environment enables you to customize PolicyCenter and rapidly view and test your
customizations. Do not use a development environment for production.
IMPORTANT This topic only provides information for installing a PolicyCenter development
environment. 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.
See also
• “Installing the QuickStart development environment” on page 54
• “Installing PolicyCenter on JBoss in a production environment” on page 83
• “Installing PolicyCenter on WebSphere in a production environment” on page 88
• “Installing PolicyCenter on WebLogic in a production environment” on page 86
Most containers hold the session ID in a cookie. The container gives the cookie a default name and associates the
cookie with a host name or IP address and a path. If you run multiple application servers for the same application,
each one generates a session cookie with the same host name and path. The session cookie does not include the port
number. Therefore, if you log into one application instance, the browser ends the session with any other application
servers having the same host and path, even if port numbers differ.
Note: This is not an issue if you run two different Guidewire applications on a single machine. The
two different applications run under different webapp paths.
To work around this issue, open the application instance sessions using different paths. For example, use the fully
qualified domain machine name for one application server and localhost for the second application server. The
browser does not associate the same cookie with an IP address and with a machine name.
See also
• See the Supported Software Components knowledge article for current system and patch level requirements. Visit
the Guidewire Community and search for knowledge article 1005, “Supported Software Components”.
See also
• System Administration Guide
See also
• “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 58
• “Install sample data” on page 61
• System Administration Guide
*****PolicyCenter ready*****
See also
• See “Modify the QuickStart database file location” on page 58 for details of how to change the QuickStart
database file location.
• Configuration Guide
QuickStart commands
You launch many PolicyCenter commands by passing arguments to the gwb command, located in the PolicyCenter
installation directory.
See also
• For a list of gwb commands, see “Command reference” on page 123.
• For a list of JVM options that work with the gwb commands, see the System Administration Guide.
Unable to upgrade
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
Port conflicts
Issue
You experience port conflicts.
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 55
56 chapter 3: Installing a PolicyCenter development environment
Guidewire PolicyCenter 10.1.2 Installation Guide
H2 database configuration
In the base configuration, Guidewire provides several default database configurations for the H2 database in file
[Link]:
• h2
• h2mem
In Studio, PolicyCenter uses the in-memory version of the H2 database (h2mem) while running the server in test
mode. Thus, you can start the application server from Studio using either of the following commands from the
Studio Run menu:
• Server
• TestServer
If you choose the Server command, PolicyCenter starts the server with no named environment, which maps to the h2
database configuration in file [Link]:
<database name="PolicyCenterDatabase" dbtype="h2">
<dbcp-connection-pool jdbc-url="jdbc:h2:file:/tmp/guidewire/pc"/>
<upgrade defer-create-nonessential-indexes="false"/>
</database>
If you choose the TestServer command, PolicyCenter starts the server with the h2mem environment, which maps to
the h2mem database configuration in file [Link]:
<database name="PolicyCenterDatabase" dbtype="h2" env="h2mem">
<dbcp-connection-pool jdbc-url="jdbc:h2:mem:/tmp/guidewire/pc"/>
<upgrade defer-create-nonessential-indexes="false"/>
</database>
The h2mem configuration starts the application server, which then stores the H2 database in memory. The server then
discards the H2 database in memory after you shutdown the server. Thus, the server rebuilds the H2 database every
time you start the H2 server in H2mem mode.
Installing a PolicyCenter development environment 57
Guidewire PolicyCenter 10.1.2 Installation Guide
Procedure
1. In a command window, navigate to the PolicyCenter installation directory.
2. Launch Guidewire Studio using the following command:
gwb studio
6. Make changes to the file location and prefix as needed for your business needs.
7. In Studio, click File→Save All.
See also
• For instructions on creating a SQL Server or Oracle database instance, consult “Configuring the database server
for Guidewire applications” on page 27.
• For instructions on configuring PolicyCenter to connect to the database, consult “Configuring a database
connection” on page 64.
See also
• Application Guide
• Integration Guide
See also
• Configuration Guide
• System Administration Guide
• Integration Guide
WARNING After you set ArchiveEnabled to true and start the server, you cannot change
the value of this parameter again. If you reset the value to false, the server does not start.
3. Navigate to the following location and open file [Link] for editing:
configuration→config→scheduler
4. Locate and uncomment the Archive-related code blocks
<ProcessSchedule process="ArchivePolicyTerm">
<CronSchedule dayofmonth="1" hours="1"/>
</ProcessSchedule>
<ProcessSchedule process="RestorePolicyTerm">
<CronSchedule hours="1" minutes="30"/>
</ProcessSchedule>
Guidewire comments out these code block in the base configuration version of this file. To make the archiving
schedules active, you must uncomment the code blocks by removing the <!-- and --> tags that surround the
code block.
5. Navigate to the following location and open file [Link] for editing:
configuration→config→workqueue
6. Ensure that the number of writer instances is adequate for your PolicyCenter installation.
<work-queue workQueueClass="[Link]"
progressinterval="600000">
<worker instances="10"/>
</work-queue>
<work-queue workQueueClass="[Link]"
progressinterval="600000">
<worker instances="10"/>
</work-queue>
configuration→config→Plugins→registry→IPCArchivingPlugin
Modify and update the plugin implementations to meet your business needs.
8. Save your work.
9. Rebuild and redeploy Guidewire PolicyCenter for your configuration changes to take effect.
See also
• Configuration Guide
• System Administration Guide
• Integration Guide
Archiving enabled
After you enable PolicyCenter archiving, you cannot disable archiving entirely unless you drop the application
database. This means that once enabled, even after you disable archiving, you still see references to Policy Term
archiving within the PolicyCenter user interface.
Do not attempt to disable archiving in a production environment after you have enabled this functionality.
WARNING Do not attempt to reset the value of ArchiveEnabled from true to false. After you
set ArchiveEnabled to true and start the server, you cannot change the value of this parameter
again. If you reset the value to false, the server does not start. Also, do not remove the archive
work queue. Removing this work queue after enabling archiving prevents that application server
from starting.
You can actively disable the default, but, unused, configuration elements that PolicyCenter uses in processing
archive items. If you choose to disable the unused archiving configuration elements, do the following:
Rebuild and redeploy Guidewire PolicyCenter for your configuration changes to take effect.
See also
• Configuration Guide
• System Administration Guide
60 chapter 3: Installing a PolicyCenter development environment
Guidewire PolicyCenter 10.1.2 Installation Guide
• Integration Guide
IMPORTANT Guidewire expressly does not support any attempt to load the default sample data into a
production system.
To demonstrate the difference in rate calculation between written date and effective date, Guidewire configures the
sample data for all states beginning with the letter “N” to use written date. Rates for those states are chosen based on
the current date and not the effective date of the policy. Guidewire configures all other states to use the effective date
of the policy. This has nothing to do with actual industry practices or state laws. It is only a demonstration.
If you have previously loaded a sample data set, you must drop the PolicyCenter database before it is possible to
load a different sample data set.
Procedure
1. Log into PolicyCenter using an administrative user account.
2. Press Alt+Shift+T to open the Server Tools page.
3. Click Internal Tools.
4. Click PC Sample Data in the menu on the left.
5. Click Load for one of the following:
Tiny Provides a small amount of data. Load the Tiny data set for unit tests.
Free-text A separate additional data set of accounts and policies for testing and demonstrating Guidewire free-text
Search search.
Guidewire recommends that you set up and enable free-text search before you load free-text sample data.
PolicyCenter indexes the sample data automatically if you load the data after you set up and enable free-
text search. If you load free-text sample data before you set up and enable free-text search, you then must
perform an extra step to index the sample data.
For more information, see.
Small Includes all of the Tiny set plus a few sample accounts and policies. Load the Small data set for local config-
uration.
Large Includes all of the Small set plus a full set of data. Load the Large data set for demonstrations, manual
quality assurance, and performance testing.
Product x Additional data set containing policies for every product in every job status allowed by GUnit entity build-
Job Status ers.
See also
• For instructions on how to import or export administrative data, see the System Administration Guide.
• “Using Gosu to configure sample data” on page 62
• “Verify sample data changes in PolicyCenter” on page 62
Installing a PolicyCenter development environment 61
Guidewire PolicyCenter 10.1.2 Installation Guide
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.
See also
• “Installing a PolicyCenter development environment” on page 53
See also
• For an overview of the directories included with PolicyCenter, see the Configuration Guide.
Result
// 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 [Link] contains a single root-level <database> element that takes the following attributes.
64 chapter 4: Installing a PolicyCenter production environment
Guidewire PolicyCenter 10.1.2 Installation Guide
Boolean value that specifies whether PolicyCenter runs consistency checks before it
starts.
• Development environments – For development environments with small data
sets, you can enable consistency checks to run each time the PolicyCenter server
starts. Set the value of checker in the database block to true to enable checks on
server startup.
• Production environments – Running consistency checks upon server startup can
take a long time, impact performance severely, and possibly time out on very
large datasets. Set the value of checker in the database block to false to disable
checks on server startup.
Recommendations:
• True – Guidewire recommends that you only set checker to true in development
environments with small test data sets.
• False – Guidewire recommends that you set checker to false under most
circumstances.
See also
• System Administration Guide
dbtype Yes ... Database type, either h2 (for the QuickStart database), oracle or sqlserver.
env No ... Optional environment variable. Use of the env attribute to set a server environment
enables you to provide different database configurations for different server environ-
ments. For example, you can set up different database configurations for a produc-
tion environment and a test environment.
See the System Administration Guide for more information.
name Yes ... A string identifying the database for which PolicyCenter uses this connection specifi-
cation.
printcommands No true Boolean value that specifies whether the server prints database upgrade messages to
the console upon startup.
By default, Guidewire sets the value of printcommands to true in the base configura-
tion. Do not set printcommands to false in a production environment.
versionchecksonly No false Boolean value that specifies whether the PolicyCenter server runs only database ver-
sion checks at startup, without performing any actual database upgrade steps.
See also
Checking the database before upgrade in the Upgrade Guide
See also
• “Configuring the database server for Guidewire applications” on page 27
• System Administration Guide
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
• See “Configuring the database server for Guidewire applications” on page 27 for information on creating
physical tablespaces or filegroups for your database.
To specify tablespaces for a particular table in Oracle, use the following syntax in your database configuration in
[Link]:
<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 configuration in
[Link].
66 chapter 4: Installing a PolicyCenter production environment
Guidewire PolicyCenter 10.1.2 Installation Guide
<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 database compression” on page 29
• “Guidelines for configuring Oracle for PolicyCenter” on page 34
• “Guidelines for configuring SQL Server for PolicyCenter” on page 41
env Specifies the environment for the table group. You can have different table groups set up for different environments.
name Identifies the table group.
tables Defines which tables are in the table group. Use a comma-separated list to specify the tables, for example:
<database>
...
<tablegroup name="MyTables" tables="pc_1, pc_2, pc_3"/>
...
</database>
See also
• System Administration Guide
See also
• See the System Administration Guide for a description the database configuration parameters that control the
connection pool.
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.
Use a pass- See “Use a password file to obfuscate the database password” on page 70
word file
Implement the To hide the password in the JDBC URL in [Link], Guidewire provides a default implementa-
Database Au- tion of the DBAuthenticationPlugin authentication plugin. The use of this plugin implementation provides
thentication a higher level of security than the use of an external file to store the password.
Plugin Use this plugin to define a custom method that returns the user name and password in a format that the
database system recognizes.
For information on implementing the DBAuthenticationPlugin plugin in your environment, see the
Integration Guide.
Use a JNDI da- You can configure PolicyCenter to use a JNDI data source for your database connection on any of the follow-
ta source ing application servers:
• JBoss
• WebLogic
• WebSphere
The JNDI data source uses a Java 2 Connector (J2C) authentication alias to store the user name and password.
See also “Configure PolicyCenter to use a direct JNDI data source” on page 71.
Procedure
1. Add the password-file attribute to the <dbcp-connection-pool> element within the <database> element.
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.
At run time, PolicyCenter reads the password from the file.
Result
After you complete this process, your database specification looks similar to the following:
Oracle
<database name="PolicyCenterDatabase" driver="dbcp" dbtype="oracle">
<dbcp-connection-pool
jdbc-url="jdbc:oracle:thin:USER/${password}@ORACLEDB:PORT:INSTANCE"
password-file="c:\secure\[Link]" />
</database>
SQL Server
<database name="PolicyCenterDatabase" driver="dbcp"
dbtype="sqlserver">
<dbcp-connection-pool
jdbc-url="jdbc:sqlserver://HOSTNAME:1433;databaseName=pc;
user=pcUser;password=${password}"
password-file="c:\secure\[Link]" />
</database>
The trace level is a string that corresponds to a valid trace level as documented at the following Microsoft site:
[Link]
If you do not specify the location of the trace file, it defaults to the following location:
C:/temp/msjdbctrace%[Link]
Refer to the following web site for documentation on the trace file specification:
[Link]
Using %h and %t puts the file in the Documents and Settings directory under the name which is running the
application server.
Guidewire provides a means to manage JDBC Driver logging in the PolicyCenter Server Tools Info
Pages→Microsoft JDBC Driver Logging screen. Use this screen to start and stop Microsoft driver logging on a
running application server. Using this screen is a better option if tracing a particular operation, in order to minimize
system impact and size of the trace file.
70 chapter 4: Installing a PolicyCenter production environment
Guidewire PolicyCenter 10.1.2 Installation Guide
See also
• System Administration Guide
Important caveats
1. Always refer to the latest documentation from third party vendors.
2. Guidewire supports JNDI using the drivers bundled with PolicyCenter only. Guidewire does not support the
XA versions of a data source.
3. If using a JNDI data source, create the JNDI data source on the application server before deploying
PolicyCenter to the application server.
Java 8 PolicyCenter/admin/lib/java8
Java 11 PolicyCenter/admin/lib/java11
21. Select the newly added data source and click Test Connection.
If you receive a message that the JDBC connection failed, check your connection settings.
Java 8 PolicyCenter/admin/lib/java8
Java 11 PolicyCenter/admin/lib/java11
[Link]
Procedure
1. Browse to the appropriate directory for your Java version, under PolicyCenter/admin/lib.
Java 8 PolicyCenter/admin/lib/java8
Java 11 PolicyCenter/admin/lib/java11
4. Add a resource-ref entry to the [Link] 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>[Link]</res-type>
<res-auth>Container</res-auth>
</resource-ref>
Java 8 PolicyCenter/admin/lib/java8
Java 11 PolicyCenter/admin/lib/java11
4. Add a resource-ref entry to the [Link] 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>[Link]</res-type>
<res-auth>Container</res-auth>
</resource-ref>
IMPORTANT You must use this Guidewire bundled version of the Oracle JDBC Thin Driver and not
the default driver provided by WebLogic.
Procedure
1. Browse to the appropriate directory for your Java version, under PolicyCenter/admin/lib.
Java 8 PolicyCenter/admin/lib/java8
Java 11 PolicyCenter/admin/lib/java11
Procedure
1. Browse to the appropriate directory for your Java version, under PolicyCenter/admin/lib.
Java 8 PolicyCenter/admin/lib/java8
2. Copy the mssql-jdbc-<version>.jar JAR file to the server/lib directory within the WebLogic home.
This JAR file contains the APIs for connecting to the PolicyCenter database.
3. Add the mssql-jdbc-<version>.jar file to the classpath of the WebLogic domain by doing one of the
following:
Modify classpath for sin- • Open the WL_HOME/common/bin/commEnv script appropriate to your operating system in a
gle domain text editor.
• Prepend the absolute path to the mssql-jdbc-<version>.jar file, including the file
name, to the WEBLOGIC_CLASSPATH environment variable.
Modify classpath for • Open the setDomainEnv script appropriate to your operating system in a text editor.
multiple domains • Prepend the absolute path to the mssql-jdbc-<version>.jar file to the PRE_CLASSPATH
environment variable.
jdbc:sqlserver://servername:port;databasename=dbname;user=username
Procedure
1. Browse to the appropriate directory for your Java version, under PolicyCenter/admin/lib.
Java 8 PolicyCenter/admin/lib/java8
Next steps
After completing this procedure, proceed to “Create the Oracle JDBC provider” on page 77.
Procedure
1. Open the WebSphere Administrative Console if not already open.
2. Choose Resources→JDBC→JDBC Providers.
3. Set the Scope to Cell.
4. Click New to create a new JDBC provider.
5. Select Oracle for the Database type.
6. Select Oracle JDBC Driver for the Provider type.
7. Select Connection pool data source for the Implementation type.
8. Supply a new Name for the JDBC provider, for example pcOracle.
9. Enter a Description for the JDBC provider if you want.
10. Click Next.
11. Specify the directory location of ojdbc-<version>.jar.
Set the value to the WAS_HOME/lib/ext path in which you copied ojdbc-<version>.jar earlier.
12. Click Next.
13. Review the Summary screen and do one of the following:
• Click Previous if you need to make changes.
• Otherwise, click Finish.
14. Click Save to apply your changes to the master configuration.
WebSphere returns you to the JDBC Providers screen. At this point, you have completed the creation of the
new provider.
Installing a PolicyCenter production environment 77
Guidewire PolicyCenter 10.1.2 Installation Guide
Next steps
After completing this procedure, proceed to “Create the Oracle JNDI data source” on page 78.
Procedure
1. Open the WebSphere Administrative Console if not already open.
2. If you do not yet have a J2C (Java 2 Connector) authentication alias, create a new one.
a. Click Security→Global security.
b. Under Authentication click Java Authentication and Authorization→J2C authentication data.
c. Click New.
d. Enter the following:
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.
f. Click Save to apply your changes to the master configuration.
3. Choose Resources→JDBC→JDBC Providers.
4. Set the Scope to Cell.
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 screen.
7. Click New to create a new data source.
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 file [Link]. See “Using a JNDI data source” on page 71.
9. Click Next.
10. Set the URL value using the jdbc:oracle:thin:@hostname:port:ORACLE_SID format.
11. Select Oracle11g data store helper for the Data store helper class name.
12. Click Next.
13. Select an authentication alias for the Component-managed authentication alias.
14. Select an authentication alias for the Container-managed authentication alias.
15. Click Next.
16. Review the information on the Summary screen and do one of the following:
• Click Previous if you need to make changes.
• Otherwise, click Finish.
17. Click Save to apply your changes to the master configuration.
78 chapter 4: Installing a PolicyCenter production environment
Guidewire PolicyCenter 10.1.2 Installation Guide
Next steps
After completing this procedure, proceed to “Configure the Oracle data source properties” on page 79.
Procedure
1. Open the WebSphere Administrative Console if it is not already open.
2. Choose Resources→JDBC→Data sources.
3. Click the data source that you just defined.
WebSphere displays the Configuration tab.
4. Click WebSphere Application Server data source properties.
5. Set Statement cache size to 0.
6. Select Non-transactional data source.
7. Click OK.
8. Under Additional Properties, click Custom Properties.
9. At the top of the Custom properties screen, click New.
10. Enter the Name commitOrRollbackOnCleanup.
11. Enter the Value rollback.
12. Click OK.
13. Click Save to apply your changes to the master configuration.
Next steps
After completing this procedure, proceed to “Test the Oracle JNDI connection” on page 79.
Procedure
1. Open the WebSphere Administrative Console if it is not already open.
2. Select Resources→JDBC→Data sources.
3. Select the check box next to the PolicyCenter data source.
4. Click Test Connection to verify that the connection works.
Procedure
1. Browse to the appropriate directory for your Java version, under PolicyCenter/admin/lib.
Java 8 PolicyCenter/admin/lib/java8
Next steps
After completing this procedure, proceed to “Create the SQL Server JDBC provider” on page 80.
Procedure
1. Open the WebSphere Administrative Console if not already open.
2. Choose Resources→JDBC→JDBC Providers.
3. Set the Scope to Cell.
4. Click New to create a new JDBC provider.
5. Select SQL Server for the Database type.
6. Select Microsoft SQL Server JDBC Driver for the Provider type drop down and click OK.
7. Select Connection pool data source for the Implementation type.
8. Supply a new Name for the JDBC provider, for example pcSQLServer.
9. Enter a Description for the JDBC provider if you want.
10. Click Next.
11. Specify the directory location of mssql-jdbc-<version>.jar.
Set the value to the WebSphere lib/ext directory, for example:
C:\Program Files\IBM\WebSphere\AppServer\lib\ext
You can ignore the greyed out Class path box that lists the JAR name as [Link] instead of mssql-jdbc-
<version>.jar.
You do not need to enter a value for Native library path.
12. Click Next.
13. Review the Summary screen and do one of the following:
• Click Previous if you need to make changes.
• Otherwise, click Finish.
14. Click Save to apply your changes to the master configuration.
WebSphere returns you to the JDBC Providers screen. At this point, you have completed the creation of the
new provider.
15. Select the JDBC provider you just created.
16. Edit the value of Class path and change it from ${MICROSOFT_JDBC_DRIVER_PATH}/[Link] to $
{MICROSOFT_JDBC_DRIVER_PATH}/mssql-jdbc-<version>.jar.
17. Click OK.
18. Click Save to apply your changes to the master configuration.
80 chapter 4: Installing a PolicyCenter production environment
Guidewire PolicyCenter 10.1.2 Installation Guide
Next steps
After completing this procedure, proceed to “Create the SQL Server data source” on page 81
Procedure
1. Open the WebSphere Administrative Console if it is not already open.
2. If you do not yet have a J2C (Java 2 Connector) authentication alias, create a new one.
a. Click Global J2C authentication alias.
b. Click New.
c. Enter the following.
Parameter Value
Alias A string specifying the alias name, for example pcAlias.
User ID A string specifying the user name.
Password A string specifying the password.
d. Click OK.
e. Click Save to apply your changes to the master configuration.
3. Choose Resources→JDBC→JDBC Providers.
4. Set the Scope to Cell.
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 screen.
7. Click New to create a new data source and enter a value for JNDI name.
For example, enter something such as jdbc/pcDataSource.
The JNDI name must match the value of the datasource-name attribute of the <jndi-connection-pool>
element in the [Link] file. See “Configure PolicyCenter to use a direct JNDI data source” on
page 71.
8. Click Next.
9. Enter the Database name.
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).
13. Click Next.
14. Select an authentication alias for Component-managed authentication alias.
15. Select an authentication alias for Container-managed authentication alias.
16. Click Next.
17. Review the information on the Summary screen. Do one of the following:
• Click Previous if you need to make changes.
• Otherwise, click Finish.
18. Click Save to apply your changes to the master configuration.
Installing a PolicyCenter production environment 81
Guidewire PolicyCenter 10.1.2 Installation Guide
Next steps
After completing this procedure, proceed to “Configure the SQL Server data source properties” on page 82.
Procedure
1. Open the WebSphere Administrative Console if it is not already open.
2. Choose Resources→JDBC→Data sources.
3. Click the data source you created for SQL Server.
4. Under Additional Properties, click WebSphere Application Server data source properties.
5. Set the value of Statement cache size to 0.
6. Select the Non-transactional data source checkbox.
7. Click OK.
8. Click Save to apply your changes to the master configuration.
9. Click the data source you created for SQL Server.
10. Under Additional Properties, click Custom Properties.
11. Verify the value of property sendStringParametersAsUnicode.
To change the value, click the property name:
• If you are using unicode columns (nvarchar), set this value to true.
• If you are not using nvarchar, but single byte varchar columns, set this value to false.
Your application server will not start up if this setting is incorrect.
12. At the top of the Custom properties screen, click New.
a. Enter commitOrRollbackOnCleanup in the Name field.
b. Enter rollback in the Value field.
c. Click OK.
13. Click Save to apply your changes to the master configuration.
Next steps
After completing this procedure, proceed to “Test the SQL Server JNDI connection” on page 82.
Procedure
1. Open the WebSphere Administrative Console if it is not already open.
2. Select Resources→JDBC→Data sources.
3. Select the check box next to the PolicyCenter data source.
4. Click Test Connection to verify that the connection works.
82 chapter 4: Installing a PolicyCenter production environment
Guidewire PolicyCenter 10.1.2 Installation Guide
Procedure
1. Open the JBoss file for you operating system.
bin/[Link]
bin/[Link]
Next steps
After completing this procedure, proceed to “Add a servlet definition for JBoss” on page 83.
Procedure
1. Launch Guidewire Studio:
a. Open a command prompt and navigate to the PolicyCenter installation directory.
b. Execute the following command:
gwb studio
2. In the Studio Project window, expand configuration→deploy→WEB-INF:
a. Open file [Link]:
b. Add servlet definitions as needed.
c. Add a servlet-mapping definition for each servlet that you add.
Review the defined servlets for examples.
3. Save your changes.
Next steps
Review the post-installation tasks in “Additional PolicyCenter setup tasks” on page 91. After completing this
procedure, proceed to “Generate the PolicyCenter WAR file for JBoss” on page 84.
warJbossDbcp Builds the WAR file with JDBC drivers. PolicyCenter manages the database connection pool.
warJbossJndi Builds the WAR file without JDBC drivers. JBoss manges a JNDI database connection pool.
Procedure
1. Open a command prompt and navigate to the PolicyCenter installation directory.
2. Execute one of the following commands:
gwb warJbossDbcp
gwb warJbossJndi
Both commands generate the PolicyCenter WAR file in the PolicyCenter dist/war/JbossJndi or dist/war/
JbossDbcp directory.
3. Deploy the package to JBoss according to the instructions for deploying an application included with JBoss.
Next steps
After completing this procedure, proceed to “Start PolicyCenter on JBoss” on page 109.
Procedure
1. In the Studio Project window, expand configuration→deploy→WEB-INF:
a. Open file [Link]:
b. Add a servlet-mapping definition for each servlet that you want to add.
Review the defined servlets for an example.
2. Save [Link].
Next steps
After completing this procedure, proceed to “Generate and deploy the PolicyCenter WAR file for Tomcat” on
page 85.
warTomcatDbcp Builds the WAR file with JDBC drivers. PolicyCenter manages the database connection pool.
warTomcatJndi Builds the WAR file without JDBC drivers. JBoss manges a JNDI database connection pool.
Procedure
1. Open a command prompt and navigate to the PolicyCenter installation directory.
2. Execute one of the following commands:
gwb warTomcatDbcp
gwb warTomcatJndi
Both commands generate the PolicyCenter WAR file in the PolicyCenter dist/war directory.
3. Before you deploy PolicyCenter to Tomcat, verify that environment variable CATALINA_OPTS has the
following value:
-Xms1024M -Xmx2G
4. Deploy the package to Tomcat by copying the [Link] file to the webapps directory in your Tomcat server.
Result
As Tomcat starts up, it automatically recognizes PolicyCenter and unpacks the [Link] 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 [Link] file, delete the pre-existing pc directory structure created by the old [Link] file.
Installing a PolicyCenter production environment 85
Guidewire PolicyCenter 10.1.2 Installation Guide
Next steps
After completing this procedure, review the post-installation tasks in “Additional PolicyCenter setup tasks” on
page 91. Then, proceed to “Start PolicyCenter on Tomcat on Windows” on page 109.
Procedure
1. In the Studio Project window, expand configuration→deploy→WEB-INF:
a. Open file [Link]:
b. Add a servlet-mapping definition for each servlet that you want to add.
Review the defined servlets for an example.
2. Save [Link].
Next steps
After completing this procedure, proceed to “Enable HTTP authentication on WebLogic” on page 86.
Next steps
After completing this procedure, proceed to “Generate the PolicyCenter EAR file for WebLogic” on page 86.
earWeblogicDbcp Builds the WAR file with JDBC drivers. PolicyCenter manages the database connection pool.
earWeblogicJndi Builds the WAR file without JDBC drivers. JBoss manges a JNDI database connection pool.
Procedure
1. Open a command prompt and navigate to the PolicyCenter installation directory.
2. Execute one of the following commands:
gwb earWeblogicDbcp
gwb earWebLogicJndi
Both commands generate the PolicyCenter WAR file in the PolicyCenter dist/war directory.
Next steps
After completing this procedure, proceed to “Install the PolicyCenter EAR file on WebLogic” on page 87.
Procedure
1. Do one of the following:
• If WebLogic is not already running, start it now.
• If WebLogic is running, restart it.
2. After the server is running, point your browser to [Link]
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.
6. Within the main panel, under Deployments, click Install.
7. Navigate to the EAR file you generated and click Next.
8. Select Install this deployment as an application and click Next.
9. In the Source accessibility section of the next screen, select I will make the deployment accessible from the
following location.
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
Structure.
Next steps
After completing this procedure, proceed to “Ways to start PolicyCenter on WebLogic” on page 87.
If you do not configure WebLogic to automatically start applications, then you need to start PolicyCenter manually.
See “Start PolicyCenter on WebLogic” on page 110 for details.
Important caveats
• Guidewire supports the JDBC drivers shipped with PolicyCenter only for use with externally managed data
sources. Guidewire does not support any default JDBC drivers installed with the application server.
• It is not possible to access Guidewire PolicyCenter locally on WebSphere by using the following standard URL:
[Link]
Procedure
1. Launch Guidewire Studio:
a. Open a command prompt and navigate to the PolicyCenter installation directory.
b. Execute the following command:
gwb Studio
2. In the PolicyCenter Project window, expand configuration→deploy→WEB-INF:
a. Open [Link].
b. At the bottom of the file, just before the </web-app> tag, add the following text:
<welcome-file-list>
<welcome-file>[Link]</welcome-file>
<welcome-file>[Link]</welcome-file>
<welcome-file>[Link]</welcome-file>
</welcome-file-list>
Next steps
After completing this procedure, proceed to “Generate the PolicyCenter EAR file for WebSphere” on page 89.
earWeblogicDbcp Builds the WAR file with JDBC drivers. PolicyCenter manages the database connection pool.
earWeblogicJndi Builds the WAR file without JDBC drivers. JBoss manges a JNDI database connection pool.
Procedure
1. Open a command prompt and navigate to the PolicyCenter installation directory.
2. Execute one of the following commands:
gwb earWeblogicDbcp
gwb earWeblogicDbcp
Result
Executing either of these commands does the following:
• It builds the EAR file and place it the PolicyCenter dist/ear directory.
• It packages file modules/configuration/deploy/WEB-INF/[Link] in the EAR file.
Next steps
After completing this procedure, proceed to “Install the PolicyCenter EAR file on WebSphere” on page 89.
Procedure
1. If WebSphere is not already running, start the application server.
2. Open the WebSphere Administrative Console.
3. Click Applications→New Application.
4. Click New Enterprise Application.
5. Click Browse and select the PolicyCenter EAR file in the PolicyCenter installation dist/ear directory.
6. Click Next.
7. Select Fast Path.
8. Click Next.
9. Accept the default installation options.
10. Click Next.
11. On the Map modules to servers screen, verify that your targeted server or cluster is selected.
Installing a PolicyCenter production environment 89
Guidewire PolicyCenter 10.1.2 Installation Guide
Next steps
After completing this procedure, review the post-installation tasks in “Additional PolicyCenter setup tasks” on
page 91. Then, proceed to “Start PolicyCenter on WebSphere” on page 110.
This topic describes optional PolicyCenter setup tasks. You perform these tasks after you complete the initial
installation of your PolicyCenter development or production environment and deploy PolicyCenter to your
application server.
Procedure
1. Ensure that the PolicyCenter application server is running.
2. Open a browser window.
3. Set the URL to the following:
[Link]
Procedure
1. Ensure that the PolicyCenter application server is running.
2. From a command prompt, navigate to the PolicyCenter installation directory.
3. Execute the following command:
gwb genJavaApi
This command generates the java-api directory within the top-level PolicyCenter directory.
Procedure
1. Open Guidewire Studio™ for ClaimCenter.
2. Navigate in the Project window to configuration→config→Plugins→registry.
3. Open [Link].
4. Click Remove to remove the demonstration implementation,
[Link].
5. Click Add and select Add Gosu Plugin.
6. Enter one of the following for the Gosu Class field, depending on the version of PolicyCenter that you are
integrating with ClaimCenter:
• [Link] for PolicyCenter 10
• [Link] for PolicyCenter 9
92 chapter 5: Additional PolicyCenter setup tasks
Guidewire PolicyCenter 10.1.2 Installation Guide
10. Update the PolicyCenter URL to match your server and port.
11. Navigate in the Project window to configuration→config and open [Link].
12. Find configuration parameter PolicySystemURL.
13. Set the value of this parameter to the PolicyCenter application URL.
For example, add the following line to this file:
<param name="PolicySystemURL" value="[Link]
IMPORTANT Guidewire strongly recommends that you change the user name and password
from the defaults, su and gw, to new values.
Next steps
“Configuring ClaimCenter to convert PolicyCenter objects” on page 93
See also
• “Configure PolicyCenter to retrieve claim information” on page 94
• “Configure ClaimCenter to retrieve policy information” on page 92
Procedure
1. Open Guidewire Studio™ for PolicyCenter.
2. Navigate in the Project window to configuration→config→suite.
3. Open file [Link].
4. Remove the comment markers <!-- and --> from the line for the ClaimCenter URL:
<!--
<product name="cc" url="[Link]
-->
IMPORTANT Guidewire strongly recommends that you change the user name and password
from the defaults, su and gw, to new values.
14. 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:
• [Link] for ClaimCenter 10
• [Link] for ClaimCenter 9
15. Navigate in the Project window to configuration→config and open [Link].
16. Set the ClaimSystemURL parameter to the ClaimCenter URL.
For example, the base configuration URL in a local ClaimCenter installation is the following:
[Link]
Next steps
“Defining authentication between PolicyCenter and ClaimCenter” on page 95
IMPORTANT Guidewire strongly recommends that, as a matter of security, you change the user name
and password that each application defines. You must also supply a corresponding user in the other
application. That new user must have the soapadmin permission, and, at a minimum, the permissions
needed to view policies and accounts .
For example:
1. In Studio for PolicyCenter, define a user name and password in CCConfigurationProvider.
2. Log in to the ClaimCenter server and define a user that has the same user name and password that you specify
in CCConfigurationProvider.
3. Assign the user a role that has the soapadmin permission, and, at a minimum, the permissions needed to view
policies and accounts.
4. In Studio for ClaimCenter, define a user name and password in PCConfigurationProvider.
5. Log in to the PolicyCenter server and define a user that has the same user name and password that you specify
in PCConfigurationProvider.
6. Assign the user a role that has the soapadmin permission, and, at a minimum, the permissions needed to view
policies and accounts.
See also
• Guidewire Contact Management Guide
Procedure
1. Open Guidewire Studio™ for ClaimCenter.
2. Navigate in the Project window to configuration→config→Rule Sets and then:
a. Navigate to Preupdate→TransactionSetPreupdate and select the check box that enables the rule TPU05000
- Large Loss Notification.
b. Navigate to EventMessage→EventFired and select the check box that enables the rule EFR06000 - Policy
System Notification.
3. Expand configuration→config→Messaging.
4. Open [Link] in the Messaging editor.
5. Select the following messaging destination:
ID-69, Name=[Link]
6. Clear the Disable destination check box at the top right of the editor to enable this message destination.
7. In the Project window, expand configuration→config→Plugins→registry.
8. Open [Link] in the plugin editor.
9. Clear the Disabled check box under the Server: field.
10. Open [Link].
The editor for this plugin opens with the default plugin implementation selected.
11. Remove the demonstration implementation by clicking the Remove Plugin icon.
12. Click Add Plugin and select Add Gosu Plugin.
13. Enter the following for the Gosu Class field:
[Link]
14. If you have not done so already, update [Link] to enable ClaimCenter to work with PolicyCenter.
a. Navigate in the Project window to configuration→config→suite.
b. Open [Link].
c. If present, remove the comment markers <!-- and --> from the line defining the PolicyCenter URL:
<!--
<product name="pc" url="[Link]
-->
d. If necessary, change the URL for the PolicyCenter server to the URL used in your configuration.
15. If you have not done so already, set the PolicyCenter URL in the PolicySystemURL configuration parameter:
a. In the Studio Project window, expand configuration→config.
b. Open [Link].
c. Set the PolicyCenter URL in the PolicySystemURL configuration parameter.
For example, add the following line to this file:
<param name="PolicySystemURL" value="[Link]
17. Double-click [Link] to open this web service collection in the editor.
18. Select the following web service in Resources:
${pc}/ws/gw/webservice/pc/pc1000/ccintegration/ClaimToPolicySystemNotificationAPI?wsdl
File [Link] defines the ${pc} variable for the web service.
19. Ensure that the PolicyCenter server is running, and then click Fetch to refresh the web service.
You must refresh the web service, even if you have made no changes to it.
20. Click the Settings tab and review the contents of the Configuration Provider class
[Link].
This class defines the user name and password that ClaimCenter uses to connect with PolicyCenter.
IMPORTANT Guidewire strongly recommends that you change these values from their default
su and gw values.
Next steps
“Test ClaimCenter large loss notification integration with PolicyCenter” on page 97
Procedure
1. Log into Guidewire ClaimCenter.
2. Add a claim in ClaimCenter with a loss that exceeds the threshold for that type of claim.
3. Log into Guidewire PolicyCenter.
4. Review the activities for the policy associated with the claim and verify that ClaimCenter successfully created
a large loss notification.
Result
If the integration works correctly, PolicyCenter adds a referral reason and an activity for that policy.
See also
• Application Guide
• Integration Guide
Procedure
1. Open Guidewire Studio™ for BillingCenter.
2. Navigate in the Project window to configuration→config→Plugins→registry.
3. Open [Link] in the Plugin editor.
4. Set Gosu Class to [Link].
5. Navigate in the Project window to configuration→config→suite.
6. Double-click [Link] to open the file.
7. Remove the comment markers <!-- and --> from the line for the PolicyCenter URL:
<!--<product name="pc" url="[Link]
8. If necessary, update the PolicyCenter URL to match your server and port.
9. Navigate in the Project window to configuration→gsrc and then to [Link].
10. Open one of the following web service collection files, depending on the version of PolicyCenter that you are
integrating with BillingCenter:
• [Link] for PolicyCenter 10
• [Link] for PolicyCenter 9
The web service definitions in this file use the ${pc} variable defined in [Link].
11. Ensure that the PolicyCenter server is running, and 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.
12. Select the Settings tab and review the contents of the Configuration Provider class.
This class defines the user name and password that BillingCenter uses to connect with PolicyCenter.
IMPORTANT Guidewire strongly recommends that you change these values from their default
values.
Next steps
“Enable the billing summary plugin in PolicyCenter” on page 99
Procedure
1. Open Guidewire Studio™ for PolicyCenter.
2. Navigate in the Project window to configuration→config→Plugins→registry and open
[Link] in the Plugin editor.
3. Change Gosu Class to one of the following, depending on the version of BillingCenter that you are integrating
with:
• [Link] for BillingCenter 10
• [Link] for BillingCenter 9
Additional PolicyCenter setup tasks 99
Guidewire PolicyCenter 10.1.2 Installation Guide
Configuration parameter BillingSystemURL defines the URL for an exit point. Guidewire configures exit
points in [Link] and not in [Link]. The configuration parameters in [Link]
support integration between Guidewire applications through web services. The exit point configuration
parameters in [Link] support integration between web browsers.
See the Integration Guide.
8. If archiving is enabled in BillingCenter, set the following PolicyCenter configuration parameters:
a. Set BillingSystemArchiveEnabled to true.
b. Set the value of BillingSystemArchivePolicyPeriodDays to a positive value indicating the minimum
number of days after the term end date before the billing policy period is archived.
This value must be less than or equal to the setting in the billing system. Guidewire recommends setting
the value to be equal and keeping the value of BillingSystemArchivePolicyPeriodDays synchronized
with the value of ArchivePolicyPeriodDays in BillingCenter.
9. Navigate in the Project window to configuration→config→suite and open [Link].
10. Remove the comment markers <!-- and --> from the line for the BillingCenter URL:
11. If necessary, update the BillingCenter URL to match your server and port.
12. Navigate in the Project window to configuration→gsrc and then to [Link].
13. Open one of the following web service collection files, depending on the version of BillingCenter that you are
integrating with PolicyCenter:
• [Link] for BillingCenter 10
• [Link] for BillingCenter 9
The web service definitions in this file use the ${bc} variable defined in [Link].
14. 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. Click the Settings tab and review the contents of the Configuration Provider class.
This class defines the user name and password that PolicyCenter uses to connect with BillingCenter.
IMPORTANT Guidewire strongly recommends that you change these values from their default
values.
Next steps
IMPORTANT Guidewire strongly recommends that, as a matter of security, you change the user name
and password that each application defines. You must also supply a corresponding user in the other
application. That new user must have the soapadmin permission, and, at a minimum, the permissions
needed to view policies and accounts.
For example:
1. In Studio for PolicyCenter, define a user name and password in BCConfigurationProvider.
2. Log in to the BillingCenter server and define a user that has the same user name and password that you specify
in BCConfigurationProvider.
3. Assign the user a role that has the soapadmin permission, and, at a minimum, the permissions needed to view
policies and accounts.
4. In Studio for BillingCenter, define a user name and password in PCConfigurationProvider.
5. Log in to the PolicyCenter server and define a user that has the same user name and password that you specify
in PCConfigurationProvider.
6. Assign the user a role that has the soapadmin permission, and, at a minimum, the permissions needed to view
policies and accounts.
See also
• Guidewire Contact Management Guide
Procedure
1. Start the BillingCenter application server:
a. Open a command prompt in the BillingCenter installation directory.
Additional PolicyCenter setup tasks 101
Guidewire PolicyCenter 10.1.2 Installation Guide
Next steps
“Start PolicyCenter in an integrated environment” on page 102
Procedure
1. Start the PolicyCenter application server:
a. Open a command prompt in the PolicyCenter installation directory.
b. Execute the following command:
gwb runServer
2. After PolicyCenter fully starts, open a supported web browser and enter the URL to PolicyCenter.
For example, in the default configuration, enter the following URL:
[Link]
Next steps
After you enable the integration between PolicyCenter and BillingCenter, PolicyCenter sends Producer,
ProducerCode, Account, and Policy entity instances to BillingCenter as the server starts. It is important that you
verify that BillingCenter receives these entity instances.
Procedure
WARNING Do not attempt to reset the value of ArchiveEnabled from true to false. After you
set ArchiveEnabled to true and start the server, you cannot change the value of this parameter
again. If you reset the value to false, the server does not start. Also, do not remove the archive
work queue. Removing this work queue after enabling archiving prevents that application server
from starting.
See also
• “Archiving in a development environment” on page 58
• “Enable archiving in Guidewire PolicyCenter” on page 59
• “Disabling Guidewire PolicyCenter archiving” on page 60
• Application Guide
See also
• Application Guide
• Integration Guide
Procedure
1. In Studio, expand configuration→config→workqueue.
104 chapter 5: Additional PolicyCenter setup tasks
Guidewire PolicyCenter 10.1.2 Installation Guide
Supply users with a user name and password along with the URL for your installation.
See also
• See “Web client information” on page 47 for a list of required software and hardware for client computers
accessing PolicyCenter.
If a user clicks a cell in an editable list view, the dotted border around action elements, such as links, cells, and radio
buttons, is not visible. However, if the user tabs into the same list view, the dotted border is visible. Firefox uses a
Windows accessibility setting to determine this behavior.
Procedure
See also
• Integration Guide
Procedure
1. Create custom Gosu class [Link]:
a. Open Guidewire Studio™ for PolicyCenter.
b. In the Studio Project window, expand configuration→gsrc.
c. Right-click gsrc and click New→Package.
d. Enter a package name for upgrade purposes.
For example, enter something such as [Link].
e. Right-click the newly created package and click New→Gosu Class.
f. Enter CustomAuthServlet as the name for the class and click OK.
g. Enter the following class definition:
package [Link]
uses [Link]
uses [Link]
uses [Link]
uses [Link]
uses [Link]
uses [Link]
uses [Link]
uses [Link]
uses [Link]
uses [Link]
uses [Link]
uses [Link]
// try to login
try {
[Link](req);
} catch (e : LoginException) {
respondUnauthorized(req,resp);
return;
}
return;
}
3. Create custom Gosu class [Link] and place the class in your custom authentication package.
For example:
package [Link]
uses [Link]
uses [Link]
uses [Link]
uses [Link]
uses [Link]
uses [Link]
4. Create custom Gosu class [Link] and place the class in your custom authentication package.
For example:
package [Link]
uses [Link]
uses [Link]
uses [Link]
uses [Link]
var source:AuthenticationSource;
var userName:String = [Link] ("username");
var password:String = [Link]("password");
print("userName\t" + userName)
print("password\t" + password)
return source;
}
}
In your code, check for errors and throw InvalidAuthenticationSourceData if there are errors.
5. Associate your custom AuthServicePlugin class with the AuthenticationServicePlugin plugin.
a. Expand configuration→config→Plugins→registry:
b. Open [Link].
c. Click Remove Plugin to remove the default plugin.
d. Click Add Plugin and select Add Gosu Plugin.
e. For Gosu Class, enter the [Link] class, including the fully qualified package.
6. Associate your custom AuthSourceCreator class with the AuthenticationSourceCreatorPlugin plugin.
a. Open [Link].
b. Click Remove Plugin to remove the default plugin.
c. Click Add Plugin and select Add Gosu Plugin.
d. For Gosu Class, enter the [Link] class, including the fully qualified package.
7. Create an entry point for the PolicyCenter entry page:
a. Expand configuration→config→Page Configuration→pcf, right-click entrypoints and click New→PCF file.
b. Enter PolicyCenterStartupPageEP for the file name.
c. Select Entry Point for the file type and click OK.
d. Select the entry point.
e. Set location to PolicyCenterStartupPage().
f. Set authenticationRequired to false.
8. Create an entry point for the default failure page.
a. Right-click entrypoints and click New→PCF file.
b. Enter DefaultFailureEP for the file name.
c. Select Entry Point for the file type and click OK.
d. Select the entry point.
e. Set location to DefaultFailurePage().
f. Set authenticationRequired to false.
108 chapter 5: Additional PolicyCenter setup tasks
Guidewire PolicyCenter 10.1.2 Installation Guide
See also
• System Administration Guide
Procedure
1. Locate the line in the script that runs Tomcat:
[Link]: call "%EXECUTABLE%" start %CMD_LINE_ARGS%
Procedure
1. Open the WebSphere Administrative Console.
2. Click Applications→Application Types→WebSphere enterprise applications.
3. Select the check box next to the PolicyCenter application, abbreviated by default as pc.
4. Do one of the following:
• If PolicyCenter is already running, and you want to restart PolicyCenter, restart WebSphere.
• If PolicyCenter is not running, click Start. It is possible for PolicyCenter to take a few minutes to start.
custDistJavaCompileSchemaSourcesMinHeapSize Minimum heap size for the JVM that The number of giga- 4g
performs compilation of XML schema bytes, followed by
generated source for the task the letter g.
genSchemaJar.
custDistJavaExecMaxHeapSize Maximum heap size for all of the tasks The number of giga- 4g
that run in a separate JVM, such as bytes, followed by
genDataDictionary. the letter g.
custDistStudioMaxHeapSize The maximum amount of memory The number of giga- 4g
available to Guidewire Studio. bytes, followed by
the letter g.
custDistStudioBuildProcessHeapSize The initial default value for the Build The number of meg- 6000
process heap size setting in the Guide- abytes.
wire Studio Settings dialog. After you
run Studio for the first time,
PolicyCenter ignores this property.
[Link] Minimum and maximum heap sizes for Minimum: -Xms, fol- -Xms1g
the JVM that runs the remaining tasks, lowed by the num- -Xmx4g
such as codegen. ber of gigabytes, fol-
lowed by the letter g.
Maximum: -Xmx, fol-
lowed by the num-
ber of gigabytes, fol-
lowed by the letter g.
This topic describes optional PolicyCenter setup tasks. You perform these tasks after you complete the initial
installation of your PolicyCenter development or production environment and deploy PolicyCenter to your
application server.
The full-text search engine is a special distribution of Apache Solr tailored by Guidewire to work with free-text
search. This special distribution is called the Guidewire Solr Extension.
See also
• Configuration Guide
Note: In PolicyCenter, you can avoid setting up the free-text batch load process in small-scale
development environments. In such a case, use the Sync Policy Index feature. In production
deployments, Guidewire strongly recommends that you configure the free-text batch load process.
See also
• “Configuring free-text search for embedded operation” on page 117
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.
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 Internal 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
Guidewire discourages you from placing this property file or any other file requiring security in the document conf
folder or in the Solr home folder. Guidewire Solr Extension uploads files from these locations into ZooKeeper. If the
property file is in either of these locations, the security for the file will be compromised.
Instead, create a new folder either under the Solr root folder or the document folder. Consider naming such a new
folder secure. In addition, use operating system tools to restrict access to the property file.
When addressing property files, adhere to the following guidelines. Refer to the Solr home folder using $
{solrRoot}. Refer to the document folder using ${documentRoot}. Prefix OS environment variable references with
osenv.
A new node exists in the [Link] file that allows you to inject the proper credentials file for
interacting with Guidewire Solr Extension. The name of the node is solrCredentials. In addition, the batchload-
[Link] file supports a variety of mechanisms for property substitution. This combination of features allows you
to avoid hard coding credentials consistent with the Guidewire recommendation:
<document>
...
<-- The property file referenced here defines the [Link] and [Link] properties -->
<propertyFilename="${documentRoot}/secure/[Link]"/>
...
<-- The solrCredentials node uses the [Link] and [Link] properties -->
<solrCredentials username="${[Link]}" password="${[Link]}"/>
...
</document>
The following code example uses the property file for the database credentials in the datasource URL:
<dataSourcename="ds_orcl"driver="[Link]"url="jdbc:oracle:thin:${[Link]}/${[Link]}/
gwapp@testhost:1521:orcl"env="test"/>
<dataSourcename="ds_orcl"driver="[Link]"url="jdbc:oracle:thin:${osenv.DB_USER}/${osenv.DB_PASSWORD}/
gwapp@testhost:1521:orcl"env="test"/>
If you are in a cloud server environment, substitute cloud for the type property assignment as in the following
example:
<solrserver name="solr_cloud_name" type="cloud">
<param name="zkhosts" value="localhost:2181/pc"/>
<param name="username" value="solr_user"/>
<param name="password" value="the_password"/>
</solrserver>
Note: Guidewire does not recommend using this alternative in production for security reasons. Clear
text credentials can upload to a ZooKeeper installation in the cloud environment. ZooKeeper is
accessible by HTTP and is not secure.
As an alternative to using clear text credentials, use the Credentials plugin. If you register this plugin, the Solr
server manager inside the Guidewire Solr Extension will request credentials for the SOLR key. If the plugin returns
credentials in response to such a request, the credential values will supersede any clear text credentials in the
[Link] file.
In the createuser command, if you enter a username without a password, you will receive a prompt to create a
password. Otherwise, you will receive the following instruction:
Add the following entry to the authentication section of $SOLR_HOME/[Link].
"credentials": {
"solr": "LkbT+UV72dlWq8zT/e9hyGFIIZSocHwQtK/h1P/4N2g= gN6KFzYNlIv0wgIyQvHUx+yX8phzY6OivyRGnpyp2to="
}
Be sure to enable the SOLR_AUTH* properties in bin/[Link] or bin/[Link].
If you include the solrhome option in the createuser command and no [Link] file exists at the solrhome
location, the file will be created with default content. This default content will include the generated password hash.
116 chapter 6: Configuring free-text search
Guidewire PolicyCenter 10.1.2 Installation Guide
See also
• [Link]
In addition, configure the appropriate certificates in accordance with instructions for the underlying Java Virtual
Machine (JVM) or application server.
Cloud server configuration
In a cloud server configuration, set the security flag that enables Guidewire Solr Extension instances for secure
transport. To set the flag, run the gwzkcli - zkhost command as the following Windows example shows:
gwzkcli -zkhostlocalhost:2181 -cmd put /pc/[Link] {"urlScheme":"https"}
Note: In configuring the security for Guidewire Solr Extension batch load, follow the same
instructions as for the corresponding Guidewire Solr Extension server type. In addition, configure a
public certificate for the JVM running batch load in accordance with standard JVM properties. These
property settings will be in either the [Link] file or the [Link] file.
See also
• Configuration Guide
• [Link]
Procedure
1. In Studio Project window, expand configuration→config→solr:
a. Open [Link].
b. 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>
Next steps
After completing this procedure, proceed to the Configuration Guide.
Procedure
1. In the Studio Project window, expand configuration→config→solr:
a. Open [Link].
b. 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/[Link]">
</solrserver>
Next steps
After completing this procedure, proceed to the Configuration Guide.
Note:
The PolicyCenter base configuration presets a number of items of which two are of emphasis here.
First, PolicyCenter automatically sets the SOLR_HOME environment variable with a relative path. In a
Microsoft Windows context, the application configures the variable in the [Link] path. In a
Linux or Mac context, the application configures the environment variable in the [Link] path.
You do not need to set the SOLR_HOME environment variable.
Second, the PolicyCenter base configuration accounts for logging. You do not need to change the
logging settings to configure free-text search.
Procedure
1. On the host where the Guidewire Solr Extension instance for free-text search will reside, create an installation
directory to use as the Guidewire Solr home directory. For example:
Unix – /opt/gwsolr/pc
Windows – C:\opt\gwsolr\pc
This topic uses /opt/gwsolr/pc as the Guidewire Solr home directory name.
2. Extract file /solr/[Link] on the PolicyCenter host into the folder you created on the Guidewire Solr
Extension host.
3. Start Guidewire Solr Extension by performing one of the following from the \opt\gwsolr\pc\bin directory:
• If you want Guidewire Solr Extension to operate in standard fashion, run the following command:
solr start -p. In the solr command, the -p option indicates the port number.
• If you want to access the Guidewire Solr Extension with a remote debugger, run the following command:
solr start -p 8983 -a [Debug Arguments]
As a result, you can connect a remote debugging session through port 8000.
4. Examine the logs to ensure the Guidewire Solr Extension web application started successfully. Find the logs at
\opt\gwsolr\pc\server\logs. One such log file is [Link].
The application started successfully if you see a number of log entries related to pc-policy-active.
5. In a browser, open the administrative user interface for the Guidewire Solr Extension web application by
entering the following URL:
[Link]
6. 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.
Next steps
After completing this procedure, proceed to “About the free-text batch load command” on page 119.
If you created additional index document types, you need to modify the configuration files and the batch load
command, in the following directory for each document type:
/opt/gwsolr/pc/solr/documenttype_active/conf
Guidewire locates most of the setup information for the free-text batch load command in a configuration file for
your database brand. The configuration file name has the following format:
[Link]
absolutePathToWorkDir Location of a working directory, possibly on a remote host, for collating and compiling
large volumes of index documents for the full-text search engine. Generally in a produc-
tion environment, you modify this parameter. Otherwise, the working directory is within
the Guidewire Solr home directory. Ensure the directory that you specify has sufficient
high-performance disk space.
If you change this value, you must make a matching change to [Link].
dataSource Connection information for the PolicyCenter relational database. You must modify this
parameter to specify the network location of the database and the username and pass-
word.
documentRoot Highest directory where documents for Guidewire Solr Extension are stored. The default
value for this parameter is ${solrRoot}/pc/solr/policy_active.
solrRoot Highest directory where Guidewire Solr Extension files are stored. The directory is where
you extract the Guidewire Solr Extension .zip installation file. The default value for this
parameter is /opt/gwsolr.
solrServerConfigFile Locates the configuration file that controls how the free-text feature in PolicyCenter op-
erates and interacts with the Guidewire Solr Extension. You must modify this parameter
if your Guidewire Solr Extension home directory is other than /opt/gwsolr.
xsi:noNamespaceSchemaLocation Location of the XSD for batch load configuration files. You must modify this parameter if
your Guidewire Solr home directory is other than /opt/gwsolr.
For Windows paths, you can use the forward slash (/) character as the path separator. If your Guidewire Solr home
directory is on a different Windows drive than your PolicyCenter installation directory, you must specify the drive
letter as well.
Note: You can substitute the parameters in the preceding table from a property file or an environment
variable.
See also
• System Administration Guide
• Configuration Guide
120 chapter 6: Configuring free-text search
Guidewire PolicyCenter 10.1.2 Installation Guide
Windows
<param name="solrRoot" value="c:\opt\gwsolr"/>
<param name="absolutePathToSortExe" value="c:\cygwin\bin\[Link]"/>
b. 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="[Link]" url="jdbc:oracle:thin://@grinch:
11201:gwDiaAsc" user="su" password="gw"/>
4. On Windows, edit [Link] and, if necessary, modify the CoreUtils environment variable to locate
the sort binary.
For example:
set CoreUtils C:\cygwin
Next steps
After completing this procedure, proceed to the Configuration Guide.
Command reference
PolicyCenter includes a number of command prompt tools that assist with build and administrative tasks on your
PolicyCenter server. Because of the simplicity and power of the commands, command prompt tools are the preferred
method of controlling server behavior, loading data, and generating tools in the PolicyCenter configuration
environment.
The gwb command prompt tools are based on a build automation system called gradle. The gwb command prompt
tool is a batch file. There are multiples gradle files that control how the gwb command prompt tools work. Do not
modify these gradle files, because such modifications can break the build process.
See also
• System Administration Guide
Command Action
</dbcp-connection-pool>
</database>
SQL Server
The command drops and creates a new database. It creates any filegroups named within
the <database> element. The database files will be physically located where the server
would put them by default. If specified, the collate attribute specifies the database colla-
tion. Otherwise, the default collation of the database server will be used. The command
SET READ_COMMITTED_SNAPSHOT ON WITH ROLLBACK IMMEDIATE is issued on the new data-
base. Since a CREATE DATABASE command is used, attributes of the model system database
of the server are inherited.
The dropDB command will create any file groups listed in the upgrade element of the data-
base configuration. This does not happen on Oracle. However, the dropDB command will
not drop a database with file groups. If you have file groups configured, first drop the data-
base using the Management Studio. Then you can run dropDB to create the database with
file groups.
Oracle
A Guidewire database corresponds to an Oracle schema: a user and all the objects owned
by that user. So, for Oracle, this command drops all objects owned by the schema owner,
and only the user is left with the required permissions. The dropDB command requires
SQLPlus, available with the Oracle client installation. Include ORACLE_HOME\bin in the PATH,
so that dropDB can locate SQLPlus.
The system-username and system-password attributes of the <reset-tools-params> ele-
ment must be specified so that the required permissions are available for these actions.
gwb idea Builds the PolicyCenter Studio project.
gwb inspect Runs Guidewire Studio inspections.
[--include include‑dirs] include include-dirs
[--outputDir output‑dir] Comma separated list of paths to additional directories to include in the inspection
[--profileName profile‑name] analysis. The directories listed here must be located within modules/configuration,
and the paths specified must be relative to modules/configuration. The following
[--profileXML file‑path]
directories are always included by default:
[--scopeXML file‑path]
• gsrc
[--verbose level]
• pcf/web
• config/rules
• config/resources/productmodel
outputDir output-dir
The full path to an existing directory where the XML file with the inspection report
will be stored.
profileName profile-name
The name of the inspection profile to use for the inspection analysis. You can specify
one of profileName or profileXML, but not both.
profileXML file-path
The path to the XML file containing the profile to use for the inspection analysis. You
can specify one of profileName or profileXML, but not both.
scopeXML file-path
The path to the XML file containing the scope file to use for the inspection analysis.
verbose level
The logging level. Specify a number between 0 and 3, where 0 means no logging and
3 is frequent logging. The default is 0.
Command Action
gwb runServer -Denv=env Starts the bundled QuickStart application server. Depending on what you want to do, use
the following command options:
• To start the server in development mode using socket debugging, use the command gwb
runServer --debug-socket --no-suspend.
• To start the server in development mode in a suspended state using socket debugging,
use the command gwb runServer --debug-socket.
• To start the server in development mode using shared memory debugging, use the
command gwb runServer --debug-shmem.
• To start the server using a non-default port, use the command gwb runServer -
[Link]=nnnn.
• To start the server in development mode in a suspended state using shared memory de-
bugging, use the command gwb runServer --debug-shmem --no-suspend.
• To start the server in a particular environment, set the optional -Denv="env parameter.
IMPORTANT There is a dependency between the gwb runServer command and the gwb
compile command. Guidewire recommends that you run the gwb compile command sepa-
rately, before you run the gwb runServer command, for example:
gwb compile
gwb runServer -x compile
Use the -x compile option with the runServer command to remove the dependency be-
tween the compile and the runServer commands. Otherwise, PolicyCenter must first veri-
fy what resources, if any, need to be recompiled, then perform an incremental recompile of
those resources before starting the server.
gwb stopServer Stops the bundled QuickStart application server.
gwb studio Starts Guidewire Studio.
Command Action
If includeDictionary=true, the command creates a dictionary folder within the WAR file. The
dictionary folder contains the following subfolders:
• data
• security
These folders contain the Data Dictionary and Security Dictionary respectively.
To view a dictionary, open [Link] 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 includeDictionary=true, which also generates the
PolicyCenter Data Dictionary and Security Dictionary while building the WAR file. Use the following
command:
gwb warJbossJndi -DincludeDictionary=true
If includeDictionary=true, the command creates a dictionary folder within the WAR file. The
dictionary folder contains the following subfolders:
• data
• security
These folders contain the Data Dictionary and Security Dictionary respectively.
To view a dictionary, open [Link] in the data or security folder.
gwb warTomcatDbcp Builds the generic WAR file for Tomcat including JDBC drivers. Use gwb warTomcatDbcp if you are going
to have PolicyCenter manage the database connection pool.
You can include the Boolean parameter includeDictionary=true to also generate the PolicyCenter
Data Dictionary and Security Dictionary while building the WAR file. Use the following command:
gwb warTomcatDbcp -DincludeDictionary=true
If includeDictionary=true, the command creates a dictionary folder within the WAR file. The
dictionary folder contains the following subfolders:
• data
• security
These folders contain the Data Dictionary and Security Dictionary respectively.
To view a dictionary, open [Link] in the data or security folder.
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 includeDictionary=true to also generate the PolicyCenter
Data Dictionary and Security Dictionary while building the WAR file. Use the following command:
gwb warTomcatJndi -DincludeDictionary=true
If includeDictionary=true, the command creates a dictionary folder within the WAR file. The
dictionary folder contains the following subfolders:
• data
• security
These folders contain the Data Dictionary and Security Dictionary respectively.
To view a dictionary, open [Link] in the data or security folder.
See also
• “Using a JNDI data source” on page 71
Globalization tasks
Command Action
gwb diffDisplayKeys A display key difference tool that does the following:
• Compares each locale configured on the server against the master
display key list.
• Generates a file that contains a list of any missing keys.
gwb exportLocalizations - Exports a translation file from PolicyCenter into a file.
[Link]=translation_file - The -[Link] parameter specifies the destination file:
[Link]=export_language • 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
installation directory.
The -[Link] parameter specifies the destination language to
export. The -[Link] parameter must match a PolicyCenter
LanguageType typecode, such as fr or ja.
See also
• Globalization Guide
Integration tasks
Command Action
gwb genExternalSchemas Generates external JSON, Swagger SJON, and XSD schemas for internal integration
JSON and Swagger schemas.
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 Generates the WSDL for WSI web services in gsrc/wsi/local.
gwb exportWsdl Exports WSI web service WSDL files and related resources to a single JAR file. The gen-
erated JAR file is located in the directory modules/configuration/build.
The individual WSDL files are generated in subdirectories of modules/configuration/
build/wsdl/wsi/wsdl. For a client program to access the published services, the Java
wsimport tool can parse the WSDL files and generate the necessary JAX-WS files. The
operation can be automated by a Maven POM file.
gwb jsonSchemaCodegen Generates code for the JSON schemas in the file, [Link].
gwb updateReleasedSchemaVersions Adds a versioned Integration View or REST API schema to [Link].
See also
• Integration Guide
Command reference 127
Guidewire PolicyCenter 10.1.2 Installation Guide
Command Action
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. This command has the
following useful options:
• Set -DoutputFormat to html to generate HTML:
PolicyCenter/dictionary/data/[Link]
PolicyCenter/dictionary/security/[Link]
• Set -DoutputFormat to xml to generate XML:
PolicyCenter/build/dictionary/data/[Link]
PolicyCenter/build/dictionary/data/[Link]
PolicyCenter/build/dictionary/security/[Link]
PolicyCenter/build/dictionary/security/[Link]
gwb genDataMapping - Builds the data mapping files. Data mapping files represent fields present in the physical
Dsplit={true|false} 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 concaten-
ated.
gwb genEntityModelXml Generates the Data Dictionary in XML format with an associated DTD so the XML docu-
ment can be translated.
gwb genImportAdminDataXsd Regenerates the XSD files for importing administrative data.
gwb genPcfMapping Builds the PCF mappings.
gwb genPhoneMetadata Regenerates phone metadata in directory config/phone/data. Run this command if you
have modified the phone metadata XML files
gwb genPhoneMetadata Regenerates phone metadata in directory config/phone/data. Run this command if you
have modified the phone metadata XML files
gwb genRuleReport Generates an XML report describing the existing Gosu rules.
gwb packageSolr Regenerates the Solr installation Zip file, [Link] for deployment of the Guide-
wire Solr Extension.
gwb runSuite - Runs the tests in a specified test suite.
Dsuite=TestSuiteClassName
gwb verifyExtConfig Generates a report that includes the number of server configuration files affected, the
number of substitutions involved, and the status of plugin
ExternalConfigurationProviderPlugin if disabled.
See also
• Configuration Guide
• Rules Guide
• Gosu Reference Guide
See also
• Integration Guide
See also
• Configuration Guide
Core task Can use JVM option Cannot use JVM option
clean •
cleanIdea •
codegen •
130 chapter 7: Command reference
Guidewire PolicyCenter 10.1.2 Installation Guide
Core task Can use JVM option Cannot use JVM option
compile •
dropDb •
genDataDictionary •
idea •
runServer •
stopServer •
studio •