Update the Guidewire Solr extension installation directory on JBoss

Procedure

  1. 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
  2. Open WEB-INF/web.xml for editing.
  3. 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>
  4. Save your changes.
  5. Repackage web.xml into pc-gwsolr.war by running the following command:
    jar -uvf pc-gwsolr.war WEB-INF/web.xml
  6. 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.