You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2009/01/29 10:35:52 UTC

[Solr Wiki] Update of "SolrWeblogic" by IlanRabinovitch

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The following page has been changed by IlanRabinovitch:
http://wiki.apache.org/solr/SolrWeblogic

New page:
== Solr with Weblogic 10 ==
 * Solr runs fine with [http://www.oracle.com/technology/software/products/ias/index.html Weblogic] after some small tweaks. See the instructions in the generic [wiki:SolrInstall 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 .