You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 28 Next »

Table of Contents

Note: these are preliminary build notes for early testing and development. Feel free to add your own notes
2009-12-09 note: these instructions, while valid for the moment, will change as FeSL gets integrated into Fedora's trunk

Test environment:

  • Mac OS X 10.6 (Snow Leopard)
    • Java 1.5 (32-bit from OS X 10.5 Leopard installation, but the default 64-bit Java6 should work fine)
    • Maven 2.0.9
  • Fedora 3.3
    • Tomcat 6.0.20

fedora

svn co https://fedora-commons.svn.sourceforge.net/svnroot/fedora-commons/fedora/trunk fedora
cd fedora
mvn install -P fedora-installer
java -jar fcrepo-installer/target/fcrepo-installer-3.3-SNAPSHOT.jar

Select "custom" and accept all defaults and "included" options except for "Enable FeSL" which should be "true" and "Enable Resource Index" which should be "true".

Oracle Berkeley DB XML

adapted from: http://www.muradora.org/muradora/wiki/InstallingRampPDP

  1. dbxml (versions prior to 2.5 include xerces-c 2.x, which does not build correctly in OS X 10.6)
    ./buildall.sh --prefix=/usr/local/dbxml-2.5.13 --enable-java
    
    Note: this is a quite lengthy build. Take the dog for a walk and come back. 
  2. set environment variables
    export DBXML_HOME=/usr/local/dbxml-2.5.13
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${DBXML_HOME}/lib
    export DYLD_LIBRARY_PATH=${DBXML_HOME}/lib:$DYLD_LIBRARY_PATH
    
  3. Start Tomcat, e.g.:
    $CATALINA_HOME/bin/startup.sh
    
  4. Sanity check: http://localhost:8080/fedora/pdp/MelcoePDP?wsdl

The following services should now be available
MelcoePDP : http://localhost:8080/pdp/services/MelcoePDP
Available Operations

  • evaluateBatch
  • evaluate

PolicyDataManagerService : http://localhost:8080/pdp/services/PolicyDataManagerService
Available Operations

  • listPolicies
  • updatePolicy
  • deletePolicy
  • lastUpdate
  • addPolicy
  • getPolicy
  • findPolicies

fcrepo-security-pep

  1. Sanity check: verify that http://localhost:8080/fedora/search works for fedoraAdmin, but returns authorization denied for a valid, but non-adminstrator role (create one in $FEDORA_HOME/server/config/fedora-users.xml)

fcrepo-security-jaas

  1. Configure the $FEDORA_HOME/server/config file.
  2. View the fedora-jaas documentation: FESL Authentication Module
#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels