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

Télécharger le module

!! 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à

Installation

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 :

Le port 3101

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

Configuration du connecteur

Via le logiciel funambol admin

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

Via les fichiers de config

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>

Conflit de ports entre open-xchange et funambol et ox-listener

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

Le port 8009

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

jennifer, 2012/02/20 12:09

Merci de partager cette information. L'information était très serviable et a sauvé beaucoup de mon temps.

Dissertation Dissertation Proposal

Entrer votre commentaire
Si vous ne pouvez déchiffrer le code, téléchargez ce fichier .wav pour l'entendre.
 
jf, 2009/04/02 20:31

no, it's the correct message :-)

Rohan , 2009/04/01 17:44

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.

ScheduledTaskExecutor status:
      > instance: com.funambol.pushlistener.service.taskexecutor.ScheduledTaskExecutor@16dadf9
      > current number of threads in the pool: 0
      > number of running tasks: 0
      > number of scheduled tasks: 0
      > number of completed tasks: 0
      > number of tasks to execute: 0
      > is shut down: false

[2009-04-01 18:50:31,612] [funambol.pushlistener.pluginshandler] [INFO] [main] [] [] [] [] No plugin to start

[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

jf, 2009/03/22 21:29

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

Rohan, 2009/03/21 15:49

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.

jf, 2009/03/18 17:58

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)

Rolf Illgen, 2009/03/11 22:09

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) ?

Entrer votre commentaire
Si vous ne pouvez déchiffrer le code, téléchargez ce fichier .wav pour l'entendre.
 
 
installation_et_configuration_du_module_ox-connector.txt · Dernière modification: 2009/06/02 11:01 par admin
 
Sauf mention contraire, le contenu de ce wiki est placé sous la licence suivante:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki