Modify the QuickStart database file location
About this task
Guidewire uses /tmp/guidewire as the database
file location and pc as the file prefix in the default
configuration. You can modify the default database file location and
prefix.
Procedure
- In a command window, navigate to the PolicyCenter installation directory.
-
Launch Guidewire Studio using the
following command:
gwb studio - In the Project window, expand and open database-config.xml.
-
Look for the
databaseblock that listsh2as thedbtype. -
In this
databaseblock, search for thejdbc-urlattribute value.The file path after the colon sets the file location. The value after the location sets the file prefix.In the following example, tmp/guidewire is the file location andpcis the file prefix.<!-- H2 (meant for dev/quickstart use only!) --> <database name="PolicyCenterDatabase" dbtype="h2"> <dbcp-connection-pool jdbc-url="jdbc:h2:mem:/tmp/guidewire/pc"/> </database> - Make changes to the file location and prefix as needed for your business needs.
- In Studio, click .
