Solr with Weblogic 10 and 10.3

  • Solr runs fine with Weblogic after some small tweaks. See the instructions in the generic Solr installation page for initial configuration and setup. However some Weblogic specific changes are required for the Admin application to be available.

Weblogic Setup Tweaks

  • Create a weblogic.xml file in the Solr web app's WEB-INF directory. Weblogic appears to have filters enabled even on FORWARD, which is documented as something that will not function properly in the Solr documentation. Failure to perform this step will result in the administrative application generating a StackOverflow when accessed. The weblogic.xml must contiain the following:

<?xml version='1.0' encoding='UTF-8'?>
<weblogic-web-app
xmlns="http://www.bea.com/ns/weblogic/90"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd">

<container-descriptor>

<filter-dispatched-requests-enabled>false</filter-dispatched-requests-enabled>
</container-descriptor>
</weblogic-web-app>

  • Remove the pageEncoding attribute from line 1 of solr/admin/header.jsp .
  • No labels