Hi Everyone,
I'm hoping someone can help me here. I have been asked to setup a geoserver
installation for a department here.
I installed it on a VM running Centos 5 (uname -r gives 2.6.18-92.1.18.el5)
I installed it using the instructions at
http://geoserver.org/display/GEOSDOC/1.1.4+CentOS+(Red+Hat)+5.1+Install
I can get Tomcat running fine, login to manager etc.
I installed the latest stable WAR package. However when I try to run it, I
get the error FAIL - Application at context path /geoserver could not be
started.
If you delve in and look at the logs, I think the error revolves around the
following in catalina.out:
[root@anonymised.com logs]# more < catalina.2008-12-15.log
Dec 15, 2008 3:56:26 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Dec 15, 2008 3:56:26 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/geoserver] startup failed due to previous errors.
Looking further, into the localhost log I see the following:
[root@anonymised.com logs]# more < localhost.2008-12-15.log
Dec 15, 2008 3:56:20 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Dec 15, 2008 3:56:26 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Exception sending context initialized event to listener instance of
clas
s org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean
wit
h name 'dataConfig' defined in URL
[jar:file:/opt/apache-tomcat-6.0.18/webapps/g
eoserver/WEB-INF/lib/main-1.7.1.jar!/applicationContext.xml]: Instantiation
of b
ean failed; nested exception is
org.springframework.beans.BeanInstantiationExcep
tion: Could not instantiate bean class
[org.vfny.geoserver.config.DataConfig]: C
onstructor threw exception; nested exception is
java.lang.ExceptionInInitializer
Error
at
org.springframework.beans.factory.support.ConstructorResolver.autowir
eConstructor(ConstructorResolver.java:254)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
I think the error is in there around the springwork context, but I really
have no java experience.
Any ideas/help would be appreciated. I did google but to no avail.
Also the java version I am running is below:
[tomcat@anonymised.com ~]$ java -version
java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)
Many thanks
Stuart
--
View this message in context: http://www.nabble.com/I-am-having-trouble-installing-geoserver.-Any-help-appreciated-tp21030540p21030540.html
Sent from the GeoServer - User mailing list archive at Nabble.com.