Cela en intéressera peut-être…
J’ai trouvé la solution sur un site allemand… (on peut dire que ca
m’aura bien fait galérer cette histoire… ^^)
Je copie/colle (rassurez vous c’est en anglais
) :
/Install libhsqldb-java
apt-get install libhsqldb-java
Edit
/opt/Funambol/ds-server/bin/start.sh
and
/opt/Funambol/ds-server/bin/install-modules.sh
Change
JAVA_HOME="$FUNAMBOL_HOME/…/tools/jre-1.5.0/jre"
export JAVA_HOME
To something like
JAVA_HOME="/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre"
export JAVA_HOME
(of course you will have to find out for yourself where your java_home
is…in my case it was /usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre)
Also edit the JAVA_HOME line in
/opt/Funambol/tools/bin/funambol.sh
to
JAVA_HOME="/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre"
Next add
export JAVA_HOME="/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre"
at the beginning of following files:
/opt/Funambol/inbox-listener/bin/inboxlistener.sh
/opt/Funambol/pim-listener/bin/pimlistener.sh
/opt/Funambol/ctp-server/bin/ctpserver.sh
And change the lines with
BUNDLED_JAVA_HOME=…/tools/jre-1.5.0/jre
in those files to
BUNDLED_JAVA_HOME="/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre"
(The funambol people assumed that you could also just delete the
BUNDLED_JAVA_HOME lines…but as i din’t try so, here’s what i know to
work !)
Now we need to link the installed hsqldb.jar from libhsqldb-java to a
place that funambol can find
ln -s /usr/share/java/hsqldb.jar
/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/ext/
start the service with:
/opt/Funambol/tools/bin/funambol.sh start/
–
Christophe Duhamel
Institut du Management et de la Distribution
Technicien Informatique
6, rue de l’hôtel de ville
B.P. 59 59051 Roubaix cedex 01 - France
Tél. : +33 (0)3 20 73 08 05
Fax : +33 (0)3 20 73 95 01
imd.univ-lille2.fr