Using an External Repository with FileNet WSM 4.1.1

WSM stores web site content in a CRX repository. By default, the WSM setup program installs a pre-configured CRX repository, which uses an internal database. If you want to use an external database, such as SQL or Oracle, you must install CRX separately prior to running the WSM setup program.

For each CRX installation you will be using, complete the following steps:

1.                   Navigate to the CRX folder on the WSM media and initiate the CRX installer:

Windows: crx1-2-0-20060622-enterprise.exe

Unix: crx1-2-0-20060622-enterprise.sh

2.                   Once the CRX installation completes, stop CRX.

3.                   Unzip the crx-1-2-0-20060622.hotfix.13668.zip file to a folder on your CRX server.

The package contains the following files:

WEB-INF\classes\com\day\crx\coreRepositoryImpl$WorkspaceInfo.class

WEB-INF\classes\com\day\crx\coreRepositoryImpl$WorkspaceJanitor.class

WEB-INF\classes\com\day\crx\coreRepositoryImpl.class

WEB-INF\lib\activation-1.0.2.jar

WEB-INF\lib\crxfilenet-1.2.jar

WEB-INF\lib\filenet-soap-3.5.1.jar

WEB-INF\lib\javaapi-3.5.1.jar

WEB-INF\lib\mail-1.3.2.jar

WEB-INF\lib\p8cjares-3.5.1.jar

4.                   Copy the files to the following location: <crx-install>\server\runtime\0\_crx\WEB-INF

5.                   Update the web.xml file in the <crx-install>\server\runtime\0\_crx\WEB-INF folder

a.                               On line 30, change the servlet-class

From: com.day.crx.j2ee.CRXRepositoryStartupServlet

To: .com.day.crx.filenet.j2ee.FileNetRepositoryStartupServlet

b.                              At line 274, add the following new servlet definition

<!-- ============================================================================== -->
<!--                    FILENET EVENT ACTION SERVLET                                -->     
<!-- ============================================================================== -->
<servlet>
<servlet-name>EventActionServlet</servlet-name>
<description>Handles events from FileNet Content Engine</description>
<servlet-class>com.day.crx.filenet.observation.EventActionServlet</servlet-class>
<load-on-startup>7</load-on-startup>
</servlet>

c.                               Add the following servlet mapping after the existing ones:

<servlet-mapping>
<servlet-name>EventActionServlet</servlet-name>
<url-pattern>/EventAction</url-pattern>
</servlet-mapping>

1.                   Restart CRX.

Once all the CRX installations are complete, run the WSM installation following the instructions in InstallationGuide.pdf located in the docs\setup directory. Note that you must

·         Install WSM using the custom option.

·         Know the CRX server properties including the host name, host port, and administrator password as you will be prompted for this information

·         Set the JNDI settings which by default are:

o                                JNDI Name: crx

o                                JNDI Initial Context Factory: com.day.util.jndi.provider.MemoryIntialContextFactory

o                                JNDI Provider URL: http://jcr.day.com

Once the installation completes, restart the CRX and WSM servers, and then, if appropriate configure WSM to use LDAP and the P8 connectors. For more information on configuring WSM to use the P8 connectors, refer to Instructions for Configuring FileNet Connectors for WSM.pdf which is available at the root level of the WSM media.