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
  #461 (permalink)  
Old 07-28-2009, 09:58 AM
Member
 
Posts: 12
Default

xander, you may want to post here as well: SourceForge.net: Funambol Zimbra Connector:

It seems that the original developer isn't around anymore so anyone with a bit of java knowledge to debug this would be welcome!
Reply With Quote
  #462 (permalink)  
Old 08-03-2009, 07:02 AM
Active Member
 
Posts: 42
Default

Quote:
Originally Posted by jens View Post
Hi,

I'm getting these with:

Zimbra 6.0 b2
Funambol 7.1.0
ZimbraFunambol Connector/0.5.02
Funambol Outlook Sync Client 7.2.1

Code:
==> logs/ds-server/ds-server.log <==
[2009-07-04 03:57:09,815] [funambol.transport.http] [INFO] [6F8800B0F1F86FDB5AB5A145043507E2] [] [] [] Handling incoming request
[2009-07-04 03:57:09,815] [funambol.transport.http] [INFO] [6F8800B0F1F86FDB5AB5A145043507E2] [] [] [] Request URL: http://mail.xxx.net:8080/funambol/ds/
[2009-07-04 03:57:09,815] [funambol.transport.http] [INFO] [6F8800B0F1F86FDB5AB5A145043507E2] [] [] [] Requested sessionId: null
[2009-07-04 03:57:10,945] [funambol.handler] [ERROR] [6F8800B0F1F86FDB5AB5A145043507E2] [fol-TE9OREVSTEE6amVucw==] [] [] Exception processing message
java.lang.NullPointerException
 at ru.korusconsulting.connector.base.SoapHelper.getRootFolder(SoapHelper.java:61)
 at ru.korusconsulting.connector.base.ZimbraPort.requestAutorization(ZimbraPort.java:146)
 at ru.korusconsulting.connector.funambol.ZimbraOfficer.authenticateUser(ZimbraOfficer.java:53)
 at com.funambol.server.engine.Sync4jEngine.login(Sync4jEngine.java:1541)
 at com.funambol.server.session.SyncSessionHandler.login(SyncSessionHandler.java:2197)
 at com.funambol.server.session.SyncSessionHandler.processMessage(SyncSessionHandler.java:453)
 at com.funambol.server.engine.SyncAdapter.processInputMessage(SyncAdapter.java:533)
 at com.funambol.server.engine.SyncAdapter.processXMLMessage(SyncAdapter.java:254)
 at com.funambol.transport.http.server.LocalSyncHolder.processXMLMessage(LocalSyncHolder.java:97)
 at com.funambol.transport.http.server.Sync4jServlet.doPost(Sync4jServlet.java:399)
 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:115)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
 at java.lang.Thread.run(Thread.java:595)
[2009-07-04 03:57:11,025] [funambol.transport.http] [INFO] [6F8800B0F1F86FDB5AB5A145043507E2] [fol-TE9OREVSTEE6amVucw==] [] [] Request processed.
[2009-07-04 03:57:11,026] [funambol.transport.http] [INFO] [6F8800B0F1F86FDB5AB5A145043507E2] [] [] [] Closing session 6F8800B0F1F86FDB5AB5A145043507E2
[2009-07-04 03:57:11,026] [funambol.engine] [INFO] [6F8800B0F1F86FDB5AB5A145043507E2] [] [] [] null: synchronization completed
Any ideas?
Same problem with Zimbra 6 RC1 + Funambol 7.1.0 or Funambol 8.0 beta + whatever client version used. Also posted this information on the sourceforge page of the connector project, but if anyone here as an idea, I think it would be welcome
Reply With Quote
  #463 (permalink)  
Old 08-06-2009, 02:50 AM
Junior Member
 
Posts: 5
Default Quick fix

I'm just going to add the same patch here as I've added to the bugtracker of the sourceforge project. This isn't a complete fix, I just work around the underlying problem, but it works...

This is a patch to make the connector work with zimbra 6.x

Code:
*** ru.korusconsulting/src/java/ru/korusconsulting/connector/base/ConnectionContext.java        2008-03-21 12:15:28.000000000 +0000
--- ru.korusconsulting-new/src/java/ru/korusconsulting/connector/base/ConnectionContext.java    2009-08-03 22:53:18.000000000 +0000
***************
*** 107,112 ****
--- 107,114 ----
              }
              context.add(userAgent);
          }
+         Element session = documentFactory.createElement("session", context.getNamespaceURI());
+         context.add(session);
          return context;
      }

Last edited by twouters : 08-06-2009 at 02:55 AM.
Reply With Quote
  #464 (permalink)  
Old 08-06-2009, 03:08 AM
Active Member
 
Posts: 42
Default

hello,

i've tried to compile the s4j with this fix, but im unable to do that.

