Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Mobility > Zimbra Mobile

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #441 (permalink)  
Old 03-22-2009, 11:23 AM
Starter Member
 
Posts: 2
Default

Quote:
Originally Posted by ghm1014 View Post
The connector was trying to get daylight saving info when there is not.
I modified the file
ru.korusconsulting/src/java/ru/korusconsulting/connector/funambol/CalendarUtils.java
method getTimeZone
line 1342
Now its working for me
Nice work.
I just added the condition "tz.attributeValue("dayoff") != null" in line 1340 (v. 0.5.01) and now it seems as synchronisation works perfectly, but I fear it would be better to set attr "dayoff" to zero instead of checking if its null so getTimeZone can do it's job correctly.
I guess it's a bug in the connector. Are there considerations to fix it (sorry if I missed responses to ghm1014's solution)?
Reply With Quote
  #442 (permalink)  
Old 03-22-2009, 04:47 PM
Starter Member
 
Posts: 2
Default

Sorry, I just checked out the latest dev-revision... it seems like the bug is fixed....
Reply With Quote
  #443 (permalink)  
Old 03-28-2009, 07:33 AM
Project Contributor
 
Posts: 106
Default

Quote:
Originally Posted by UMDjwain View Post
Currently starting a deployment of Zimbra 5.0.13 with the recently released Funambol 7.1.0. Syncing appears to be a 50/50 situation- I've had successful results with tasks, calendars, and address books, but it's rare that every sync session completes without one (or more) failing at some point with a '511 to command SyncHdr []' error from the server.

BB clients are using the funambol 7.0.7 client and I'm using a recently compiled 0.5.1 ZimbraConnector.

My error log is attached if anybody can offer any help. Obviously our users aren't dead in the water since syncing happens on occasion, but I was hoping it would be more consistently reliable.
You Zimbra how I think in some reason doen't include <refresh> tag on autorization, but it does. Connector will not work while this cann't be fixed.

How to manualy check: Include debug level on funambol and see soap response on autentifiaction, it's should see like belove:

Code:
[2009-03-28 15:46:28,690] [funambol.zimbra.soap] [DEBUG] [8F0109C373CE0236459409A931855D82] [fol-UkJMSVpORVRTOlJCbGl6bmV0cw==] [user1] [stask] 
<?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.5.01'/>
        </context>
    </soap:Header>
    <soap:Body>
        <AuthRequest xmlns="urn:zimbraAccount">
            <account xmlns=""
                     by='name'>user1</account>
            <password xmlns="">********************</password>
        </AuthRequest>
    </soap:Body>
</soap:Envelope>

[2009-03-28 15:46:28,716] [funambol.zimbra.soap] [DEBUG] [8F0109C373CE0236459409A931855D82] [fol-UkJMSVpORVRTOlJCbGl6bmV0cw==] [user1] [stask] 
<?xml version='1.0'?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
    <soap:Header>
        <context xmlns="urn:zimbra">
            <sessionId id='110'>110</sessionId>
            <refresh>
                <version>5.0.14_GA_2850.UBUNTU8 20090303190551 20090303-1910 FOSS</version>
                <mbx s='20956'/>
                <tags/>
                <folder n='0'
                        l='11'
                        name='USER_ROOT'
                        s='0'
                        id='1'
                        rev='1'>
                    <folder view='document'
                            n='0'
                            l='1'
                            name='Briefcase'
                            s='0'
                            id='16'
                            rev='1'/>
                    <folder view='appointment'
                            f='#'
                            n='0'
                            l='1'
                            name='Calendar'
                            s='0'
                            id='10'
                            rev='1'/>
                    <folder view='message'
                            n='0'
                            l='1'
                            name='Chats'
                            s='0'
                            id='14'
                            rev='1'/>
                    <folder view='contact'
                            n='4'
                            l='1'
                            name='Contacts'
                            s='6251'
                            id='7'
                            rev='1'/>
                    <folder view='message'
                            n='0'
                            l='1'
                            name='Drafts'
                            s='0'
                            id='6'
                            rev='1'/>
                    <folder view='contact'
                            n='0'
                            l='1'
                            name='Emailed Contacts'
                            s='0'
                            id='13'
                            rev='1'/>
                    <folder view='message'
                            n='0'
                            l='1'
                            name='Inbox'
                            s='0'
                            id='2'
                            rev='1'/>
                    <folder view='message'
                            n='0'
                            l='1'
                            name='Junk'
                            s='0'
                            id='4'
                            rev='1'/>
                    <folder view='wiki'
                            n='0'
                            l='1'
                            name='Notebook'
                            s='0'
                            id='12'
                            rev='1'/>
                    <folder view='message'
                            n='0'
                            l='1'
                            name='Sent'
                            s='0'
                            id='5'
                            rev='1'/>
                    <folder view='task'
                            f='#'
                            n='0'
                            l='1'
                            name='Tasks'
                            s='0'
                            id='15'
                            rev='1'/>
                    <folder n='9'
                            l='1'
                            name='Trash'
                            s='14705'
                            id='3'
                            rev='1'/>
                </folder>
            </refresh>
            <change token='57'/>
        </context>
    </soap:Header>
    <soap:Body>
        <AuthResponse xmlns="urn:zimbraAccount">
            <authToken>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</authToken>
            <lifetime>172799999</lifetime>
            <sessionId id='110'>110</sessionId>
            <skin>beach</skin>
        </AuthResponse>
    </soap:Body>
