Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.


#10 mysql plugin does not even try to connect

Next Release
Marco Moscardini

could this be a bug or a feature requets... do let me know.

there we go, I know you all like it ;-) logs

form connection params { port=3306, passwd="apache", dbtype="mysql", host="localhost", validate connections=true, max connections=10, user="apache", database="geoserver", min connections=4}
78094 [WARNING] - Could not acquire MySQL Database:java.lang.NoClassDefFoundError: org/geotools/data/jdbc/datasource/DataSourceUtil
java.lang.NoClassDefFoundError: org/geotools/data/jdbc/datasource/DataSourceUtil
at org.vfny.geoserver.util.DataStoreUtils.acquireDataStore(
at org.vfny.geoserver.action.ConfigAction.execute(
at org.apache.struts.action.RequestProcessor.processActionPerform(
at org.apache.struts.action.RequestProcessor.process(
at org.apache.struts.action.ActionServlet.process(
at org.apache.struts.action.ActionServlet.doPost(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.mortbay.jetty.servlet.ServletHolder.handle(
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
at org.mortbay.jetty.servlet.ServletHandler.handle(
at org.mortbay.jetty.servlet.SessionHandler.handle(
at org.mortbay.jetty.handler.ContextHandler.handle(
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(
at org.mortbay.jetty.handler.HandlerCollection.handle(
at org.mortbay.jetty.handler.HandlerWrapper.handle(
at org.mortbay.jetty.Server.handle(
at org.mortbay.jetty.HttpConnection.handleRequest(
at org.mortbay.jetty.HttpConnection$RequestHandler.content(
at org.mortbay.jetty.HttpParser.parseNext(
at org.mortbay.jetty.HttpParser.parseAvailable(
at org.mortbay.jetty.HttpConnection.handle(
at org.mortbay.thread.BoundedThreadPool$

and what is worse is that the credntials are correct and do work, the dbase exists... but from the connection log of mysql, the geoserver does not even try to connect, nevermind auhtenticating himself.

could be some thing to do with my setup?

GeoServer 1.5.3

java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)


it all seams to work and save data in the file system... but mysql fails to work, I will try now with posGIS.

Just to let you know if I do connect manually with any client I normally get an entry like:
071004 1:22:31 2 Connect root@localhost on geoserver
2 Query show databases
2 Query show tables
2 Query select @@version_comment limit 1
071004 1:22:35 2 Quit

where in this case I get NOTTHING AT ALL.