Update the Guidewire Solr extension installation directory on JBoss
Procedure
-
Extract the web application deployment descriptor, web.xml, from pc-gwsolr.war by running the following command:
jar -xf pc-gwsolr.war WEB-INF/web.xml - Open WEB-INF/web.xml for editing.
-
Change the value of the
<env-entry-value>entry in the following code to match the directory on which you installed the Guidewire Solr Extension. If you are using Windows, change the value to a Windows path, including the drive designator:<env-entry> <env-entry-name>solr/home</env-entry-name> <env-entry-type>java.lang.String</env-entry-type> <env-entry-value>C:\opt\gwsolr\pc\solr</env-entry-value> </env-entry> - Save your changes.
-
Repackage web.xml into
pc-gwsolr.warby running the following command:jar -uvf pc-gwsolr.war WEB-INF/web.xml - Delete the WEB-INF directory.
What to do next
If working through procedure Configure free-text search for JBoss, return to step 5 in that procedure.
