Has anyone run into an error when running Geoserver through eclipse that is similar to this one? It happens when I first start up the server using jetty through eclipse. Running it through the bat file works fine:
11:26:00.968 WARN!! action: null
java.lang.ClassCastException
at org.geotools.factory.FactoryFinder$1.next(FactoryFinder.java:472)
at org.geotools.data.DataStoreFinder.getAvailableDataStores(DataStoreFinder.java:111)
at org.vfny.geoserver.action.data.DataStoreUtils.aquireFactory(DataStoreUtils.java:81)
at org.vfny.geoserver.config.DataStoreConfig.reset(DataStoreConfig.java:107)
at org.vfny.geoserver.config.DataStoreConfig.<init>(DataStoreConfig.java:92)
at org.vfny.geoserver.config.DataConfig.update(DataConfig.java:191)
at org.vfny.geoserver.config.DataConfig.<init>(DataConfig.java:163)
at org.vfny.geoserver.config.ConfigPlugIn.init(ConfigPlugIn.java:95)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:220)
at org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:445)
at org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:150)
at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:458)
at org.mortbay.http.HttpServer.start(HttpServer.java:663)
at org.mortbay.jetty.Server.main(Server.java:429)
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 org.mortbay.start.Main.invokeMain(Main.java:152)
at org.mortbay.start.Main.start(Main.java:482)
at org.mortbay.start.Main.main(Main.java:90)
11:26:00.968 EVENT action: null: java.lang.ClassCastException
11:26:01.078 EVENT Started SocketListener on 0.0.0.0:8080
11:26:01.078 WARN!!
org.mortbay.util.MultiException[javax.servlet.UnavailableException]
at org.mortbay.http.HttpServer.start(HttpServer.java:640)
at org.mortbay.jetty.Server.main(Server.java:429)
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 org.mortbay.start.Main.invokeMain(Main.java:152)
at org.mortbay.start.Main.start(Main.java:482)
at org.mortbay.start.Main.main(Main.java:90)
[0]=javax.servlet.UnavailableException
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1169)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:220)
at org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:445)
at org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:150)
at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:458)
at org.mortbay.http.HttpServer.start(HttpServer.java:663)
at org.mortbay.jetty.Server.main(Server.java:429)
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 org.mortbay.start.Main.invokeMain(Main.java:152)
at org.mortbay.start.Main.start(Main.java:482)
at org.mortbay.start.Main.main(Main.java:90)
--
Brent Owens
(The Open Planning Project)
Are you running 1.3.x or 1.4.x?
Brent Owens wrote:
Has anyone run into an error when running Geoserver through eclipse that
is similar to this one? It happens when I first start up the server
using jetty through eclipse. Running it through the bat file works fine:
11:26:00.968 WARN!! action: null
java.lang.ClassCastException
at org.geotools.factory.FactoryFinder$1.next(FactoryFinder.java:472)
at
org.geotools.data.DataStoreFinder.getAvailableDataStores(DataStoreFinder.java:111)
at
org.vfny.geoserver.action.data.DataStoreUtils.aquireFactory(DataStoreUtils.java:81)
at
org.vfny.geoserver.config.DataStoreConfig.reset(DataStoreConfig.java:107)
at
org.vfny.geoserver.config.DataStoreConfig.<init>(DataStoreConfig.java:92)
at org.vfny.geoserver.config.DataConfig.update(DataConfig.java:191)
at org.vfny.geoserver.config.DataConfig.<init>(DataConfig.java:163)
at org.vfny.geoserver.config.ConfigPlugIn.init(ConfigPlugIn.java:95)
at
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:220)
at
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:445)
at
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:150)
at
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:458)
at org.mortbay.http.HttpServer.start(HttpServer.java:663)
at org.mortbay.jetty.Server.main(Server.java:429)
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 org.mortbay.start.Main.invokeMain(Main.java:152)
at org.mortbay.start.Main.start(Main.java:482)
at org.mortbay.start.Main.main(Main.java:90)
11:26:00.968 EVENT action: null: java.lang.ClassCastException
11:26:01.078 EVENT Started SocketListener on 0.0.0.0:8080
11:26:01.078 WARN!!
org.mortbay.util.MultiException[javax.servlet.UnavailableException]
at org.mortbay.http.HttpServer.start(HttpServer.java:640)
at org.mortbay.jetty.Server.main(Server.java:429)
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 org.mortbay.start.Main.invokeMain(Main.java:152)
at org.mortbay.start.Main.start(Main.java:482)
at org.mortbay.start.Main.main(Main.java:90)
[0]=javax.servlet.UnavailableException
at
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1169)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:220)
at
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:445)
at
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:150)
at
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:458)
at org.mortbay.http.HttpServer.start(HttpServer.java:663)
at org.mortbay.jetty.Server.main(Server.java:429)
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 org.mortbay.start.Main.invokeMain(Main.java:152)
at org.mortbay.start.Main.start(Main.java:482)
at org.mortbay.start.Main.main(Main.java:90)
--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com
1.3
Brent Owens
(The Open Planning Project)
Justin Deoliveira wrote:
Are you running 1.3.x or 1.4.x?
Brent Owens wrote:
Has anyone run into an error when running Geoserver through eclipse that is similar to this one? It happens when I first start up the server using jetty through eclipse. Running it through the bat file works fine:
11:26:00.968 WARN!! action: null
java.lang.ClassCastException
at org.geotools.factory.FactoryFinder$1.next(FactoryFinder.java:472)
at org.geotools.data.DataStoreFinder.getAvailableDataStores(DataStoreFinder.java:111)
at org.vfny.geoserver.action.data.DataStoreUtils.aquireFactory(DataStoreUtils.java:81)
at org.vfny.geoserver.config.DataStoreConfig.reset(DataStoreConfig.java:107)
at org.vfny.geoserver.config.DataStoreConfig.<init>(DataStoreConfig.java:92)
at org.vfny.geoserver.config.DataConfig.update(DataConfig.java:191)
at org.vfny.geoserver.config.DataConfig.<init>(DataConfig.java:163)
at org.vfny.geoserver.config.ConfigPlugIn.init(ConfigPlugIn.java:95)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:220)
at org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:445)
at org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:150)
at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:458)
at org.mortbay.http.HttpServer.start(HttpServer.java:663)
at org.mortbay.jetty.Server.main(Server.java:429)
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 org.mortbay.start.Main.invokeMain(Main.java:152)
at org.mortbay.start.Main.start(Main.java:482)
at org.mortbay.start.Main.main(Main.java:90)
11:26:00.968 EVENT action: null: java.lang.ClassCastException
11:26:01.078 EVENT Started SocketListener on 0.0.0.0:8080
11:26:01.078 WARN!!
org.mortbay.util.MultiException[javax.servlet.UnavailableException]
at org.mortbay.http.HttpServer.start(HttpServer.java:640)
at org.mortbay.jetty.Server.main(Server.java:429)
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 org.mortbay.start.Main.invokeMain(Main.java:152)
at org.mortbay.start.Main.start(Main.java:482)
at org.mortbay.start.Main.main(Main.java:90)
[0]=javax.servlet.UnavailableException
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1169)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:220)
at org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:445)
at org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:150)
at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:458)
at org.mortbay.http.HttpServer.start(HttpServer.java:663)
at org.mortbay.jetty.Server.main(Server.java:429)
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 org.mortbay.start.Main.invokeMain(Main.java:152)
at org.mortbay.start.Main.start(Main.java:482)
at org.mortbay.start.Main.main(Main.java:90)