[GroupDAV] ogo 1.1.6, funambol 1.1.1767 debian etch - settings in admin tool?

Brian groupdav@opengroupware.org
Sat, 24 Feb 2007 14:24:07 +1100


Hi,

not sure exactly what settings are required in the admin tool. 

Specifically..

In the vCal connector I have

ogo-cal
text/xvcal
http://myipaddress:8080
/zidestore/so/%USER%/Calendar
/opt/Funambol/groupdav-cal

but theres no /opt/Funambol folder on my server
I installed funambol in /usr/local/Funambol, but theres no groupdav-cal 
file or folder.
what am i doing/done wrong?

also, in the Server settings I have no value for "Server URI"  what 
should this be?

finally I saw somewhere in an earlier funambol install version I had to 
change the "officer" setting, but the latest instructions don't suggest 
doing this.

What i did so far to install funambol (padded out notes that are mostly 
the install instructions from http://comalies.citadel.org/~matt/funambol/) .


    Funombal install

This is not an apt-get install procedure.


      Required Files

    * http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=16942&release_id=416591
      <http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=16942&release_id=416591>
      jBoss 4.0.4GA Installer (jboss-4.0.4.GA-Patch1-installer.jar
    * http://www.funambol.com/opensource/download_form.html?file_id=funambol-ds-server-5.0.10.zip
      Funambol DS Server 5.0.10 archive
    * http://comalies.citadel.org/~matt/funambol/latest/
      <http://comalies.citadel.org/%7Ematt/funambol/latest/>
      GroupDAV^?
      <http://192.168.41.24/twiki/bin/edit/Main/GroupDAV?topicparent=Main.OpenGroupware>
      Funambol s4j (groupdav-1.x.xxxx.s4j)
      JGroupDAV^?
      <http://192.168.41.24/twiki/bin/edit/Main/JGroupDAV?topicparent=Main.OpenGroupware>.jar
      gdav_libs.tar.bz2
    * http://www.funambol.com/opensource/download_form.html?file_id=funambol-admin-3.0.9.tgz
      Funambol Administration Tool 3.0.9
    * www.java.com java5 sdk (bambam\apps\oe10) note - sdk, not jre


      Install java


<http://192.168.41.24/twiki/bin/view/Main/LinuxJava>

Get the java 5 sdk from www.java.com

extract the contents to (eg) /usr/lib/jdk1.5.0_11

ln -s /usr/lib/jdk1.5.0_11 /usr/lib/java

ln -s /usr/bin/java /usr/lib/java/bin/java

add to /etc/profile and any scripts that need java

export JAVA_HOME=/usr/lib/java


      Install Jboss

http://comalies.citadel.org/~matt/funambol/pre-rc1/install-guide/x47.html 
<http://comalies.citadel.org/%7Ematt/funambol/pre-rc1/install-guide/x47.html> 


Installing jBoss is fairly easy. The installer is a runable java 
archive, and can be executed by double clicking on it in your GUI or 
manually by:

$ java -jar jboss-4.0.4.GA-Patch1-installer.jar

If you don't have graphical access to your system and can't run the 
installer, try either one of the other archives from the download site, 
or perhaps a jBoss package from your system vendor. I used xwindows on a 
separate box, and forwarded x session via ssh.

Take note of the location on your system which you install jBoss to. 
When asked, choose the default install profile

jboss installs to
/usr/local/jboss-4.0.4.ga


      Install funambol

cd ~
unzip funambol-ds-server-5.0.10.zip
cd /usr/local
mv ~/Funambol .

4. Funambol DS Server

Unzip the Funambol archive and move its contents to a permanent place on 
your system. Then open up a terminal and export the following 
environment variables:

$ export JAVA_HOME=/usr/lib/java
$ export J2EE_HOME=/usr/local/jboss-4.0.4.ga

(Suggestion: save the exports as a shell script so you can source them 
when needed)

Copy the groupdav-1.x.xxxx.s4j archive to modules in the 
Funambol/ds-server directory.

I am using mysql for funambol, need the jdbc connector. My server 
accepts login from localhost as root with a password

cd ~ wget http://dev.mysql.com/downloads/connector/j/5.0.html
gunzip the file, untar it.
find the file
mysql-connector-java-5.0.4-bin.jar
and copy it to the jboss default server lib folder
cp mysql-connector-java-5.0.4-bin.jar 
/usr/local/jboss-4.0.4.GA/server/default/lib

Open up install.properties in Funambol/ds-server,

dbms=mysql

further down... My server accepts login from localhost as root with a 
funny password

jdbc.classpath=/usr/local/jboss-4.0.4.GA/server/default/lib/mysql-connector-java-5.0.4-bin.jar
jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost/funambol
jdbc.user=root
jdbc.password=haha...

Just below the SQL definitions there is a modules-to-install line:

modules-to-install=foundation-3.0.9,pdi-3.0.5,pimweb-3.0.8,funambol-db-3.0.7 


Add the GroupDAV^? 
<http://192.168.41.24/twiki/bin/edit/Main/GroupDAV?topicparent=Main.OpenGroupware> 
connector to the end of it, like so:

modules-to-install=foundation-3.0.9,pdi-3.0.5,pimweb-3.0.8,funambol-db-3.0.7,groupdav-1.x.xxxx 


Next, make the install scripts executable, and install Funambol:

$ chmod +x bin/install.sh
$ chmod +x bin/install-modules.sh
$ bin/install.sh jboss40

The script will ask you if you wish to replace the database for each 
module. Answer Y (yes) to each one.

ATTENTION! If you already have services running on port 8080, edit the 
jBoss tomcat configuration in 
/server/default/deploy/jbossweb-tomcat55.sar/server.xml

Before we start Funambol, the server needs all the dependencies for the 
connector in its classpath. Copy JGroupDAV^? 
<http://192.168.41.24/twiki/bin/edit/Main/JGroupDAV?topicparent=Main.OpenGroupware>.jar, 
and the contents of gdav_libs.tar.bz2 to /server/funambol/lib. Then, 
start Funambol with:

$ bin/start.sh

prove the point, hitting the site...

http://theipaddress:8080/funambol/ <http://barneyvm:8080/funambol/>

Build version: 	5.0.10
Build date: 	20060908
Source tag: 	serverds_5_0_10


and to make the server start on server start...

/etc/init.d/funambol
8<--------------------------------------------------------------------------------
#! /bin/sh
#  /etc/init.d/jboss: Start and stop JBoss AS
ECHO=/bin/echo
start() {
      $ECHO .n "Starting JBoss"
      cd /usr/local/Funambol/ds-server/
      bin/start.sh &
      $ECHO "."
}

            start
            ;;
      *)
            $ECHO "Usage: funambol {start}"
            exit 1
esac

exit 0
8<--------------------------------------------------------------------------------
which is linked into rc2.d etc...