| 
05-19-2008, 07:47 AM
| | Senior Member | | Join Date: Mar 2008 Location: Turin, Italy ZCS Version: Slackware 12.0, Zimbra Release 5.0.5_GA_2201.DEBIAN4.0 DEBIAN4.0 FOSS edition
Posts: 36
| | it's strange... mmh...
thanks for the advice about this problem.
I'll try and check it tomorrow... at this moment i don't have a wireless AP in order to try a synchro with my mobile...  | 
05-19-2008, 08:38 AM
| | Junior Member | | Join Date: May 2008
Posts: 1
| | ZimbraConnector and remote postgresql db Hi all,
I have problems installing the Zimbra connector.
I have two computers: one for the apache/tomcat server with funambol, and one for the postgresql database.
While following step by step the instructions at SourceForge.net: zimbrafunambol » installation-guide, everything goes fine until the funambol administration step: it only shows the foundation module, the zimbra connector does not show up.
I am monitoring the communications between the two machines while executing the script install-modules.sh (which, by the way, ends with "[echo] ZimbraConnector installation successfully completed [echo] Remove output dir BUILD SUCCESSFUL"), and nothing is sent or received by the postgresql server on port 5432.
I would like to know what to do in order for the ZimbraConnector to appear in the postgresql database, and thus in the funambol administration tool.
Any help would be greatly appreciated,
Yann | 
05-19-2008, 11:46 PM
| | Member | | Join Date: Apr 2007
Posts: 15
| | Quote:
Originally Posted by roccogalati it's strange... mmh...
thanks for the advice about this problem.
I'll try and check it tomorrow... at this moment i don't have a wireless AP in order to try a synchro with my mobile...  | I tested this also with Mozilla sync4j client (V0.4.4), and I can reproduce this case exactly also with that, so the problem is not with my phone (btw. that did not produce any duplicates, so everything OK there).
I created an appointment in Zimbra, synced, and the appointment shows in calendar. Then I deleted the appointment from Zimbra and sync again, the client reports that 1 item was deleted on server.
This is exactly the same on my phone and mozilla client.
Then I did another test:
1) create an appointment in zimbra
2) sync both phone and mozilla
3) delete the appt in phone
4) sync phone; the appt disappears in Zimbra
5) sync mozilla; the appt stays there, and client reports no changes.
I would create a debug log file, but as I'm running these tests on my production account in zimbra, every sync lists full set of appointments (~300) and contacts (~400), so it is quite inpractical. If you want me to, I'll setup an empty test account later for debugging/testing.
- J | 
05-20-2008, 02:42 AM
| | Senior Member | | Join Date: Mar 2008 Location: Turin, Italy ZCS Version: Slackware 12.0, Zimbra Release 5.0.5_GA_2201.DEBIAN4.0 DEBIAN4.0 FOSS edition
Posts: 36
| | Quote:
Originally Posted by yannvote Hi all,
I have problems installing the Zimbra connector.
I have two computers: one for the apache/tomcat server with funambol, and one for the postgresql database.
While following step by step the instructions at SourceForge.net: zimbrafunambol » installation-guide, everything goes fine until the funambol administration step: it only shows the foundation module, the zimbra connector does not show up.
I am monitoring the communications between the two machines while executing the script install-modules.sh (which, by the way, ends with "[echo] ZimbraConnector installation successfully completed [echo] Remove output dir BUILD SUCCESSFUL"), and nothing is sent or received by the postgresql server on port 5432.
I would like to know what to do in order for the ZimbraConnector to appear in the postgresql database, and thus in the funambol administration tool.
Any help would be greatly appreciated,
Yann | In order to use postegrel database you have to modify some files under Funambol Directory.
Please, read these info about your db: https://wiki.objectweb.org/sync4j/Wi...lDM35onJBoss40
you need to copy your db driver under the Funambol directory. | 
05-20-2008, 02:45 AM
| | Senior Member | | Join Date: Mar 2008 Location: Turin, Italy ZCS Version: Slackware 12.0, Zimbra Release 5.0.5_GA_2201.DEBIAN4.0 DEBIAN4.0 FOSS edition
Posts: 36
| | Quote:
Originally Posted by joukom I would create a debug log file, but as I'm running these tests on my production account in zimbra, every sync lists full set of appointments (~300) and contacts (~400), so it is quite inpractical. If you want me to, I'll setup an empty test account later for debugging/testing.
- J | yep, if you can, please provide a log file with a test account... so i can try to find where is the problem...
thanks 
Last edited by roccogalati : 05-20-2008 at 02:49 AM.
| 
05-21-2008, 08:37 AM
| | Member | | Join Date: Apr 2008
Posts: 20
| | Hi everybody!
I'm trying to use the funambol connector for blackberry, but i doesn't work even if i use the link provided by s0undt3ch (thanks by the way!)
But it don't work for me! I'm on Linux OS(Ubuntu), I follow the instructions but i still got the same error message:
---- <?xml version='1.0'?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<context xmlns="urn:zimbra">
<userAgent name='ZimbraFunambol Connector'
version='0.4.98'/>
</context>
</soap:Header>
<soap:Body>
<AuthRequest xmlns="urn:zimbraAccount">
<account xmlns=""
by='name'>jules.nziet@zimbra.parniere.org</account>
<password xmlns="">********************</password>
</AuthRequest>
</soap:Body>
</soap:Envelope>
[2008-05-21 07:46:19,855] [funambol.zimbra] [ERROR] [C106391A88880D1C0C951BE6770CC2C3] [fbb-553648138] [jules.nziet@zimbra.parniere.org] [scard] I/O Error
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderE xception: unable to find valid certification path to requested target
at com.sun.net.ssl.internal.ssl.Alerts.getSSLExceptio n(Unknown Source)
----
I don't understand why  . Do you have any suggestions? Thanks in advance! | 
05-21-2008, 11:12 AM
| | Member | | Join Date: Apr 2007
Posts: 15
| | Quote:
Originally Posted by jikeb [2008-05-21 07:46:19,855] [funambol.zimbra] [ERROR] [C106391A88880D1C0C951BE6770CC2C3] [fbb-553648138] [jules.nziet@zimbra.parniere.org] [scard] I/O Error
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderE xception: unable to find valid certification path to requested target
at com.sun.net.ssl.internal.ssl.Alerts.getSSLExceptio n(Unknown Source)[/i]
----
I don't understand why  . Do you have any suggestions? Thanks in advance! | It says "unable to find valid certification path", which in plain English means that the whole certificate chain is not trusted. Zimbra creates by default a certificate for CA (certificate authority), and another certificate for https service, which in turn is signed by the aforementioned CA certificate. To fully authorize the certificate chain you must import both the https certificate and CA certificate to trusted certificate store. Zimbra 5.0 does not store the CA cert in it's keystore, which I recall older versions did, but you must locate it by hand.
I believe this import process is described in the documentation you referred to. The CA certificate can be found as /opt/zimbra/ssl/zimbra/ca/ca.pem. Just import it using the keytool as you probably did for the https certificate (just use a different -alias).
- J | 
05-21-2008, 01:09 PM
| | Senior Member | | Join Date: Feb 2008
Posts: 84
| | Quote:
Originally Posted by joukom I tested this also with Mozilla sync4j client (V0.4.4), and I can reproduce this case exactly also with that, so the problem is not with my phone (btw. that did not produce any duplicates, so everything OK there).
I created an appointment in Zimbra, synced, and the appointment shows in calendar. Then I deleted the appointment from Zimbra and sync again, the client reports that 1 item was deleted on server.
This is exactly the same on my phone and mozilla client.
Then I did another test:
1) create an appointment in zimbra
2) sync both phone and mozilla
3) delete the appt in phone
4) sync phone; the appt disappears in Zimbra
5) sync mozilla; the appt stays there, and client reports no changes.
I would create a debug log file, but as I'm running these tests on my production account in zimbra, every sync lists full set of appointments (~300) and contacts (~400), so it is quite inpractical. If you want me to, I'll setup an empty test account later for debugging/testing.
- J | It very strange (it was fixed early), Please post this bug to sourceforge bug tracker...
Now I have no time to fix this bug, I will have time after 11 june.
May be rocco can help early... | 
05-21-2008, 01:12 PM
| | Senior Member | | Join Date: Feb 2008
Posts: 84
| | Quote:
Originally Posted by joukom It says "unable to find valid certification path", which in plain English means that the whole certificate chain is not trusted. Zimbra creates by default a certificate for CA (certificate authority), and another certificate for https service, which in turn is signed by the aforementioned CA certificate. To fully authorize the certificate chain you must import both the https certificate and CA certificate to trusted certificate store. Zimbra 5.0 does not store the CA cert in it's keystore, which I recall older versions did, but you must locate it by hand.
I believe this import process is described in the documentation you referred to. The CA certificate can be found as /opt/zimbra/ssl/zimbra/ca/ca.pem. Just import it using the keytool as you probably did for the https certificate (just use a different -alias).
- J | Also config ZimbraConnector for use certificate (you need set up keystoke path) this process discribed in the wiki for connector. | 
05-22-2008, 12:25 AM
| | Senior Member | | Join Date: Mar 2008 Location: Turin, Italy ZCS Version: Slackware 12.0, Zimbra Release 5.0.5_GA_2201.DEBIAN4.0 DEBIAN4.0 FOSS edition
Posts: 36
| | Quote:
Originally Posted by jikeb Hi everybody!
I'm trying to use the funambol connector for blackberry, but i doesn't work even if i use the link provided by s0undt3ch (thanks by the way!)
But it don't work for me! I'm on Linux OS(Ubuntu), I follow the instructions but i still got the same error message:
---- <?xml version='1.0'?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<context xmlns="urn:zimbra">
<userAgent name='ZimbraFunambol Connector'
version='0.4.98'/>
</context>
</soap:Header>
<soap:Body>
<AuthRequest xmlns="urn:zimbraAccount">
<account xmlns=""
by='name'>jules.nziet@zimbra.parniere.org</account>
<password xmlns="">********************</password>
</AuthRequest>
</soap:Body>
</soap:Envelope>
[2008-05-21 07:46:19,855] [funambol.zimbra] [ERROR] [C106391A88880D1C0C951BE6770CC2C3] [fbb-553648138] [jules.nziet@zimbra.parniere.org] [scard] I/O Error
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderE xception: unable to find valid certification path to requested target
at com.sun.net.ssl.internal.ssl.Alerts.getSSLExceptio n(Unknown Source)
----
I don't understand why  . Do you have any suggestions? Thanks in advance! | to create a zimbra certificate, if you need it, you can use this command: Code: /opt/zimbra/bin/zmcertmgr createca -new and replace the funambol certificate with this one. | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | |
LinkBacks (?)
LinkBack to this Thread: http://www.zimbra.com/forums/zimbra-mobile/8924-zimbra-funambol-sync4j-code.html | | Posted By | For | Type | Date | | Zimbra по-руÑÑки | This thread | Refback | 12-09-2007 08:35 AM | | funambol en Gennio | This thread | Refback | 12-04-2007 03:09 PM | | Untitled document | This thread | Refback | 11-26-2007 02:23 PM | | Zimbra: Zimbra Blog | This thread | Refback | 11-25-2007 11:16 PM | | Forum de la communauté Zimbra francophone / Synchronisation Zimbra 4.5.6 Open Source - C'est bon, ça marche ! | This thread | Refback | 11-20-2007 05:59 AM | | Untitled document | This thread | Refback | 11-05-2007 06:24 AM | | Forum de la communauté Zimbra francophone / Synchronisation Zimbra 4.5.6 Open Source - C'est bon, ça marche ! | This thread | Refback | 10-30-2007 03:28 PM | | Open Outlook Connector SyncML dev... - Zimbra - Forums | This thread | Refback | 10-08-2007 12:40 PM | | Funambol: Open Source: Community Projects | This thread | Refback | 10-03-2007 12:58 AM | | Forum de la communauté Zimbra francophone / Synchronisation Zimbra 4.5.6 Open Source - C'est bon, ça marche ! | This thread | Refback | 10-01-2007 11:59 AM | | funambol + Zimbra - SWiK | This thread | Refback | 09-16-2007 08:20 AM | | jenkner's bookmarks tagged with | This thread | Refback | 08-31-2007 06:50 AM | | Forum de la communauté Zimbra francophone / Synchronisation Zimbra 4.5.6 Open Source - C'est bon, ça marche ! | This thread | Refback | 08-29-2007 01:45 PM | | Zimbra + Funambol Sync4j Code - Zimbra - Forums - SWiK | This thread | Refback | 08-20-2007 07:20 AM | | mylesb's bookmarks tagged with | This thread | Refback | 08-13-2007 08:30 AM | | Forum de la communauté Zimbra francophone / Synchronisation Zimbra 4.5.6 Open Source - C'est bon, ça marche ! | This thread | Refback | 08-09-2007 07:17 AM | | Forum de la communauté Zimbra francophone / Synchronisation Zimbra 4.5.6 Open Source - C'est bon, ça marche ! | This thread | Refback | 08-05-2007 06:32 AM | | sync4j - SWiK | This thread | Refback | 08-01-2007 01:13 AM | | Forum de la communauté Zimbra francophone / Synchronisation Zimbra 4.5.6 Open Source - C'est bon, ça marche ! | This thread | Refback | 07-30-2007 05:47 AM | | Forum de la communauté Zimbra francophone / Synchronisation Zimbra 4.5.6 Open Source - C'est bon, ça marche ! | This thread | Refback | 07-29-2007 10:37 PM | | Forum de la communauté Zimbra francophone / Synchronisation Zimbra 4.5.6 Open Source - C'est bon, ça marche ! | This thread | Refback | 07-28-2007 06:51 AM | | Forum de la communauté Zimbra francophone / Synchronisation Zimbra 4.5.6 Open Source - C'est bon, ça marche ! | This thread | Refback | 07-28-2007 06:48 AM | | funambol - SWiK | This thread | Refback | 06-25-2007 03:31 AM | | cool.dude.99's bookmarks tagged with | This thread | Refback | 06-14-2007 12:23 PM | | mylesb's bookmarks tagged with | This thread | Refback | 06-10-2007 06:06 PM | | mylesb's bookmarks tagged with | This thread | Refback | 06-06-2007 12:33 AM | | Zimbraâ„¢ Collaboration Suite - SWiK | This thread | Refback | 06-05-2007 08:15 PM | | funambol :: open source :: community projects | This thread | Refback | 06-01-2007 02:34 PM | |