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 ------------------------------------------------------------------------------ == Required Modifications for WAS 6.1 == === Enabling Java 5 for JSP pages === - Cause WebSphere 6.x is a J2EE 1.5 container, it doesn't support Java 5 out of the box. You have to explicit enable Java 5 for the JSP compiler. + 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. - To do this, you've got to create 2 files: + To do this, you've got to create (or modify) 2 files: * WEB-INF/ibm-web-bnd.xmi * WEB-INF/ibm-web-ext.xmi - #ibm-web-bnd.xmi + ibm-web-bnd.xmi {{{ <?xml version="1.0" encoding="UTF-8"?> <webappbnd:WebAppBinding xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:webappbnd="webappbnd.xmi" xmi:id="WebAppBinding_1213147492785" virtualHostName="default_host"> @@ -24, +24 @@ </webappbnd:WebAppBinding> }}} - #ibm-web-ext.xmi + ibm-web-ext.xmi {{{ <?xml version="1.0" encoding="UTF-8"?> <webappext:WebAppExtension xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:webappext="webappext.xmi" xmi:id="WebAppExtension_1213147492785" reloadInterval="3" reloadingEnabled="true" additionalClassPath="" fileServingEnabled="true" directoryBrowsingEnabled="false" serveServletsByClassnameEnabled="true"> @@ -32, +32 @@ <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. +
