Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. dbxml (versions prior to 2.5 include xerces-c 2.x, which does not build correctly in OS X 10.6)
    Code Block
    ./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.
    Once the build has completed, we need to create local Maven artifacts for the dbxml libraries so that the Fedora build can find them.
Code Block
cd /usr/local/dbxml-2.5.13/lib
cp db.jar db-2.5.13.jar && cp dbxml.jar dbxml-2.5.13.jar
mvn install:install-file -DgroupId=com.sleepycat -DartifactId=db -Dversion=2.5.13 -Dpackaging=jar -Dfile=db-2.5.13.jar
mvn install:install-file -DgroupId=com.sleepycat -DartifactId=dbxml -Dversion=2.5.13 -Dpackaging=jar -Dfile=dbxml-2.5.13.jar
  1. 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
    
  2. 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/
    
  3. Start Tomcat, e.g.:
    Code Block
    $CATALINA_HOME/bin/startup.sh
    
  4. Sanity check: verify that http://localhost:8080/axis2/services/listServices lists the PolicyDataManagerService and PDP services.

...