jLibrary

Open Source Document Management System from your Desktop

  • Developers
  • Help & Support
  • Enterprise
  • Documents & Articles
jLibrary » Installation and first steps » Installing the WAR application

Information

Created in: 2005-12-31 02:15:51

Author: Unknown

Size: 2120 bytes

Last updated: 2005-12-31 02:15:51

Categories

Help & Support

You may be interested in...

jLibrary Configuration Guide

Installing the WAR application

jLibrary server distribution comes in two ways: the Apache Tomcat bundle, and the smaller WAR application. The Apache Tomcat bundle contains a jLibrary server ready to run, and so is the easiest way to install jLibrary, but also is the biggest distribution. On the other hand, the .WAR application contains only the jLibrary server application and so is smaller to download an also is easier to install on your own web container.

To install the jLibrary WAR application you should follow the next steps:

  1. Go to the jLibrary downloads section on sourceforge.net and download the .WAR distribution bundle. If you want to create an up-to-date distribution, checkout the build guide on the developers section to find how to build jLibrary sources from CVS.
  2. Once you have downloaded the bundle, you'll find a zip file with the web application archive. Also there is some documentation in the form of a README.txt file, and a jaas.config file. Now, you can place the jlibrary.war file on your webapps directory.
  3. The next step is to add the jaas.config file to your Apache Tomcat conf directory. If you already have a jaas.config file, then you can add to it the following lines:
    Jackrabbit {
      org.apache.jackrabbit.core.security.SimpleLoginModule required anonymousId="anonymous";
    };
  4. And finally you must tell to tomcat where is the jaas.config file if you haven't done yet. This can
    be done in several ways from your catalina file. For example adding the following line to the
    java command, or to the CATALINA_OPTS environment variable:

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

    or also

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

 

Copyright © 2004-2006 Martín Pérez Mariñán & others. Created with jLibrary. Design by Andreas Viklund.

Eclipse, Built on Eclipse and Eclipse Ready are trademarks of Eclipse Foundation, Inc.

SourceForge.net Logo Donate to this project
Built on EclipseTM RCP Hosted at sourceforge.net