[GroupDAV] Attempt to get groupDav connector working with Citadel

Corey Schuhen groupdav@opengroupware.org
Tue, 19 Jun 2007 19:25:34 +1000


--Boundary-00=_OE6dG1PpDxbY4hg
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline



Hi all,

I am trying to sync together Kontact with my Windows Mobile 5 device (a JasJam 
on the Telstra network).

I have installed Citadel and seem to have kontact using it for an address and 
calendar.

I have tried to install the funambol server along with the groupDav connector 
to try and get it functioning, so far without success. I have been basically 
following the guide mentioned at:

http://docs.opengroupware.org/Members/whitemice/applications/syncml/funambol-setup/document_view

I seem to have gotten myself through the install bit, but I started noticing 
differences when getting through the configuration.

1) My version says 6.0.6 instead of 5.0.10, I guess this is something that 
needs updating in the guide.

2) After double click of "FunambolEmailConnector", I don't get the mentioned 
fields, I assume I am then supposed to click "Add" in the "Public Mail 
Servers" section. There are then more fields than the guide mentions. I 
filled it in as per my mail server anyway.

3) After I double click on "Email Imap SyncSource", the guide asks for some 
fields to be filled in, I don't have an Outgoing or Incoming Server here.

4) I filled in the the BionicMessageGroupDAVConnector bits using a combination 
of what is in the guide and at: 
http://comalies.citadel.org/~matt/funambol/RTFM.txt

None of this seemed too worrying.

I next tried to do something with it, I tried first to log into the web 
client. I made the guess that switching the Officer over to EmailOfficer 
means that Funambol will try to use the IMAP server as an auth server? So I 
tried to log in with my citadel credentials. It failed! So I tried creating a 
user in Funambol and I still could not log into the web client....

So I went on to investigate and found some nastyness in the log files....

I'm not really a java programmer nor am I familiar with the funambol code so 
68 lines of execution dump seems a bit much like a needle in a haystack. It 
seems to be something to do with the postgres driver. I am running postgres 
8.2 on the same machine, the install script seemed to be able to use it okay. 
I also did not delete the database in between attempts to install Funambol.

Also I used the exact files that are referenced in the guide, even though 
there seems to be an 1838 build.

Can anybody give some ideas on what is causing the error logging in?

Thanks,

Corey

--Boundary-00=_OE6dG1PpDxbY4hg
Content-Type: text/plain;
  charset="us-ascii";
  name="log.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="log.txt"

[2007-06-19 18:47:21,598] [funambol.configuration] [FATAL] [] [] [] [] Error creating the UserManager object
com.funambol.framework.config.ConfigurationException: Error in creating an instance of com/funambol/server/admin/DBUserManager.xml
        at com.funambol.server.config.ConfigCache.getNewBeanInstance(ConfigCache.java:107)
        at com.funambol.server.config.ConfigTools.getNewBeanInstance(ConfigTools.java:55)
        at com.funambol.server.config.Configuration.getUserManager(Configuration.java:356)
        at LoginFilter.doFilter(LoginFilter.java:139)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at RequestEncodingFilter.doFilter(RequestEncodingFilter.java:55)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Unknown Source)
Caused by: com.funambol.framework.tools.beans.BeanException: com.funambol.framework.server.store.PersistentStoreException: Error getting connection
        at com.funambol.framework.tools.beans.BeanFactory.unmarshal(BeanFactory.java:449)
        at com.funambol.framework.tools.beans.BeanFactory.getBeanInstanceFromConfig(BeanFactory.java:247)
        at com.funambol.server.config.ConfigCache.getNewBeanInstance(ConfigCache.java:105)
        ... 20 more
Caused by: com.funambol.framework.server.store.PersistentStoreException: Error getting connection
        at com.funambol.server.admin.DBUserManager.setJndiDataSourceName(DBUserManager.java:114)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at sun.reflect.misc.Trampoline.invoke(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at sun.reflect.misc.MethodUtil.invoke(Unknown Source)
        at java.beans.Statement.invoke(Unknown Source)
        at java.beans.Expression.getValue(Unknown Source)
        at com.sun.beans.MutableExpression.getValue(Unknown Source)
        at com.sun.beans.ObjectHandler.getValue(Unknown Source)
        at com.sun.beans.ObjectHandler.endElement(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(Unknown Source)
        at java.beans.XMLDecoder.readObject(Unknown Source)
        at com.funambol.framework.tools.beans.BeanFactory.unmarshal(BeanFactory.java:444)
        ... 22 more
Caused by: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
        at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:780)
        at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
        at com.funambol.server.admin.DBUserManager.setJndiDataSourceName(DBUserManager.java:109)
        ... 48 more
Caused by: java.lang.NullPointerException
        at org.postgresql.Driver.parseURL(Driver.java:408)
        at org.postgresql.Driver.acceptsURL(Driver.java:268)
        at java.sql.DriverManager.getDriver(Unknown Source)
        at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:773)
        ... 50 more


--Boundary-00=_OE6dG1PpDxbY4hg--