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 jherbst:
http://wiki.apache.org/solr/SolrWebSphere

The comment on the change is:
Final version of the document created

------------------------------------------------------------------------------
  ## page was renamed from SolrInstall/InterWiki
  = Solr with IBM WebSphere =
  
- Solr doesn't run out of the box on IBM WebSphere Application Server 
[http://www-01.ibm.com/software/webservers/appserv/was/ WebSphere]. The minimum 
version for Running Solar is WAS 6.1.x, cause WAS 6.0 doesn't support Java 5. 
+ Solr doesn't run out of the box on IBM WebSphere Application Server. The 
minimum version for Running Solar is WAS 6.1.x, cause WAS 6.0 doesn't support 
Java 5. 
  This page is just about WebSphere specific instructions, see the instructions 
in the generic [wiki:SolrInstall Solr installation] page for general info 
before consulting this page.
  
  [[TableOfContents]]
  
  == Required Modifications for WAS 6.1 ==
+ The following instructions are the required modifications for the 
apache-solr-1.3.0.war on WebSphere 6.1. This modifications should work with all 
versions of the the WAS 6.1 series. 
  
  === Enabling Java 5 for JSP pages ===
  Cause WebSphere 6.x is a J2EE 1.4 container, it doesn't support Java 5 out of 
the box. You have to explicit enable Java 5 for the JSP compiler.
@@ -31, +32 @@

    <webApp href="WEB-INF/web.xml#WebApp_ID"/>
    <jspAttributes xmi:id="JSPAttribute_1" name="jdkSourceLevel" value="15"/>
  </webappext:WebAppExtension>
+ }}}
  
  === Adding index.jsp to Welcome File List ===
  In the apache-solr-1.3.0.war there is now welcome file section. WebSphere 
doesn't handle index.jsp as ''auto'' welcome file, so you've got to modify the 
web.xml to get a page displayed.
+ Add the 'welcome-file' section add the bottom of the web.xml file.
  
+ web.xml
+ {{{
+         ...
+       <welcome-file-list>
+               <welcome-file>index.jsp</welcome-file>
+       </welcome-file-list>
+ }}}
+ 

Reply via email to