Scalix <-> Funambol alpha connector available

Best practice information from Scalix users relating to integration of Scalix with other products.

Moderator: ScalixSupport

jedimarcus

Postby jedimarcus » Thu Oct 04, 2007 5:13 am

@kluss0:

Hi,

Did you manage to get it working?

Personally, Calendar and Contacts syncing is all I need since the email part I can manage with the Blackberry BIS service provided by my ISP.

I just need funambol to get around a Blackberry Enterprise server to avoid a Windows solution.

Best regards,

Marc M.
Luxembourg/Europe

propagandhi
Posts: 81
Joined: Wed Sep 26, 2007 8:18 am

help??

Postby propagandhi » Sun Oct 14, 2007 9:59 pm

Okay, I've got the scalix funambol connector installed, I see it in the modules of the Funambol administration tool, and I've added a calendar sync item with the following values:

* Source URI: sx-cal
* Name: sx-cal-sife
* Scalix Server: scalix.domain.com - my domain obviously here..
* Scalix port: 993
* SSL: ON
* Server TimeZone: UTC
* Client Format: text/x-s4j-sife

The contact sync source is pretty much identical to that.

What do I do now? How does it sync for all the users? I added a calendar item through scalix webmail but it doesn't show up in the sync. Outlook to funambol synchronization works fine, but I have no synching directly between scalix and funambol.

Obviously I probably don't have something configured correctly, but I have no idea where to find good documentation on the setup of this.

kluss0
Posts: 118
Joined: Sat Jan 07, 2006 1:40 pm

Postby kluss0 » Mon Oct 15, 2007 5:43 pm

OK, I have things (mostly) working. For contacts to work, you need to see this thread:
http://www.scalix.com/forums/viewtopic.php?t=8605&highlight=

You need to modify a file and re-compile the source to fix some bugs. I also had to make some changes to the build.xml file, and modify some includes based on my JDK environment. Or, you can PM me, and I can e-mail you the pre-compiled .s4j file. I also unzipped the funambol-email-6.0.3.s4j and replaced the mail.jar file with the one from funambol-scalix-0.6.36.s4j, re-zipped it, and re-deployed.

However, I have noticed some strangeness. Every time I synchronize, the number of calendar items increases, and I end up with a lot of duplicate entries. But, this could be a side effect of some other wierdness on my phone.

You need to configure the client to point to the sx-cal and sx-con. Every user that connecst to the funambol server then passes this info on to the server, and the funambol server looks up the information for that user in the database. You don't need to set it up per-user on the server.

Hopefully I will have more time to work on this this week to make everything work exactly as it should, and post the changes that I made to what files.

HTH,
Kenny

philjohn
Posts: 28
Joined: Thu Jan 04, 2007 2:31 am
Contact:

Postby philjohn » Thu Oct 18, 2007 11:17 am

Hi Kenny,

if you would like, I can add you as a project admin/developer on the sourceforge project, this will allow you to have write access to the SVN repository, and push releases out.

best wishes,

Phil.

ouzo

Postby ouzo » Sat Nov 03, 2007 5:52 am

Hi there,

I am currently trying to get that connector to work but unfortunately haven't succeeded so far.

Here is my Funambol log:

Code: Select all

[2007-11-03 10:21:55,070] [funambol.transport.http] [INFO] [5496CC381596D26183E65D347A42C14A] [] [] [] Handling incoming request
[2007-11-03 10:21:55,071] [funambol.transport.http] [INFO] [5496CC381596D26183E65D347A42C14A] [] [] [] Request URL: http://scalix01.mydomain.com:8081/funambol/ds
[2007-11-03 10:21:55,071] [funambol.transport.http] [INFO] [5496CC381596D26183E65D347A42C14A] [] [] [] Requested sessionId: null
[2007-11-03 10:21:56,251] [funambol.handler] [INFO] [5496CC381596D26183E65D347A42C14A] [fwm-35703700052646800] [test.test@scalix01.mydomain.com] [] test.test@scalix01.mydomain.com/fwm-35703700052646800 logged in.
[2007-11-03 10:21:56,349] [funambol.scalix] [TRACE] [5496CC381596D26183E65D347A42C14A] [fwm-35703700052646800] [test.test@scalix01.mydomain.com] [] Init CachedSyncSource with sourceUri: sx-cal
[2007-11-03 10:21:56,352] [funambol.transport.http] [INFO] [5496CC381596D26183E65D347A42C14A] [fwm-35703700052646800] [test.test@scalix01.mydomain.com] [] Request processed.
[2007-11-03 10:22:02,590] [funambol.transport.http] [INFO] [5496CC381596D26183E65D347A42C14A] [fwm-35703700052646800] [test.test@scalix01.mydomain.com] [] Handling incoming request
[2007-11-03 10:22:02,590] [funambol.transport.http] [INFO] [5496CC381596D26183E65D347A42C14A] [fwm-35703700052646800] [test.test@scalix01.mydomain.com] [] Request URL: http://scalix01.mydomain.com:8081/funambol/ds
[2007-11-03 10:22:02,590] [funambol.transport.http] [INFO] [5496CC381596D26183E65D347A42C14A] [fwm-35703700052646800] [test.test@scalix01.mydomain.com] [] Requested sessionId: 5496CC381596D26183E65D347A42C14A
[2007-11-03 10:22:02,593] [funambol.engine] [INFO] [5496CC381596D26183E65D347A42C14A] [fwm-35703700052646800] [test.test@scalix01.mydomain.com] [] Starting synchronization ...
[2007-11-03 10:22:02,594] [funambol.scalix] [TRACE] [5496CC381596D26183E65D347A42C14A] [fwm-35703700052646800] [test.test@scalix01.mydomain.com] [sx-cal] ScalixSyncSource beginSync
[2007-11-03 10:22:02,594] [funambol.scalix] [TRACE] [5496CC381596D26183E65D347A42C14A] [fwm-35703700052646800] [test.test@scalix01.mydomain.com] [sx-cal] Getting Device Info
[2007-11-03 10:22:02,594] [funambol.scalix] [TRACE] [5496CC381596D26183E65D347A42C14A] [fwm-35703700052646800] [test.test@scalix01.mydomain.com] [sx-cal] Couldn't retrieve timezone from device, setting to UTC
[2007-11-03 10:22:02,594] [funambol.scalix] [TRACE] [5496CC381596D26183E65D347A42C14A] [fwm-35703700052646800] [test.test@scalix01.mydomain.com] [sx-cal] ScalixDAO open
[2007-11-03 10:22:02,600] [funambol.scalix] [INFO] [5496CC381596D26183E65D347A42C14A] [fwm-35703700052646800] [test.test@scalix01.mydomain.com] [sx-cal] Connecting to Scalix on: scalix01.mydomain.com:80 without ssl