</soap:Envelope>
__________________
ZimbraFunambol Connector: http://sourceforge.net/projects/zimbrafunambol/
Reply With Quote
  #444 (permalink)  
Old 03-30-2009, 08:58 AM
Trained Alumni
 
Posts: 31
Default

Is the refresh tag provided by zimbra or the funambol server? Could it be related to using external authentication by a kerberos server instead of against zimbra itself?

Quote:
[2009-03-30 10:29:53,349] [funambol.zimbra.soap] [DEBUG] [BEB3FF43779A6C820D0416763E4B3D9F] [fbb-833116829] [jwain] [scal]
<?xml version='1.0'?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<context xmlns="urn:zimbra">
<sessionId id='12913'>12913</sessionId>
<change token='61331'/>
</context>
</soap:Header>
<soap:Body>
<BatchResponse xmlns="urn:zimbra">
<SyncResponse xmlns="urn:zimbraMail"
md='1238423393'
token='61331'>
<deleted ids='2,47300,47301,47302,47303'/>
</SyncResponse>
</BatchResponse>
</soap:Body>
</soap:Envelope>
Reply With Quote
  #445 (permalink)  
Old 03-31-2009, 10:35 AM
Project Contributor
 
Posts: 106
Default

Quote:
Originally Posted by UMDjwain View Post
Is the refresh tag provided by zimbra or the funambol server? Could it be related to using external authentication by a kerberos server instead of against zimbra itself?
Connector send authentication request, in response zimbra return refresh tag.
I send autentification to zimbra and zimbra return me all information.
__________________
ZimbraFunambol Connector: http://sourceforge.net/projects/zimbrafunambol/
Reply With Quote
  #446 (permalink)  
Old 03-31-2009, 01:10 PM
Starter Member
 
Posts: 1
Default Funambol/ZimbraConnector issues at 64 bit ubuntu

Hello,

Are there any known issues for Funambol/ZimbraConnector at at 64 a bit os?

For funambol at I had to install the java 64 bit jre/jdk/libhsqldb and did the path changes to get it working. After this funambol synced fine using the outlook sync client for it's own guest account.

However after configuring the ZimbraConnector, I cannot get funambol working for a zimbra mailaccount, see errors below

Here my data:

Ubuntu 8.04.2 LTS hardy 64 bit
Zimbra Release 5.0.13_GA_2791.UBUNTU8_64 UBUNTU8_64 FOSS edition
Funambol-7.1.1
ZimbraConnector_0.5.02.s4j

funambol outlook-client-log.txt

20:33:28 GMT +1:00 [ERROR] - Error in syncing: Server Failure: server returned error code 511

funambol ds-server.log

[2009-03-31 20:33:28,558] [funambol.engine] [ERROR] [95F754DC7E7ED85D0E1344A4770
BCF5B] [fol-REVMTDpLZXVrZW4=] [demo@zimbraserver.nl] [card] Unable to create syn
c source com.funambol.framework.server.Sync4jSource@2ac510e 3[uri=card,config=zim
bra/zimbra/contactSyncSource/card.xml,sourceTypeId=<null>,sourceName=<null>]: Er
ror in creating an instance of zimbra/zimbra/contactSyncSource/card.xml
com.funambol.framework.config.ConfigurationExcepti on: Error in creating an insta
nce of zimbra/zimbra/contactSyncSource/card.xml
at com.funambol.server.config.ConfigCache.getNewBeanI nstance(ConfigCache
.java:126)
etc..

Caused by: com.funambol.framework.config.ConfigurationExcepti on: Error in creati
ng an instance of connector/ZimbraConnector.xml
at com.funambol.server.config.ConfigCache.getNewBeanI nstance(ConfigCache
.java:126)
etc..

Caused by: com.funambol.framework.tools.beans.BeanNotFoundExc eption: Resource co
nnector/ZimbraConnector.xml not found with com.funambol.framework.config.ConfigC
lassLoader for: file:/opt/Funambol/config/
at com.funambol.framework.tools.beans.BeanFactory.get NoInitBeanInstance(
BeanFactory.java:107)
etc..

[2009-03-31 20:33:28,560] [funambol.handler] [ERROR] [95F754DC7E7ED85D0E1344A477
0BCF5B] [fol-REVMTDpLZXVrZW4=] [demo@zimbraserver.nl] [] Exception processing me
ssage
java.lang.NullPointerException
at com.funambol.server.engine.Sync4jStrategy.getConfl ictResolution(Sync4
jStrategy.java:790)
etc..
Reply With Quote
  #447 (permalink)  
