Hey folks,
After a server I’m running geoserver was rebooted for maintenance, GeoServer is now reporting issues when I start it up. I have these errors (with small variations) across different versions of GeoServer with different configurations, although they do mostly all access the same PostGIS feature layers.
So, for example, I’m getting errors like this:
No code “EPSG:32633” from authority “European Petroleum Survey Group” found for object of type “IdentifiedObject”.
for various projections …
and errors like this:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dataConfig’ defined in URL [jar:file:
/opt/CGA/apps/geoserver/geoserver-1.7.0/webapps/geoserver/WEB-INF/lib/main-1.7.0-beta1.jar!/applicationContext.xml]: Instanti
ation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean cl
ass [org.vfny.geoserver.config.DataConfig]: Constructor threw exception; nested exception is java.lang.RuntimeException: java
.io.IOException
Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘dataConfig’ d
efined in URL [jar:file:/opt/CGA/apps/geoserver/geoserver-1.7.0/webapps/geoserver/WEB-INF/lib/main-1.7.0-beta1.jar!/applicati
onContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.vfny.geoserver.global
.dto.DataDTO]: Could not convert constructor argument value of type [org.vfny.geoserver.global.Data] to required type [org.vf
ny.geoserver.global.dto.DataDTO]: Failed to convert value of type [org.vfny.geoserver.global.Data] to required type [org.vfny
.geoserver.global.dto.DataDTO]; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [org.vfn
y.geoserver.global.Data] to required type [org.vfny.geoserver.global.dto.DataDTO]: no matching editors or conversion strategy
found
Can someone help point me towards what might be wrong or what might have changed, or a good way to troubleshoot this?
Thanks, --j
Under 1.5.4a, I see this error:
5069 [WARNING] DefaultFactory - Unavailable authority factory: European Petroleum Survey Group
org.opengis.referencing.FactoryException: Failed to connect to the EPSG database.
What is likely to have caused that error?
–j
On Thu, Aug 7, 2008 at 11:15 AM, Josh Marcus <jmarcus@anonymised.com> wrote:
Hey folks,
After a server I’m running geoserver was rebooted for maintenance, GeoServer is now reporting issues when I start it up. I have these errors (with small variations) across different versions of GeoServer with different configurations, although they do mostly all access the same PostGIS feature layers.
So, for example, I’m getting errors like this:
No code “EPSG:32633” from authority “European Petroleum Survey Group” found for object of type “IdentifiedObject”.
for various projections …
and errors like this:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dataConfig’ defined in URL [jar:file:
/opt/CGA/apps/geoserver/geoserver-1.7.0/webapps/geoserver/WEB-INF/lib/main-1.7.0-beta1.jar!/applicationContext.xml]: Instanti
ation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean cl
ass [org.vfny.geoserver.config.DataConfig]: Constructor threw exception; nested exception is java.lang.RuntimeException: java
.io.IOException
Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘dataConfig’ d
efined in URL [jar:file:/opt/CGA/apps/geoserver/geoserver-1.7.0/webapps/geoserver/WEB-INF/lib/main-1.7.0-beta1.jar!/applicati
onContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.vfny.geoserver.global
.dto.DataDTO]: Could not convert constructor argument value of type [org.vfny.geoserver.global.Data] to required type [org.vf
ny.geoserver.global.dto.DataDTO]: Failed to convert value of type [org.vfny.geoserver.global.Data] to required type [org.vfny
.geoserver.global.dto.DataDTO]; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [org.vfn
y.geoserver.global.Data] to required type [org.vfny.geoserver.global.dto.DataDTO]: no matching editors or conversion strategy
found
Can someone help point me towards what might be wrong or what might have changed, or a good way to troubleshoot this?
Thanks, --j
Hey folks,
Nevermind, I figured out this issue myself. For the record, I needed to delete the Geotools database it had created (rm -rf /tmp/Geotools/Databases/HSQL/) as something during server restart (geoserver wasn’t cleanly shut down) meant that the database had to be regenerated.
Thanks, --j
On Thu, Aug 7, 2008 at 11:59 AM, Josh Marcus <jmarcus@anonymised.com> wrote:
Under 1.5.4a, I see this error:
5069 [WARNING] DefaultFactory - Unavailable authority factory: European Petroleum Survey Group
org.opengis.referencing.FactoryException: Failed to connect to the EPSG database.
What is likely to have caused that error?
–j
On Thu, Aug 7, 2008 at 11:15 AM, Josh Marcus <jmarcus@anonymised.com> wrote:
Hey folks,
After a server I’m running geoserver was rebooted for maintenance, GeoServer is now reporting issues when I start it up. I have these errors (with small variations) across different versions of GeoServer with different configurations, although they do mostly all access the same PostGIS feature layers.
So, for example, I’m getting errors like this:
No code “EPSG:32633” from authority “European Petroleum Survey Group” found for object of type “IdentifiedObject”.
for various projections …
and errors like this:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dataConfig’ defined in URL [jar:file:
/opt/CGA/apps/geoserver/geoserver-1.7.0/webapps/geoserver/WEB-INF/lib/main-1.7.0-beta1.jar!/applicationContext.xml]: Instanti
ation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean cl
ass [org.vfny.geoserver.config.DataConfig]: Constructor threw exception; nested exception is java.lang.RuntimeException: java
.io.IOException
Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘dataConfig’ d
efined in URL [jar:file:/opt/CGA/apps/geoserver/geoserver-1.7.0/webapps/geoserver/WEB-INF/lib/main-1.7.0-beta1.jar!/applicati
onContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.vfny.geoserver.global
.dto.DataDTO]: Could not convert constructor argument value of type [org.vfny.geoserver.global.Data] to required type [org.vf
ny.geoserver.global.dto.DataDTO]: Failed to convert value of type [org.vfny.geoserver.global.Data] to required type [org.vfny
.geoserver.global.dto.DataDTO]; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [org.vfn
y.geoserver.global.Data] to required type [org.vfny.geoserver.global.dto.DataDTO]: no matching editors or conversion strategy
found
Can someone help point me towards what might be wrong or what might have changed, or a good way to troubleshoot this?
Thanks, --j