Menu

step by step FDDPMA on Debian

2009-01-12
2013-04-03
  • Shane Trapp

    Shane Trapp - 2009-01-12

    Had a bitch of a time installing this aplication on Debian so I thought I would put this step by step guide on how to get it running on Debian etch. Hope this helps someone out there

    Step by step debian install: (For a Clean Debian install)

    1) add the following locations to your sources.list file
    deb http://ftp.debian.org/debian/ unstable non-free
    deb-src http://ftp.debian.org/debian/ unstable non-free

    2) Run apt-get update

    3) apt-get install the following packages

    sun-java5-jdk
    ant
    ant-optional
    tomcat5.5
    mysql-server
    unzip

    4) Download the 3 packages from the sourceforge website for fddpma to /var/lib

    5) unzip the packages in /var/lib this should create a new folder called fddpma

    6) in the folder fddpma edit the file build.properties and put /usr/share/tomcat5.5 as the tomcat directory

    7)in the fddpma directory run the command ant -f build.xml

    8) once that completes follow the instructions in the install doc to create the sql databases the two commands that create the DB's must be run from /var/lib/fddpma/sql#

    9) Edit the /etc/init.d/tomcat5.5 file and under where it says export JAVA_HOME make the CATALINA_OPTS line look as follows
    CATALINA_OPTS="-Djava.awt.headless=true -Xmx128M -Djava.security.auth.login.config=$CATALINA_HOME/conf/jaas.properties"

    10) Restart tomcat

    11) Use install doc for instructions to copy files specified to the specified directories

    13) Edit the /etc/tomcat5.5/server.xml file and copy the content of the file server.xml.5_5_17.txt that was extracted from one of the zip files downloaded from sourceforge

    I wrote this document after seeing that the one included in the fddpma application was incomplete and missed a lot the gotcha's. Hope this helps someone out there!

     
  • Cayo Amorim

    Cayo Amorim - 2011-01-26

    I followed your steps, but I cant run the fddpma on debian.

    using

    debian lenny
    kernel 2.6.32-5-686
    jdk 1.6.0_22
    tomcat5.5
    mysqld  Ver 5.1.49-3 for debian-linux-gnu on i486 ((Debian))

    When I try to open on browser http://cf:8180/fddpma/            *cf is a local server

    shows:
    ****************************************************
    HTTP Status 404 -

    type Status report

    message

    description The requested resource () is not available.

    Apache Tomcat/5.5
    *****************************************************

    I wrong in anything?

     

Log in to post a comment.