[GroupDAV] Trying groupdav with Nokia 6230 and OpenGroupware

Ole Dalgaard groupdav@opengroupware.org
Thu, 03 Aug 2006 22:43:39 +0200


Hi again

I have made a small patch for the CHARSET problem, don't know if it is 
an appropriate solution, but it did bring me a little further.

*** GroupDAVConnector.java.ORG  2006-08-03 08:09:26.783694000 +0200
--- GroupDAVConnector.java      2006-08-03 07:50:59.174472750 +0200
*************** public class GroupDAVConnector
*** 507,513 ****
                       * that stuff */
                      if (line.contains("PRODID") || line.contains("TZ")
                      || line.contains("DAYLIGHT") || 
line.contains("ATTENDEE;")
!                     || line.contains("DCREATED")) {
                          contribute = false;
                      }
                      if (contribute)
--- 507,513 ----
                       * that stuff */
                      if (line.contains("PRODID") || line.contains("TZ")
                      || line.contains("DAYLIGHT") || 
line.contains("ATTENDEE;")
!                     || line.contains("DCREATED") || 
line.contains("CHARSET")) {
                          contribute = false;
                      }
                      if (contribute)


Now I get this exception:

INFO: GroupDAV Exception:itemOnServer=null
Aug 3, 2006 8:05:08 AM net.bionicmessage.funambol.GroupDAVConnector 
handleException
FINEST: GroupDAV Exception 
trace:com.funambol.framework.engine.source.SyncSourceException: 
itemOnServer=null
        at 
net.bionicmessage.funambol.GroupDAVConnector.mergeSyncItems(GroupDAVConnector.java:603)
        at 
net.bionicmessage.funambol.GroupDAVConnector.addSyncItem(GroupDAVConnector.java:463)
        at 
com.funambol.server.engine.Sync4jStrategy.execNewOperation(Sync4jStrategy.java:2372)
        at 
com.funambol.server.engine.Sync4jStrategy.execSyncOperation(Sync4jStrategy.java:1154)
        at 
com.funambol.server.engine.Sync4jStrategy.sync(Sync4jStrategy.java:710)
        at 
com.funambol.server.engine.Sync4jEngine.sync(Sync4jEngine.java:548)
        at 
com.funambol.server.session.SyncSessionHandler.processModifications(SyncSessionHandler.java:1593)
        at 
com.funambol.server.session.SyncSessionHandler.processSyncMessage(SyncSessionHandler.java:1429)
        at 
com.funambol.server.session.SyncSessionHandler.processInitSyncMapMessage(SyncSessionHandler.java:870)
        at 
com.funambol.server.session.SyncSessionHandler.processMessage(SyncSessionHandler.java:457)
        at 
com.funambol.server.engine.SyncAdapter.processInputMessage(SyncAdapter.java:457)
        at 
com.funambol.server.engine.SyncAdapter.processWBXMLMessage(SyncAdapter.java:306)
        at 
com.funambol.transport.http.server.LocalSyncHolder.processWBXMLMessage(LocalSyncHolder.java:103)
        at 
com.funambol.transport.http.server.Sync4jServlet.doPost(Sync4jServlet.java:276)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

it seems that the calendar item is not on the server, but why does that 
give an exception? Please help!

BR
Ole Dalgaard

Ole Dalgaard wrote:
> Hi
>
> I have been trying the groupdav connector in between my Nokia 6230 
> phone and an opengroupware server. I just got it try syncing. On the 
> way to get there I found these issues:
> - the mysql init_schema.sql is bad - it is a copy of the dummy module. 
> I have attached a working schema for mysql (the postgres schema has 
> the same problem)
> - It seems that jdk 1.5 is required, please state it on the website 
> or/and in the documentation.
>
>
> Below is a snip from catalina.out from the failing sync
>
> BR
> Ole Dalgaard
>