can you post your compiled ZimbraConnector?

thx
Reply With Quote
  #465 (permalink)  
Old 08-06-2009, 03:42 AM
Junior Member
 
Posts: 5
Default

I've added it to this post.
Attached Files
File Type: zip ZimbraConnector_0.5.02-zimbra-6.zip (673.5 KB, 37 views)
Reply With Quote
  #466 (permalink)  
Old 08-06-2009, 07:30 AM
Active Member
 
Posts: 42
Default

thx.

I've tested it, and now i get no exeption but it doesn't work. It seems like a problem with the session id. Any idea?

[2009-08-06 16:53:25,587] [funambol.transport.http] [INFO] [B88638043B0FFF1C1170B39B15D6719A] [] [] [] Handling incoming request
[2009-08-06 16:53:25,587] [funambol.transport.http] [INFO] [B88638043B0FFF1C1170B39B15D6719A] [] [] [] Request URL: http://xxx.xxxx.xx/funambol/ds//
[2009-08-06 16:53:25,587] [funambol.transport.http] [INFO] [B88638043B0FFF1C1170B39B15D6719A] [] [] [] Requested sessionId: null
[2009-08-06 16:53:25,771] [funambol.transport.http] [INFO] [B88638043B0FFF1C1170B39B15D6719A] [IMEI:xxxxxxxxxx] [] [] Request processed.

Im using Funambol 7.1.0

Last edited by xander2k : 08-06-2009 at 07:36 AM.
Reply With Quote
  #467 (permalink)  
Old 08-06-2009, 08:15 AM
Junior Member
 
Posts: 5
Default

Have you setup the zimbraconnector en the cal/task/card resources correctly with the funambol admin tool?
see: http://wiki.zimbra.com/index.php?tit...ynchronization
Reply With Quote
  #468 (permalink)  
Old 08-06-2009, 09:25 AM
Active Member
 
Posts: 42
Default

Yes,

i used it very often before Zimbra 6,
but i made a new install of funambol with the new module today too.

It seems to be a Problem with the connector, the session id will not returned because you can see in the log it is "null"
Reply With Quote
  #469 (permalink)  
Old 08-12-2009, 04:52 AM
Active Member
 
Posts: 42
Default

It doesn't work with Zimbra 6 RC1 now, has someone a solution for the ZimbraConnector or hast it running ?
Reply With Quote
  #470 (permalink)  
Old 08-12-2009, 05:53 AM
Active Member
 
Posts: 42
Default

Also tried to install the new Connector, another error message in the log file :

Code:
[2009-08-12 13:49:58,946] [funambol.transport.http] [INFO] [22F4A1CD6971956871B7A69A44585C7D] [fwm-smartphone-client] [jg] [] Requested sessionId: 22F4A1CD6971956871B7A69A44585C7D
[2009-08-12 13:49:58,953] [funambol.engine] [INFO] [22F4A1CD6971956871B7A69A44585C7D] [fwm-smartphone-client] [jg] [] Starting synchronization ...
[2009-08-12 13:49:58,974] [funambol.handler] [ERROR] [22F4A1CD6971956871B7A69A44585C7D] [fwm-smartphone-client] [jg] [] Exception processing message
java.lang.NullPointerException
        at ru.korusconsulting.connector.base.ZimbraPort.requestAutorization(ZimbraPort.java:156)
        at ru.korusconsulting.connector.funambol.ZimbraSyncSource.commonSync(ZimbraSyncSource.java:121)
        at ru.korusconsulting.connector.funambol.ZimbraSyncSource.beginSync(ZimbraSyncSource.java:102)
        at ru.korusconsulting.connector.funambol.ContactSyncSource.beginSync(ContactSyncSource.java:40)
        at com.funambol.server.engine.Sync4jEngine.sync(Sync4jEngine.java:602)
        at com.funambol.server.session.SyncSessionHandler.processModifications(SyncSessionHandler.java:1674)
        at com.funambol.server.session.SyncSessionHandler.processSyncMessage(SyncSessionHandler.java:1527)
        at com.funambol.server.session.SyncSessionHandler.processInitSyncMapMessage(SyncSessionHandler.java:984)
        at com.funambol.server.session.SyncSessionHandler.processMessage(SyncSessionHandler.java:517)
        at com.funambol.server.engine.SyncAdapter.processInputMessage(SyncAdapter.java:533)
        at com.funambol.server.engine.SyncAdapter.processXMLMessage(SyncAdapter.java:254)
        at com.funambol.transport.http.server.LocalSyncHolder.processXMLMessage(LocalSyncHolder.java:97)
        at com.funambol.transport.http.server.Sync4jServlet.doPost(Sync4jServlet.java:399)
        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:115)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Unknown Source)
Any idea ?
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