...
- dbxml (versions prior to 2.5 include xerces-c 2.x, which does not build correctly in OS X 10.6)
Note: this is a quite lengthy build. Take the dog for a walk and come back.Code Block ./buildall.sh --prefix=/usr/local/dbxml-2.5.13 --enable-java
- set environment variables
Code Block export DBXML_HOME=/usr/local/dbxml-2.5.13 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${DBXML_HOME}/lib export MELCOEPDP_HOME=/usr/local/melcoe-pdp export DYLD_LIBRARY_PATH=${DBXML_HOME}/lib:$DYLD_LIBRARY_PATH
- Build and install melcoe-pdp
Code Block svn co http://www.muradora.org/svn/muradora-project/melcoe-pdp/trunk melcoe-pdp cd melcoe-pdp ant install ant load-policies cp dist/axis2.war $CATALINA_HOME/webapps/
- Start Tomcat, e.g.:
Code Block $CATALINA_HOME/bin/startup.sh
- Sanity check: verify that http://localhost:8080/axis2/services/listServices lists the PolicyDataManagerService and PDP services.
melcoe-pep
- Make a backup copy of
$CATALINA_HOME/webapps/fedora/WEB-INF/web.xml
and$CATALINA_HOME/webapps/fedora/WEB-INF/schema-config.wsdd
. These get replaced when you runant install
- Download & install melcoe-pep
Code Block svn co http://www.muradora.org/svn/muradora-project/melcoe-pep/trunk melcoe-pep cd melcoe-pep ant install -Dwebapp.location=$CATALINA_HOME/webapps/fedora
- 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)
- Replace the $CATALINA_HOME/webapps/fedora/WEB-INF/web.xml with this version. This version has the melcoe-pep and fedora-jaas configuration already set. You will need to set the 'fedora.home' parameters though.
...