I am trying to sync with a Windows mobile device and at that point the syncing does not do anything further. No errors, no nothing. I just seems to wait for the connection ...

I think I may have some settings wrong and would appreciate any example of correct and working settings for the connector.
Please help - I've been trying to get it to work for almost a week now :(

philjohn
Posts: 28
Joined: Thu Jan 04, 2007 2:31 am
Contact:

Postby philjohn » Sat Nov 03, 2007 10:03 am

Hi Ouzo

It looks like you have the wrong port specified, it's trying to connect to port 80. Port 80 is for http (web). You need port 143 for IMAP or 993 for IMAPS (imap over ssl).

Change that in the funambol admin panel and it should then start syncing.

Beware that calendar and contact updates were never implemented as I was still investigating how to deal with possible data loss on an update from a client (especially when the client only supports a subset of what can be stored on the Scalix server. I looked at caching all values from the Scalix server in a database (literally, all values) attached to Funambol and then performing the update on that, then updating Scalix (by doing a delete and add) so that may be the way to do it.

I may possibly setup a scalix box on VMWare and see if I can get 1.0 out of the door at some point in the next couple of months.

best wishes,

Phil.

ouzo

Postby ouzo » Sat Nov 03, 2007 3:11 pm

Hi philjohn!

Thank you so much for your reply - sync now works like a charm :D
It would be awesome if you could continue to work on the connector and I would be glad to assist you with some testing if that helps you to push development further.

thank you and keep up the great work,
ouzo

MikeE

Postby MikeE » Tue Nov 06, 2007 4:57 pm

Hi!
I'm trying to sync the scalix-funambol connector with Outlook for testing purposes in order to be independent from the outlook connector. However, syncing fails. Here's the error log:
[2007-11-06 21:48:40,380] [funambol.transport.http] [INFO] [0258659CD1DF03FC3FD2C1718B55D50D] [fol-TUlLRTptaWtlLmVibmVy] [michael.ebner] [] Request processed.
[2007-11-06 21:48:49,795] [funambol.transport.http] [INFO] [0258659CD1DF03FC3FD2C1718B55D50D] [fol-TUlLRTptaWtlLmVibmVy] [michael.ebner] [] Handling incoming request
[2007-11-06 21:48:49,795] [funambol.transport.http] [INFO] [0258659CD1DF03FC3FD2C1718B55D50D] [fol-TUlLRTptaWtlLmVibmVy] [michael.ebner] [] Request URL: http://192.168.1.1:8080/funambol/ds
[2007-11-06 21:48:49,795] [funambol.transport.http] [INFO] [0258659CD1DF03FC3FD2C1718B55D50D] [fol-TUlLRTptaWtlLmVibmVy] [michael.ebner] [] Requested sessionId: 0258659CD1DF03FC3FD2C1718B55D50D
[2007-11-06 21:48:49,822] [funambol.engine] [INFO] [0258659CD1DF03FC3FD2C1718B55D50D] [fol-TUlLRTptaWtlLmVibmVy] [michael.ebner] [] Starting synchronization ...
[2007-11-06 21:48:49,822] [funambol.scalix] [TRACE] [0258659CD1DF03FC3FD2C1718B55D50D] [fol-TUlLRTptaWtlLmVibmVy] [michael.ebner] [sx-con] ScalixSyncSource beginSync
[2007-11-06 21:48:49,823] [funambol.scalix] [TRACE] [0258659CD1DF03FC3FD2C1718B55D50D] [fol-TUlLRTptaWtlLmVibmVy] [michael.ebner] [sx-con] Getting Device Info
[2007-11-06 21:48:49,823] [funambol.scalix] [TRACE] [0258659CD1DF03FC3FD2C1718B55D50D] [fol-TUlLRTptaWtlLmVibmVy] [michael.ebner] [sx-con] Couldn't retrieve timezone from device, setting to UTC
[2007-11-06 21:48:49,823] [funambol.scalix] [TRACE] [0258659CD1DF03FC3FD2C1718B55D50D] [fol-TUlLRTptaWtlLmVibmVy] [michael.ebner] [sx-con] ScalixDAO open
[2007-11-06 21:48:49,833] [funambol.scalix] [INFO] [0258659CD1DF03FC3FD2C1718B55D50D] [fol-TUlLRTptaWtlLmVibmVy] [michael.ebner] [sx-con] Connecting to Scalix on: 192.168.1.1:143 without ssl
[2007-11-06 21:48:50,279] [funambol.scalix] [ERROR] [0258659CD1DF03FC3FD2C1718B55D50D] [fol-TUlLRTptaWtlLmVibmVy] [michael.ebner] [sx-con] Contacts not found

Could that be a locale issue?

Thanks a lot,
Mike

microcheese

Postby microcheese » Thu Nov 08, 2007 8:57 am

Hi,

what i had discovered that your Contacts folder in Scalix needs to be called "Contacts" and not differently e.g. in germany it is called "Kontakte". It seems that the english foldernames are hardcoded in the Scalix - Funambol Connector.

Thats might be a issue....

Cheers
Ernst

philjohn
Posts: 28
Joined: Thu Jan 04, 2007 2:31 am
Contact:

Postby philjohn » Sat Nov 10, 2007 4:23 pm

Good catch, I must admit I overlooked l10n and i18n issues whilst developing.

Unfortunately there's no simple fix that would work in all cases. A textbox could be added to the server setup panel that takes the name of the contacts folder, however, this would cause problems for users with different locale settings.

Is the server localised, e.g. all clients connecting get one language? In that case my previous argument > /dev/null

I've got a few big projects coming up with work, but after that (time permitting, I have a young family which obviously takes up a lot of my downtime!) I'll re-assess if I can continue.

best wishes,

Phil.

thecowster
Posts: 62
Joined: Fri Oct 12, 2007 8:48 am

I18n support

Postby thecowster » Thu Nov 15, 2007 5:46 am

Hi there Phil,

We are a company of approx 300 people looking to migrate to Scalix. One of the big factors for us is PDA syncing support. NotifyLink seems a bit pricy for widespread use. So we're looking at alternatives, such as Funambol. Therefore we could well be using your connector in the future :wink:

So, in case this is any help, our 300 users are spread around Europe. We have many in Germany, but also some in France, Italy, Spain, Finland and UK. Whilst English is the "preferred" language for internal discussions, non-english folk generally use operating systems in their local language.

The Scalix server however would be operated by english speaking folk.

Not sure if this helps, as I have not used the connector yet.

charon
Posts: 128
Joined: Sun Jul 01, 2007 5:38 am
Location: Germany
Contact:

Postby charon » Thu Nov 15, 2007 5:53 am

I mentioned some months ago the z-push project, but got no feedback until now.

perhaps this could be an alternative?


http://z-push.sourceforge.net/soswp/

or wait for native Scalix ActiveSync integration

dyna
Posts: 21
Joined: Fri Jun 08, 2007 4:08 am

Postby dyna » Fri Mar 28, 2008 9:25 am

Seems like scalix released it's alpha funambol connector @ http://sourceforge.net/projects/funambol-scalix/

So now we have 2 alpha connectors...let's hope someone picks this up as i don't see AS OTA comming soon.

Demonstrating its commitment to Free/Libre Open Source, Scalix and Funambol agreed to release to the community the connector that allows access from Funambol syncronization server to Scalix groupware functions.

The original code was developed as a joint effort between the two companies and now it is released under the GNU Affero GPLv3 license. The code is still rough around the edges, built to work for Funambol version 3.x and Scalix version 11. It's a valuable contribution for Scalix users that want to take their data on the move.

Visit the new project home to get the code on:

https://sourceforge.net/projects/funambol-scalix/

Contributions are welcome to port it to Funambol 6.5 and newer Scalix versions. If you have questions or comments please post them on Funambol mailing list:

http://sourceforge.net/mailarchive/foru ... nc4j-users

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Fri Mar 28, 2008 10:43 am

Just out of curiosity, why do you say you don't see AS OTA coming soon?

Alik
Posts: 84
Joined: Thu Jan 05, 2006 11:21 am

Postby Alik » Wed Apr 02, 2008 3:46 am

Has anyone try this one http://my.funambol.com/ ?


Return to “Third Party Integration”



Who is online

Users browsing this forum: No registered users and 1 guest

cron