logo       

Allocate exception for servlet SyncServerServlet: msg#00164

java.sync4j.user

Subject: Allocate exception for servlet SyncServerServlet

Hello all,

I hope someone can help me out here. I'm getting the following error when
attempting to run http://[website]/funambol/ds from a web browser:

Fatal error creating the PersistentStore bject
com.funambol.transport.http.server.Sync4jServlet
.bootstrap(Sync4jServlet.java:619)
com.funambol.transport.http.server.Sync4jServlet.init(Sync4jServlet.java:153)
javax.servlet.GenericServlet.init(GenericServlet.java:211)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler
.processConnection(Http11Protocol.java:705)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable
.run(ThreadPool.java:684)
java.lang.Thread.run(Unknown Source)

In the Tomcat 5.0 logs, I have the following error message:

StandardWrapperValve[SyncServerServlet]:
Allocate exception for servlet SyncServerServlet
[the rest of the error as seen above]

I have even tried reinstalling only to get to the same place again.

I thought it was a problem with my database parameters, but when I have
installed Funambol again, it has added the tables/data to our SQL Server 2000
database, so it doesn't seem like that should be a problem.

My installations steps:

1. Download Funambol linux package
2. Extract and run package install
3. Installed to /usr/local/Funambol
4. Tested. Works OK (with Hypersonic DB).
5. Changed install.properties to use our SQL Server settings:

jdbc.classpath=/usr/local/Funambol/tools/jre-1.5.0/jre/lib/mssqlserver.jar
;/usr/local/Funambol/tools/jre-1.5.0/jre/lib/msbase.jar
;/usr/local/Funambol/tools/jre-1.5.0/jre/lib/msutil.jar
jdbc.driver=com.microsoft.jdbc.sqlserver.SQLServerDriver
jdbc.url=jdbc:microsoft:sqlserver://[servername]:1433;DatabaseName=Funambol
;SelectMethod=Cursor
jdbc.user=funambol
jdbc.password=funambol

6. Update Tomcat catalina.sh file to include the following:

export JAVA_HOME=/usr/local/Funambol/tools/jre-1.5.0/jre
export J2EE_HOME=/usr/local/Funambol/tools/tomcat
export FUNAMBOL_HOME=/usr/local/Funambol/ds-server
CATALINA_OPTS="-Dfunambol.ds.home=$FUNAMBOL_HOME -Dfile.encoding=UTF-8
-Djava.awt.headless=true -Xmx128M -server"

7. Loaded SQL JAR files to /usr/local/Funambol/tools/jre-1.5.0/jre/lib including
mssqlserver.jar, msutil.jar, and msbase.jar.

8. Loaded updated JAR files to /usr/local/Funambol/ds-server/default/lib
including new version of axis.jar, saaj.jar, and wsdl4j-1.6.2.jar

9. Loaded custom module to /usr/local/Funambol/ds-server/modules

10. Ran sh bin/install.sh tomcat50 from /usr/local/ds-server

11. Installed custom Officer object

12. Add new custom module SyncSource


Any ideas? The developer I was working with told me to use the "updated" axis,
saaj, and wsdl JAR files because that's what worked on his machine, but would
they affect this??? All tips are welcome.

Thanks,

Matt



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise