Skip to content

OGo Docs

Sections
Personal tools
You are here: Home » Members » whitemice's Home » application-notes » SyncML » Setting Up A Funambol Server For Use With OGo

Setting Up A Funambol Server For Use With OGo

Document Actions
THE FUNAMBOL 6.0 BUNDLE IS NOT YET SUPPORTED COMPLETELY BY THE GROUPDAV MODULE. YOU MUST USE THE FUNAMBOL 3.0 BUNDLE WHEN CREATING A GROUPDAV SYNC SOURCE.

On your PostgreSQL server:
--------------------------
# Create the database
$ su postgres -c "createdb --owner=funambol --encoding=LATIN1 funambol"
# The Funambol setup procedure will automatically create the required schema.

On your Funambol server:
------------------------
# Download the requisite files
$ curl -o /tmp/groupdav-1.1.1818.s4j \
http://comalies.citadel.org/~matt/funambol/latest/groupdav-1.1.1818.s4j
$ curl -o /tmp/jgroupdav-for-1818.zip \
http://comalies.citadel.org/~matt/funambol/latest/jgroupdav-for-1818.zip
$ curl -o /tmp/JGroupDAV.jar \
http://comalies.citadel.org/~matt/funambol/latest/JGroupDAV.jar
$ curl -o /tmp/funambol-3.0a.bin \
http://download.fr2.forge.objectweb.org/sync4j/funambol-3.0a.bin
$ curl -o postgresql-8.0-318.jdbc3.jar \
http://jdbc.postgresql.org/download/postgresql-8.0-318.jdbc3.jar

# Prepare for installation & Unpack bundle
cd /tmp
chmod u+x funambol-3.0a.bin
rm -fR /opt/Funambol
./funambol-3.0a.bin
# - Accept the license agreement
# - Specify the root directory [ /opt ]
# - When prompted if you want to start the server say "no".

****

export FUNAMBOL_HOME=/opt/Funambol
export DS_SERVER_HOME=$FUNAMBOL_HOME/ds-server
export J2EE_HOME=$FUNAMBOL_HOME/tools/tomcat/
cp /tmp/groupdav-1.1.1818.s4j $DS_SERVER_HOME/modules
mkdir /opt/Funambol/lib
cp /tmp/postgresql-8.0-318.jdbc3.jar /opt/Funambol/lib/
ln -s /opt/Funambol/lib/postgresql-8.0-318.jdbc3.jar \
$FUNAMBOL_HOME/tools/tomcat/shared/lib/

# Setup the installation properties file
cat > $DS_SERVER_HOME/install.properties << EOF
server-uri=
context-path=/funambol
dbms=postgresql
jdbc.classpath=/opt/Funambol/lib/postgresql-8.0-318.jdbc3.jar
jdbc.driver=org.postgresql.Driver
jdbc.url=jdbc:postgresql://gourd-amber:5432/funambol
jdbc.user=funambol
jdbc.password=funambol
modules-to-install=foundation-3.0.9,funambol-email-3.0.15,groupdav-1.1.1818,pdi-3.0.5
modules-to-uninstall=
EOF

# Perform installation
cd $DS_SERVER_HOME
bin/install.sh tomcat50

# Place the GroupDAV dependencies in the class path
cd /tmp
unzip jgroupdav-for-1818.zip
cp /tmp/jgroupdav/gdav_libs/*.jar $FUNAMBOL_HOME/tools/tomcat/server/lib/
cp /tmp/JGroupDAV.jar $FUNAMBOL_HOME/tools/tomcat/server/lib/
cp /tmp/jgroupdav/gdav_libs/*.jar $DS_SERVER_HOME/lib/
cp /tmp/JGroupDAV.jar $DS_SERVER_HOME/lib/
rm -fR /tmp/jgroupdav/
rm -fR /var/spool/groupdav
mkdir /var/spool/groupdav
mkdir /var/spool/groupdav/davOverview
mkdir /var/spool/groupdav/sifOverview
mkdir /var/spool/groupdav/davPrivateContacts
mkdir /var/spool/groupdav/sifPrivateContacts
mkdir /var/spool/groupdav/davFavoriteContacts
mkdir /var/spool/groupdav/sifFavoriteContacts


# Start the server
cd $FUNAMBOL_HOME
tools/bin/funambol.sh start

Visit http://***************:8080/ and see the Tomcat splash page.
Visit http://***************:8080/funambol and see the Funambol splash page, reports "Funambol DS Server: 5.0.10"

# Start the Funambol Admin client

# Connect to your server at port 8080 with username "admin" and password "sa"

The administrative client is divided into two panes: on the left an expanding tree of available configuration categories and on the right the configuration detail corresponding to the item selected on the left.

LEFT: Select "Server settings"
RIGHT: Set "Officer" to "com/funambol/server/security/EmailOfficer.xml"
RIGHT: Click "Save"
LEFT: Expand modules
LEFT: Expand email
LEFT: Double click "FunambolEmailConnector"
RIGHT: Enter your "Mail Server", "Protocol", & "Port"
For Us: Mail Server = sardine.morrison.iserv.net
Protocol = IMAP
Port = 143
RIGHT: Click "Save"
LEFT: Expand "FunambolEmailConnector"
LEFT: Double click "Email Imap SyncSource"
RIGHT: Enter (at minimum) the values for "Source URI", "Name", "Outgoing Server", and "Incoming Server"
For Us: URI = mormail
Name = MormailIMAP
Outgoing Server = gourd-amber.morrison.iserv.net Port = 25 Auth = Checked
Incoming Server = sardine.morrison.iserv.net Port = 143
RIGHT: Click "Add"

Your IMAP sync sould should now appear in the left pane below the "Email Imap SyncSource"

LEFT: Collapse "email"
LEFT: Expand "groupdav"
LEFT: Expand "BionicMessageGroupDAVConnector"
LEFT: Double click the "GroupDAV Calendar"
RIGHT: Enter the "SyncML Source URL", "Source Type", "GroupDAV URL", "Server Source", and "Store Location"
Example:
SyncML Source URL = "davOverview"
Source Type = "text/x-vcalendar"
Possibilities are:
"text/x-vcal" For contacts (iCalendar)
"text/x-vcalendar" For events (iCalendar)
"text/x-s4j-sifc" for contacts (SIF)
"text/x-s4j-sife" for events (SIF)
"text/icalendar" for direct icalendar
GroupDAV URL = "gourd-amber:80"
Server Source = "/zidestore/dav/%USER%/Overview"
Store Location = "/var/spool/groupdav/davOverview"
RIGHT: Click "Save Settings"

Do the same as the above to create whatever GroupDAV sources you need.

CALENDAR SOURCES
----------------

davOverview
-----------
davOverview
text/x-vcalendar
gourd-amber:80
/zidestore/dav/%USER%/Overview
/var/spool/groupdav/davOverview

sifOverview:
------------
sifOverview
text/x-s4j-sife
gourd-amber:80
/zidestore/dav/%USER%/Overview
/var/spool/groupdav/sifOverview

CONTACT SOURCES
---------------

davPrivateContacts
------------------
davPrivateContacts
text/x-vcal
gourd-amber:80
/zidestore/dav/%USER%/Contacts
/var/spool/groupdav/davPrivateContacts

sifPrivateContacts
------------------
sifPrivateContacts
text/x-s4j-sifc
gourd-amber:80
/zidestore/dav/%USER%/Contacts
/var/spool/groupdav/sifPrivateContacts
Created by whitemice
Last modified 2007-07-09 10:05 PM
 

Powered by Plone

This site conforms to the following standards: