1. Login to the web administration console.

2. Choose "Configuration" and your configuration (eg. localhost)

3. Click to the "Java" tab

4. Add Jackrabbit jar-s to the "ClassPath Suffix" field. eg.:

*c:/jar/commons-collections-3.1.jar *c:/jar/commons-el.jar *c:/jar/commons-logging-1.1.jar * c:/jar/concurrent-1.3.4.jar * c:/jar/derby- * c:/jar/jackrabbit-core-1.1.1.jar * c:/jar/jackrabbit-jcr-commons-1.1.1.jar * c:/jar/jcr-1.0.jar * c:/jar/log4j-1.2.8.jar * c:/jar/lucene-1.4.3.jar * c:/jar/slf4j-log4j12-1.0.jar * c:/jar/xercesImpl-2.6.2.jar * c:/jar/xmlParserAPIs-2.0.2.jar

5. Click to "Resource" tab

6. Create a new "Custom Resource" with the following paramter:

Enabled: true Resource Type: javax.jcr.Repository Factory class: org.apache.jackrabbit.core.jndi.BindableRepositoryFactory

Add to paramteters: repHomeDir and configFile

7. save, deploy the config, restart the server, enjoy the JCR

(Note: Deployed war files must not containt the jar files above.)

JackrabbitOnSunWebServer (last edited 2009-09-20 23:45:28 by localhost)