Magnolia 5.4 reached end of life on November 15, 2018. This branch is no longer supported, see End-of-life policy.
The IBM WebSphere Compatibility module provides a Servlet for the IBM WebSphere application server to accept requests. With other application servers, Magnolia uses its filter chain with no specific endpoint.
You can now download IBM WebSphere Compatibility module 1.4 and WebSphere Application Server 7. Note that WebSphere Application Server 7 and Magnolia 4.5 work with Derby database. In addition, both support Java 1.6.
The following IBM WebSphere versions work with the module:
WEB-INF/lib/lucene-2.3.0.jar
which is distributed with JackRabbit by default with WEB-INF/lib/lucene-2.2.0.jar
.IBM WebSphere Compatibility is an Enterprise Edition module. Download the module from our Nexus repository.
To install the module, see the general module installation instructions.
If you downloaded the prebundled IBM WebSphere war file, skip this step:
magnolia-module-websphere
jar file is your webapp's WEB-INF/lib
directory.Edit the web.xml
, and add the following Servlet
definition:
<servlet> <description>Spool servlet</description> <servlet-name>Spool</servlet-name> <servlet-class>info.magnolia.module.websphere.Spool</servlet-class> <init-param> <param-name>Path</param-name> <param-value>/docroot</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>Spool</servlet-name> <url-pattern>/*</url-pattern> </servlet-mapping>
Note that the Servlet
must be mapped to serve /*
, but you can adapt the Path
parameter to allow it to serve other static resources from your webapp.
Refer to the IBM WebSphere JAAS documentation: Configuring JAAS under IBM WebSphere 6.x.
Jackrabbit
org.apache.jackrabbit.core.security.SimpleLoginModule
as REQUIRED
magnolia
info.magnolia.jaas.sp.jcr.JCRAuthenticationModule
as REQUISITE
info.magnolia.jaas.sp.jcr.JCRAuthorizationModule
as REQUIRED