Funambol connector after upgrade
I am running funambol 8.7 with sogo 1.34. (Centos 5.4)
I am running funambol 8.7 with sogo 1.34. (Centos 5.4)
Hi, on my Nokia (E52), the internal client sometimes loses connection during sync if the number of items to send/receive is large. Sometimes (perhaps 1 out of 5 trials) it is working, more often however sync stops with "System error". As a work-around, I installed the funambol syncml client for Nokia, which is working perfectly for me, and even allows for scheduled sync. With sogo, however, some issues with event reminders still occur (knows bugs). Regards Heiner Am Mittwoch, 5. Januar 2011 21:34:18 schrieb Brian Lockwood: > I am running funambol 8.7 with sogo 1.34. (Centos 5.4) > > When I do a synchronise, the client logs in successfully (syncml client > Nokia e64) and the contact clunks up to 320 out of 450 > The client says "sending Contacts" and then the connection fails with the > message "System error" > > If I try just doing the "todo" list, it clunks up to 87 out of 87 and then > the same error. > > > I am out of ideas. > > The log (sogo.log) records the log in > > I have previously had funambol working. > > Brian
Following on from yesterday I made some progress. One problem lay with my firewall redirections. These tests are from inside the network.
By testing with the outlook 2003 client I have now reduced the problem to the following in the log for the client. The key point being the error code 511. I left my mob at home today so will try with my Nokia client again this evening. (GMT)
<Lots of pretty positive messages with words like success in it>
15:45:08 GMT +0:00 [ERROR] - Server Failure: server returned error code 511
15:45:08 GMT +0:00 [DEBUG] - ---------------------- END (mode "none") ----------------------
15:45:08 GMT +0:00 [DEBUG] - Error occurred in sync: code 3 = Server Failure: server returned error code 511
15:45:08 GMT +0:00 [ERROR] - Error in syncing: Server Failure: server returned error code 511
15:45:08 GMT +0:00 [INFO] -
============================================================
================ SYNCHRONIZATION REPORT ================
============================================================
SYNCHRONIZATION COMPLETED WITH ERRORS
-------------------------------------
Last error message = "Server Failure: server returned error code 511"
Last error code = 511
Contacts:
---------
Sync completed successfully!
Sync type: slow (requested by Server)
| on Client | on Server
--------|-----------|----------
New | 0/ 0 | 0/ 0
Updated | 0/ 0 | 0/ 0
Deleted | 0/ 0 | 0/ 0
15:45:08 GMT +0:00 [DEBUG] - Saving configuration to winRegistry
15:45:08 GMT +0:00 [DEBUG] - Writing configuration settings to the management tree
15:45:08 GMT +0:00 [DEBUG] - Closing Outlook...
15:45:08 GMT +0:00 [DEBUG] - Deleting ClientApplication instance
15:45:08 GMT +0:00 [DEBUG] - Detaching IMAPIUtils object...
15:45:08 GMT +0:00 [INFO] - Outlook session closed successfully.
15:45:08 GMT +0:00 [DEBUG] - Releasing sync-mutex...
15:45:08 GMT +0:00 [DEBUG] - Sync-mutex released - closing handle.
15:45:08 GMT +0:00 [DEBUG] - Delete SyncSources...
15:45:08 GMT +0:00 [INFO] - Syncronization process completed with errors (code = 511).
15:45:08 GMT +0:00 [DEBUG] - Current time is: 1294328708
15:45:08 GMT +0:00 [DEBUG] - Next check time is: 86400
15:45:08 GMT +0:00 [INFO] - Check on server location for update
15:45:08 GMT +0:00 [DEBUG] - Update url: http://172.16.33.20:8080/sapi/profile/client?action=get-update-info&component=outlook&version=8.7.2&format=properties
15:45:08 GMT +0:00 [DEBUG] - Send message:
15:45:08 GMT +0:00 [DEBUG] - Connecting to 172.16.33.20:8080
15:45:08 GMT +0:00 [DEBUG] - Requesting resource /sapi/profile/client?action=get-update-info&component=outlook&version=8.7.2&format=properties
15:45:08 GMT +0:00 [DEBUG] - Request header:
Hi,
on my Nokia (E52), the internal client sometimes loses connection during sync
if the number of items to send/receive is large. Sometimes (perhaps 1 out of
5 trials) it is working, more often however sync stops with "System error".
As a work-around, I installed the funambol syncml client for Nokia, which is
working perfectly for me, and even allows for scheduled sync.
With sogo, however, some issues with event reminders still occur (knows bugs).
Regards
Heiner
Am Mittwoch, 5. Januar 2011 21:34:18 schrieb Brian Lockwood:--> I am running funambol 8.7 with sogo 1.34. (Centos 5.4)
>
> When I do a synchronise, the client logs in successfully (syncml client
> Nokia e64) and the contact clunks up to 320 out of 450
> The client says "sending Contacts" and then the connection fails with the
> message "System error"
>
> If I try just doing the "todo" list, it clunks up to 87 out of 87 and then
> the same error.
>
>
> I am out of ideas.
>
> The log (sogo.log) records the log in
>
> I have previously had funambol working.
>
> Brian
OpenGroupware.org SOGo
sogo-7882/jkIBneb7NEy/Hq5q9i2O/JbrIOy@public.gmane.org
http://mail.opengroupware.org/mailman/listinfo/sogo
Even more information
The ds-server log carries this from the login attempt from my Nokia. Some edits marked by <.............>.
[2011-01-06 18:20:29,597] [funambol.engine.pipeline] [INFO] [4<......>9] [<proxy ip address>] [IMEI:3<....>207] [brianlockwood] [] Output processing stopped by com.funambol.foundation.synclet.BeanShellSynclet <at> 1d1b44b[script=com/funambol/server/engine/pipeline/phones-support/bsh/NokiaS60out.bsh,header=user-agent,pattern=Nokia SyncML HTTP Client|S60 SyncML HTTP Client] (reason: NokiaS60out Synclet finished)
Following on from yesterday I made some progress. One problem lay with my firewall redirections. These tests are from inside the network.
By testing with the outlook 2003 client I have now reduced the problem to the following in the log for the client. The key point being the error code 511. I left my mob at home today so will try with my Nokia client again this evening. (GMT)
<Lots of pretty positive messages with words like success in it>
15:45:08 GMT +0:00 [ERROR] - Server Failure: server returned error code 511
15:45:08 GMT +0:00 [DEBUG] - ---------------------- END (mode "none") ----------------------
15:45:08 GMT +0:00 [DEBUG] - Error occurred in sync: code 3 = Server Failure: server returned error code 511
15:45:08 GMT +0:00 [ERROR] - Error in syncing: Server Failure: server returned error code 511
15:45:08 GMT +0:00 [INFO] -
============================================================
================ SYNCHRONIZATION REPORT ================
============================================================
SYNCHRONIZATION COMPLETED WITH ERRORS
-------------------------------------
Last error message = "Server Failure: server returned error code 511"
Last error code = 511
Contacts:
---------
Sync completed successfully!
Sync type: slow (requested by Server)
| on Client | on Server
--------|-----------|----------
New | 0/ 0 | 0/ 0
Updated | 0/ 0 | 0/ 0
Deleted | 0/ 0 | 0/ 0
15:45:08 GMT +0:00 [DEBUG] - Saving configuration to winRegistry
15:45:08 GMT +0:00 [DEBUG] - Writing configuration settings to the management tree
15:45:08 GMT +0:00 [DEBUG] - Closing Outlook...
15:45:08 GMT +0:00 [DEBUG] - Deleting ClientApplication instance
15:45:08 GMT +0:00 [DEBUG] - Detaching IMAPIUtils object...
15:45:08 GMT +0:00 [INFO] - Outlook session closed successfully.
15:45:08 GMT +0:00 [DEBUG] - Releasing sync-mutex...
15:45:08 GMT +0:00 [DEBUG] - Sync-mutex released - closing handle.
15:45:08 GMT +0:00 [DEBUG] - Delete SyncSources...
15:45:08 GMT +0:00 [INFO] - Syncronization process completed with errors (code = 511).
15:45:08 GMT +0:00 [DEBUG] - Current time is: 1294328708
15:45:08 GMT +0:00 [DEBUG] - Next check time is: 86400
15:45:08 GMT +0:00 [INFO] - Check on server location for update
15:45:08 GMT +0:00 [DEBUG] - Update url: http://172.16.33.20:8080/sapi/profile/client?action=get-update-info&component=outlook&version=8.7.2&format=properties
15:45:08 GMT +0:00 [DEBUG] - Send message:
15:45:08 GMT +0:00 [DEBUG] - Connecting to 172.16.33.20:8080
15:45:08 GMT +0:00 [DEBUG] - Requesting resource /sapi/profile/client?action=get-update-info&component=outlook&version=8.7.2&format=properties
15:45:08 GMT +0:00 [DEBUG] - Request header:On 6 January 2011 08:34, Heiner Markert <mephisto-hi6Y0CQ0nG0@public.gmane.org> wrote:Hi,
on my Nokia (E52), the internal client sometimes loses connection during sync
if the number of items to send/receive is large. Sometimes (perhaps 1 out of
5 trials) it is working, more often however sync stops with "System error".
As a work-around, I installed the funambol syncml client for Nokia, which is
working perfectly for me, and even allows for scheduled sync.
With sogo, however, some issues with event reminders still occur (knows bugs).
Regards
Heiner
Am Mittwoch, 5. Januar 2011 21:34:18 schrieb Brian Lockwood:--> I am running funambol 8.7 with sogo 1.34. (Centos 5.4)
>
> When I do a synchronise, the client logs in successfully (syncml client
> Nokia e64) and the contact clunks up to 320 out of 450
> The client says "sending Contacts" and then the connection fails with the
> message "System error"
>
> If I try just doing the "todo" list, it clunks up to 87 out of 87 and then
> the same error.
>
>
> I am out of ideas.
>
> The log (sogo.log) records the log in
>
> I have previously had funambol working.
>
> Brian
OpenGroupware.org SOGo
sogo <at> opengroupware.org
http://mail.opengroupware.org/mailman/listinfo/sogo
In the pursuit of this "ever so nearly working" synchronisation, I dragged out a Palm and tried synchronising that.
The Funambol connector on the Palm just says "synchronisation failed"
In the logs (/..../ds-server.log) I have
[2011-01-07 10:17:55,880] [funambol.transport.http] [INFO] [50322F119240B9960F8671D66BE29727] [172.16.36.65] [] [] [] Requested sessionId: 461C7BA1C321D2A3B4A538EFAAC2FDD8
[2011-01-07 10:17:55,880] [funambol.transport.http] [INFO] [50322F119240B9960F8671D66BE29727] [172.16.36.65] [] [] [] Session '461C7BA1C321D2A3B4A538EFAAC2FDD8' not found
Any suggestions?
Solved.
For the benefit of others I included this solution
Further examination of the ds-server log revealed the string below.
This indicated an issue with the Jsonsimple.jar
The problem stemmed from having the incorrect or possibly broken
/opt/funambol/tools/tomcat/lib/json_simple.jar
The one I have now has a size of 14435, the previous one was smaller. I probably just downloaded the wrong one.
java.lang.NoClassDefFoundError: org/json/simple/JSONObject
at ca.inverse.sogo.engine.source.SOGoSyncSource.beginSync(SOGoSyncSource.java:190)
at com.funambol.server.engine.Sync4jEngine.sync(Sync4jEngine.java:610)
at com.funambol.server.session.SyncSessionHandler.processModifications(SyncSessionHandler.java:1655)
at com.funambol.server.session.SyncSessionHandler.processSyncMessage(SyncSessionHandler.java:1499)
at com.funambol.server.session.SyncSessionHandler.processInitSyncMapMessage(SyncSessionHandler.java:960)
at com.funambol.server.session.SyncSessionHandler.processMessage(SyncSessionHandler.java:527)
at com.funambol.server.engine.SyncAdapter.processInputMessage(SyncAdapter.java:533)
at com.funambol.server.engine.SyncAdapter.processWBXMLMessage(SyncAdapter.java:369)
at com.funambol.transport.http.server.LocalSyncHolder.processWBXMLMessage(LocalSyncHolder.java:118)
at com.funambol.transport.http.server.Sync4jServlet.doPost(Sync4jServlet.java:398)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.funambol.transport.http.server.LogContextFilter.doFilter(LogContextFilter.java:137)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
In the pursuit of this "ever so nearly working" synchronisation, I dragged out a Palm and tried synchronising that.
The Funambol connector on the Palm just says "synchronisation failed"
In the logs (/..../ds-server.log) I have
[2011-01-07 10:17:55,880] [funambol.transport.http] [INFO] [50322F119240B9960F8671D66BE29727] [172.16.36.65] [] [] [] Requested sessionId: 461C7BA1C321D2A3B4A538EFAAC2FDD8
[2011-01-07 10:17:55,880] [funambol.transport.http] [INFO] [50322F119240B9960F8671D66BE29727] [172.16.36.65] [] [] [] Session '461C7BA1C321D2A3B4A538EFAAC2FDD8' not found
Any suggestions?
RSS Feed