Setup Jack Rabbit on JBoss
JBoss AS (jboss-5.1.0.GA), Jack Rabbit (2.2.0, jackrabbit-webapp-2.2.0.war).
There is official manual on how to setup Jack Rabbit onto JBoss: http://wiki.apache.org/jackrabbit/JackrabbitOnJBoss
However, I prefer to work with WAR distributable files, so, my steps were a bit different:
1. Download jackrabbit-jcr-rmi-2.2.0.jar from https://repository.apache.org/content/groups/public/org/apache/jackrabbit/jackrabbit-jcr-rmi/2.2.0/jackrabbit-jcr-rmi-2.2.0.jar, put this file to jboss/server/default/lib
2. Copy jackrabbit-webapp-2.2.0.war to deploy directory
3. Start JBoss
In my case, jack rabbit started but wasn't able to create repository. The reason is odd error that default RMI port 1099 was occupied. That error will be fixed in 2.2.1.
I managed to fix this issue by specifying different RMI port (1100) in jboss\bin\jackrabbit\bootstrap.properties. Not sure that this is correct, but after this, JBoss picked up JackRabbit, created repo, give me webdav access and much more.
Next steps would be to configure WebDAV with MS Office, setup access, configure db file system and play with hadoop.
More info coming.
Post a Comment