Old 04-01-2009, 12:38 AM
Project Contributor
 
Posts: 106
Default

Quote:
Originally Posted by Ewout View Post
Hello,

Are there any known issues for Funambol/ZimbraConnector at at 64 a bit os?

For funambol at I had to install the java 64 bit jre/jdk/libhsqldb and did the path changes to get it working. After this funambol synced fine using the outlook sync client for it's own guest account.

However after configuring the ZimbraConnector, I cannot get funambol working for a zimbra mailaccount, see errors below

Here my data:

Ubuntu 8.04.2 LTS hardy 64 bit
Zimbra Release 5.0.13_GA_2791.UBUNTU8_64 UBUNTU8_64 FOSS edition
Funambol-7.1.1
ZimbraConnector_0.5.02.s4j

funambol outlook-client-log.txt

20:33:28 GMT +1:00 [ERROR] - Error in syncing: Server Failure: server returned error code 511

funambol ds-server.log

[2009-03-31 20:33:28,558] [funambol.engine] [ERROR] [95F754DC7E7ED85D0E1344A4770
BCF5B] [fol-REVMTDpLZXVrZW4=] [demo@zimbraserver.nl] [card] Unable to create syn
c source com.funambol.framework.server.Sync4jSource@2ac510e 3[uri=card,config=zim
bra/zimbra/contactSyncSource/card.xml,sourceTypeId=<null>,sourceName=<null>]: Er
ror in creating an instance of zimbra/zimbra/contactSyncSource/card.xml
com.funambol.framework.config.ConfigurationExcepti on: Error in creating an insta
nce of zimbra/zimbra/contactSyncSource/card.xml
at com.funambol.server.config.ConfigCache.getNewBeanI nstance(ConfigCache
.java:126)
etc..

Caused by: com.funambol.framework.config.ConfigurationExcepti on: Error in creati
ng an instance of connector/ZimbraConnector.xml
at com.funambol.server.config.ConfigCache.getNewBeanI nstance(ConfigCache
.java:126)
etc..

Caused by: com.funambol.framework.tools.beans.BeanNotFoundExc eption: Resource co
nnector/ZimbraConnector.xml not found with com.funambol.framework.config.ConfigC
lassLoader for: file:/opt/Funambol/config/
at com.funambol.framework.tools.beans.BeanFactory.get NoInitBeanInstance(
BeanFactory.java:107)
etc..

[2009-03-31 20:33:28,560] [funambol.handler] [ERROR] [95F754DC7E7ED85D0E1344A477
0BCF5B] [fol-REVMTDpLZXVrZW4=] [demo@zimbraserver.nl] [] Exception processing me
ssage
java.lang.NullPointerException
at com.funambol.server.engine.Sync4jStrategy.getConfl ictResolution(Sync4
jStrategy.java:790)
etc..
Please reade installation guide
__________________
ZimbraFunambol Connector: http://sourceforge.net/projects/zimbrafunambol/
Reply With Quote
  #448 (permalink)  
Old 04-04-2009, 10:56 AM
Intermediate Member
 
Posts: 16
Default

Quote:
Originally Posted by wolfroma View Post
Quote:
Originally Posted by s0undt3ch View Post
This is to reply to wolfoma about the request from t.goetten
A way to only sync contacts which have a phone number would be great.

Contacts on the phone which we only have an email address is not that usefull.
As I undestand +1 to request t.goetten... Settings for folders will be more usefult than settings about Contacts which have phone number (It's more clear than chage normal logic of work).
Is it possible to setup synchronized folders in this way.

- If a Folder have equal name Phone<->Zimbra then synchronize.
- An option for synchronize root folder or not.

In this way it is a simple thing to setup which folder to synchronize.
Just create a folder on the Phone and on Zimbra with same name
and they will be zynchronized. All other folders will not be synchronized.

- Can it be configured with current release.
- If not, is it doable, or is it a big thing.

/Simon
Reply With Quote
  #449 (permalink)  
Old 04-06-2009, 05:08 PM
Active Member
 
Posts: 29
Default

I would love to see selectable folders. I just got everything working and when I did my first sync, it pulled EVERYTHING. I had 100+ emailed contacts and they all got pulled down to my iPhone. Doesn't seem to matter how I setup folders in Zimbra, they all end up in Contacts.

I have tried the SyncML client, which has it's own calendar which works very well, BTW. But contacts acted the same. Everything gets pulled down.

Selectable folders? Or is there another way to exclude folders now?
Reply With Quote
  #450 (permalink)  
Old 04-07-2009, 02:20 AM
Intermediate Member
 
Posts: 16
Default

What I can see there is no way of selecting folders.
I was keen on geting selectable folders to work but I dropped it.

Filtering the folders in Zimbra seems to be doable when
looking at the source code for the Funambol Zimbra connector.

But selecting folders on the other side (phone) seems to be more complicated, I think.

Apparently it has been on the agenda... look here
https://core.forge.funambol.org/ds/v...essageId=38730
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0