Ce tuto fait partie de Open-change + Funambol
OpenXchange Connector un genre de “pont” entre open-xchange et Funambol qui va permettre aux deux logiciels de communiquer
!! Le connecteur est disponible sur cette url : https://www.forge.funambol.org/download/
Il s'agit actuellement de la version 7.0.3
Après plusieurs essais, celle-ci n'est buggée et en plus ne contient pas l'exécutable linux (dans /opt/Funambol/bin/ox-listener)
J'ai trouvé une version plus récente sur http://m2.funambol.org/repositories/artifacts/funambol/ox-module/ la 7.0.7
Téléchargez là
cd /tmp wget http://m2.funambol.org/repositories/artifacts/funambol/ox-module/7.0.7/ox-module-7.0.7.zip unzip ox-module-7.0.7.zip
Ce fichier zip contient 2 choses :
Le connecteur : Funambol/ox-connector/ox-connector-7.0.7.s4j Le listener : Funambol/ox-listener/funambol-ox-listener-7.0.7.zip
On va d'abord copier le connecteur dans le répertoire de Funambol
Soit :
cp /tmp/Funambol/ox-connector/ox-connector-7.0.7.s4j /opt/Funambol/ds-server/modules/
Ensuite on copie le listener dans Funambol :
cd /tmp/Funambol/ox-listener unzip funambol-ox-listener-7.0.7.zip cp -r /tmp/Funambol/ox-listener/Funambol/ /opt/Funambol
Maintenant on va indiquer à Funambol qu'on ajoute un nouveau module. Pour ce faire, dans /opt/Funambol/ds-server/install.properties ajouter à la fin de la ligne : ox-connector-7.0.7
# # Modules definitions # modules-to-install=content-provider-7.1.2,email-connector-7.1.1,foundation-7.1.1,phones-support-7.1.0,webdemo-7.1.0,ox-connector-7.0.7
Avant de lancer l'installation, arrêtez le serveur open-xchange et redémarrez Funambol Ceci à cause de problème de ports commun entre les deux applications (voir xx)
/etc/init.d/open-xchange-admin stop /etc/init.d/open-xchange-groupware stop /opt/Funambol/bin/funambol restart
Ensuite on lance l'installe du module :
cd /opt/Funambol/ ./bin/install-modules
Demande si table recréer mettre oui à chaque fois
BUILD SUCCESSFUL Total time: 58 seconds
Note : Warning: selected war files include a WEB-INF/web.xml which will be ignored (please use webxml attribute to war task)
Si tout c'est bien passé, un fichier “OXOfficer.xml a été crée dans config/com/funambol/server/security/ :
ls -l /opt/Funambol/config/com/funambol/server/security/
Avant de démarrer l'ox-listener, il faut régler un problème de port en Funambol et le listener :
Changer dans /opt/Funambol/bin/ox-listener Remplacer la ligne :
JMX_PORT=3101 par JMX_PORT=13101
Maintenant on peut démarrer l'ox-listener :
/opt/Funambol/bin/ox-listener start
Pour ox listener, vérifiez si un fichier de log se trouve dans /opt/Funambol/logs/ox-listener/ox-listener.log ou via la commande :
/opt/Funambol/bin/ox-listener status
Il existe un logiciel client pour configurer Funambol et ox-connector :
Sur un poste client linux avec une interface gratuite, ou un windows
Télécharer Funambol Admin Tool :
https://www.forge.funambol.org/download/
Sous Unix :
tar xvzf funambol-admin-7.1.0.tgz /home/jf/tools/Funambol/admin/bin/funambol
Entrer l'url de votre serveur, le login est admin, le mdp est sa
Double cliquez sur “Server settings” Indiquez dans le champ “ServerUri” l'url de votre funambol
Mettre http://oxserver.mondomaine.be:8080/funambol/ds
Cette url est très importante, elle sera utilisée par vos mobiles
Et dans Officer mettre : com/funambol/server/security/OXOfficer.xml
Sauvegardez
Ensuite, déployez l'onglet “module” et double cliquez sur “oxconnector”
Indiquez dans “Http server configuration”, “Url” indiquez l'adresse de votre serveur open-xchange
Sauvegardez
C'est tout, il n'y a rien d'autre à configurez
Dans /opt/Funambol/config/Funambol.xml
<void property="officer"> <string>com/funambol/server/security/OXOfficer.xml</string> </void> <void property="OXUrl"> <string>>http://oxserver.mondomaine.be/funambol/ds</string> </void>
Dans /opt/Funambol/config/ox/ox/OXConnector.xml
<void property="OXUrl"> <string>http://oxserver.mondomaine.be:80</string> </void>
Avant de pouvoir démarrer tous les services, open-xchange-admin, open-xchange-groupware, funambol et ox-listener il va falloir réglé les prolbèmes de port communs
Dans /opt/Funambol/tools/tomcat/conf/server.xml
changer 8009 par 8019 :
<!-- Define an AJP 1.3 Connector on port 8009 --> <Connector port="8019" enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
Voila maintenant tous les services peuvent être démarrez :
/etc/init.d/open-xchange-admin start /etc/init.d/open-xchange-groupware start /opt/Funambol/bin/funambol start /etc/init.d/apache2 restart /opt/Funambol/bin/ox-listener start
Vérifiez dans les logs si tout est bien démarré
Discussion
Merci de partager cette information. L'information était très serviable et a sauvé beaucoup de mon temps.
Dissertation Dissertation Proposal
http://www.afmlibre.be/open-change_funambol
no, it's the correct message
Hi,Thanks for your reply.Part of the ox-listener status as follows. According to this it has some plugin problem. But I follow thw instruction correctly.I f you have any idea regardilg this please letme know.
[2009-04-01 18:50:31,992] [funambol.framework.encryption] [INFO] [PushListener-task-executor-pool-thread-1] [0] [] [] [] Initializing encryption key [2009-04-01 18:50:31,993] [funambol.framework.encryption] [INFO] [PushListener-task-executor-pool-thread-1] [0] [] [] [] EncryptionKeyProvider not found, using default key
rohan, that's not a error
look if you have a log create in /opt/Funambol/logs/ox-listener/ox-listener.log if it's true, the connector is properly installed
you can also check with this command : /opt/Funambol/bin/ox-listener status
or for more debugging try /opt/Funambol/bin/ox-listener start -debug
I am a new in this and I try with new release. http://m2.funambol.org/repositories/artifacts/funambol/ox-module/7.1.0/ox-module-7.1.0.zip
When I try to start ox-listner given following error
/opt/Funambol/bin/ox-listener start OXLISTENER_HOME: /opt/Funambol/ox-listener JAVA_OPTS: -Dfile.encoding=UTF-8 -Dfunambol.home=/opt/Funambol -Dfunambol.pushlistener.config.bean=com/funambol/oxlistener/OXListenerConfiguration.xml -Djava.library.path=/opt/Funambol/ox-listener/lib/linux -Djavax.net.ssl.trustStore=/opt/Funambol/ox-listener/lib/security/cacerts -Xmx256M -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=13101 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
Have any idea regarding this ? Grate help me Thanks.
In version 7.0.3 there are no /bin/ox-listener you can get a more recent version at http://m2.funambol.org/repositories/artifacts/funambol/ox-module/
(7.0.7)
Je ne comprends pas le français, seulement ma femme me peut aider un peu. J'ai le problème suivant:
Script /opt/Funambol/bin/ox-listener n'est pas là, seulement le script /opt/Funambol/bin/ox-listener ( windows? ) C'est pourqoi je ne peux pas commencer par ox-listener. Où est-ce-que je pourrai trouver le script ox-listener (linux) ?