A single error in catalog loading may prevent GeoServer from starting up
------------------------------------------------------------------------
Key: GEOS-2367
URL: http://jira.codehaus.org/browse/GEOS-2367
Project: GeoServer
Issue Type: New Feature
Components: Configuration
Reporter: Andrea Aime
Assignee: Andrea Aime
Priority: Blocker
Investigating GEOS-2341 I've found out that a single error is fatal for GeoServer startup, the one in GEOS-2341 results in a complete failure to load the Spring context:
{code}
Nested in org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataConfig' defined in URL [file:/C:/progetti/geoserver/src/1.7.x/geoserver/main/target/classes/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.vfny.geoserver.config.DataConfig]: Constructor threw exception; nested exception is java.lang.RuntimeException: java.io.IOException:
org.geotools.referencing.operation.projection.ProjectionException: Latitude 2870337°07.5'N is too close to a pole.
at org.geotools.referencing.operation.projection.Mercator$Spherical.transformNormalized(Mercator.java:207)
at org.geotools.referencing.operation.projection.MapProjection.transform(MapProjection.java:816)
at org.geotools.referencing.operation.projection.MapProjection.transform(MapProjection.java:855)
at org.geotools.referencing.operation.transform.AbstractMathTransform.transform(AbstractMathTransform.java:235)
at org.geotools.referencing.CRS.transform(CRS.java:1131)
at org.geotools.referencing.CRS.transform(CRS.java:1197)
at org.geotools.geometry.jts.ReferencedEnvelope.transform(ReferencedEnvelope.java:557)
at org.geotools.geometry.jts.ReferencedEnvelope.transform(ReferencedEnvelope.java:512)
at org.geoserver.catalog.impl.ResourceInfoImpl.getBoundingBox(ResourceInfoImpl.java:163)
at org.vfny.geoserver.global.FeatureTypeInfo.getBoundingBox(FeatureTypeInfo.java:891)
at org.vfny.geoserver.global.FeatureTypeInfo.toDTO(FeatureTypeInfo.java:480)
at org.vfny.geoserver.global.Data.toDTO(Data.java:1593)
at org.vfny.geoserver.config.DataConfig.<init>(DataConfig.java:220)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:540)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:222)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at org.vfny.geoserver.jetty.Start.main(Start.java:56)
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira