Differences between revisions 8 and 9
Revision 8 as of 2008-07-03 12:40:17
Size: 1142
Editor: ScottCytacki
Comment:
Revision 9 as of 2009-09-20 23:45:20
Size: 1144
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
 * Follow the build instructions in the [http://svn.apache.org/repos/asf/jackrabbit/trunk/jcr-server/README.txt README.txt]  * Follow the build instructions in the [[http://svn.apache.org/repos/asf/jackrabbit/trunk/jcr-server/README.txt|README.txt]]

Common problems when using / building the jackrabbit jcr-server

  • Follow the build instructions in the README.txt

  • Jackrabbit depends on a "newer" JAXP version than the one shipped with JDK 1.4.x. Xerces 2.6.1 works. Since the xml jars are "endorsed" (javax.xml.xx) you should place them in $JAVA_HOME/jre/lib/ext. If using tomcat you can place the xerces jars in $CATALINA_HOME/common/endorsed
  • You must add the system property java.security.auth.login.config to point to a jaas configuration file. Use the file jackrabbit/application/test/jaas.config. In tomcat, copy the file to "$CATALINA_HOME/conf" and add the following to the environment var CATALINA_OPTS. (If your tomcat is already using jaas, simply merge the content of jaas.config with the file that tomcat uses.)

 -Djava.security.auth.login.config=%CATALINA_HOME%/conf/jaas.config

TODO : Add a list of the exceptions thrown when running without the proper xml api versions, since the exceptions don't give enough hints)

HowtoSpi2Dav

HowtoSpi2Rmi

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