[Geoserver-users] GeoServer 1.5-beta2 installation err - Error creating bean with name 'config'

Hello,

I’ve been trying to install GeoServer 1.5-beta2 and am not having much success and was hoping someone with a better working knowledge of GeoServer could help.

Setup info: Microsoft w2k3, Java SE 6( v1.6.0), Java EE 5(_02), Apache Tomcat 5.5.20

The machine is a 64-bit machine so by default installs GeoServer into a 32-bit (x86) specific Program Files dir (C:\Program Files (x86)\GeoServer 1.5.0-beta2). Initially i thought the problem could be down to some unsupported characters in the path ( e.g. ellipse brackets) messing up the lookup of some initialisation property, so reinstalled to a more neutral location (C:\GeoServer 1.5.0-beta2), but the problem remained.

I’m familiar with installing and configuring earlier ‘stable’ versions of GeoServer and have tried installing GeoServer 1.5-beta2 from WAR and Windows Installer. I’ve included a copy of the error in question from Tomcat’s logs.

Apache Tomcat logs;

catalina*.log

SEVERE: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘config’ defined in URL [jar:file:/C:/GeoServer%201.5.0-beta2/webapps/geoserver/WEB-INF/lib/main-1.5.0-beta1.jar!/applicationContext.xml ]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanInitializationException: Error creating xml config reader; nested exception is org.vfny.geoserver.global.ConfigurationException: java.lang.NullPointerException
org.springframework.beans.factory.BeanInitializationException: Error creating xml config reader; nested exception is org.vfny.geoserver.global.ConfigurationException: java.lang.NullPointerException
org.vfny.geoserver.global.ConfigurationException: java.lang.NullPointerException
at org.vfny.geoserver.global.xml.XMLConfigReader.loadCatalog(XMLConfigReader.java:339)
at org.vfny.geoserver.global.xml.XMLConfigReader.load (XMLConfigReader.java:222)
at org.vfny.geoserver.global.xml.XMLConfigReader.(XMLConfigReader.java:170)
at org.vfny.geoserver.global.Config.setApplicationContext(Config.java:43)
at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization (ApplicationContextAwareProcessor.java:84)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:362)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java :226)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java :275)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:318)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh (AbstractRefreshableWebApplicationContext.java:134)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:230)
at org.springframework.web.context.ContextLoader.initWebApplicationContext (ContextLoader.java:156)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java :3763)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardHost.start (StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start (StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Caused by: java.lang.NullPointerException
at org.vfny.geoserver.global.xml.XMLConfigReader.loadFeatureTypes (XMLConfigReader.java:1313)
at org.vfny.geoserver.global.xml.XMLConfigReader.loadCatalog(XMLConfigReader.java:335)
… 29 more
05-Feb-2007 20:09:28 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
05-Feb-2007 20:09:28 org.apache.catalina.core.StandardContext start
SEVERE: Context [/geoserver] startup failed due to previous errors

The following, unedited snippet comes from GeoServer’s web.xml file and relates to the Spring applicationContext.xml file within which GeoServer is unable to locate the bean defined with the name ‘config’.

contextConfigLocation classpath*:/applicationContext.xml ---

Any help/suggestions on how to resolve this would be greatly appreciated.

Many thanks,
Simon Abele

Hi Simon,

Are you running from sources? I just updated and tried to run and got the same error. The issue seems to be the structure of my data directory. Using the old style:

<GEOSERVER_DATA_DIR>
     data/
        featureTypes/
        styles/
        ...
     WEB-INF/
        catalog.xml
        servicex.xml

Seems to fail. Changing to the new style:

<GEOSERVER_DATA_DIR>
     featureTypes/
     styles/
     ...
     catalog.xml
     service.xml

works for me. I know there are some changes regarding the configuration going on, Andrea or Brent can better comment. Could it be that this just crept in to 1.5-beta2?

-Justin

Simon Abele wrote:

Hello,

I've been trying to install GeoServer 1.5-beta2 and am not having much
success and was hoping someone with a better working knowledge of GeoServer
could help.

Setup info: Microsoft w2k3, Java SE 6(v1.6.0), Java EE 5(_02), Apache Tomcat
5.5.20

The machine is a 64-bit machine so by default installs GeoServer into a
32-bit (x86) specific Program Files dir (C:\Program Files (x86)\GeoServer
1.5.0-beta2). Initially i thought the problem could be down to some
unsupported characters in the path (e.g. ellipse brackets) messing up the
lookup of some initialisation property, so reinstalled to a more neutral
location (C:\GeoServer 1.5.0-beta2), but the problem remained.

I'm familiar with installing and configuring earlier 'stable' versions of
GeoServer and have tried installing GeoServer 1.5-beta2 from WAR and Windows
Installer. I've included a copy of the error in question from Tomcat's logs.

Apache Tomcat logs;
---
catalina*.log
------------------
SEVERE: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'config' defined in URL
[jar:file:/C:/GeoServer%201.5.0-beta2/webapps/geoserver/WEB-INF/lib/main-
1.5.0-beta1.jar!/applicationContext.xml]: Initialization of bean failed;
nested exception is
org.springframework.beans.factory.BeanInitializationException: Error
creating xml config reader; nested exception is
org.vfny.geoserver.global.ConfigurationException:
java.lang.NullPointerException
org.springframework.beans.factory.BeanInitializationException: Error
creating xml config reader; nested exception is
org.vfny.geoserver.global.ConfigurationException:
java.lang.NullPointerException
org.vfny.geoserver.global.ConfigurationException:
java.lang.NullPointerException
   at org.vfny.geoserver.global.xml.XMLConfigReader.loadCatalog(
XMLConfigReader.java:339)
   at org.vfny.geoserver.global.xml.XMLConfigReader.load(
XMLConfigReader.java:222)
   at org.vfny.geoserver.global.xml.XMLConfigReader.<init>(
XMLConfigReader.java:170)
   at org.vfny.geoserver.global.Config.setApplicationContext(Config.java
:43)
   at
org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization

(ApplicationContextAwareProcessor.java:84)
   at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization

(AbstractAutowireCapableBeanFactory.java:248)
   at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean

(AbstractAutowireCapableBeanFactory.java:362)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:226)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:147)
   at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons

(DefaultListableBeanFactory.java:275)
   at
org.springframework.context.support.AbstractApplicationContext.refresh(
AbstractApplicationContext.java:318)
   at
org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh

(AbstractRefreshableWebApplicationContext.java:134)
   at
org.springframework.web.context.ContextLoader.createWebApplicationContext(
ContextLoader.java:230)
   at
org.springframework.web.context.ContextLoader.initWebApplicationContext(
ContextLoader.java:156)
   at
org.springframework.web.context.ContextLoaderListener.contextInitialized(
ContextLoaderListener.java:48)
   at org.apache.catalina.core.StandardContext.listenerStart(
StandardContext.java:3763)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java
:4211)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java
:442)
   at org.apache.catalina.core.StandardService.start(StandardService.java
:450)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java
:709)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
   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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Caused by: java.lang.NullPointerException
   at org.vfny.geoserver.global.xml.XMLConfigReader.loadFeatureTypes(
XMLConfigReader.java:1313)
   at org.vfny.geoserver.global.xml.XMLConfigReader.loadCatalog(
XMLConfigReader.java:335)
   ... 29 more
05-Feb-2007 20:09:28 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
05-Feb-2007 20:09:28 org.apache.catalina.core.StandardContext start
SEVERE: Context [/geoserver] startup failed due to previous errors
---

The following, unedited snippet comes from GeoServer's web.xml file and
relates to the Spring applicationContext.xml file within which GeoServer is
unable to locate the bean defined with the name 'config'.
---
<!-- pick up all spring application contexts -->
   <context-param>
       <param-name>contextConfigLocation</param-name>
       <param-value>classpath*:/applicationContext.xml</param-value>
   </context-param>
---

Any help/suggestions on how to resolve this would be greatly appreciated.

Many thanks,
Simon Abele

!DSPAM:1004,45c7a3e0231981804284693!

------------------------------------------------------------------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

!DSPAM:1004,45c7a3e0231981804284693!

------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:1004,45c7a3e0231981804284693!

--
Justin Deoliveira
jdeolive@anonymised.com
The Open Planning Project
http://topp.openplans.org

Hi Justin,

Are you running from sources?
No, i’ve been using the precompiled binaries, WAR and Windows Installer. Should i give the source a try?

I just tried several <GEOSERVER_DATA_DIR> combinations, including the one suggested below but am still unable to start the service. Encountering the same error as before.

Cheers,
Simon


Simon Abele
Research Associate
GeoInformatics Research Group
School of Civil Engineering and Geosciences
Room 3.17, Cassie Building
Newcastle University
Newcastle upon Tyne, NE1 7RU, UK

e(+msn): s.j.abele@anonymised.com
p: +44 (0)191 222 7121
m: +44 (0)7791 957071
w: http://www.ceg.ncl.ac.uk/geomatics

On 06/02/07, Justin Deoliveira <jdeolive@anonymised.com> wrote:

Hi Simon,

Are you running from sources? I just updated and tried to run and got
the same error. The issue seems to be the structure of my data
directory. Using the old style:

<GEOSERVER_DATA_DIR>
data/
featureTypes/
styles/

WEB-INF/
catalog.xml
servicex.xml

Seems to fail. Changing to the new style:

<GEOSERVER_DATA_DIR>
featureTypes/
styles/

catalog.xml
service.xml

works for me. I know there are some changes regarding the configuration
going on, Andrea or Brent can better comment. Could it be that this just
crept in to 1.5-beta2?

-Justin

Simon Abele wrote:

Hello,

I’ve been trying to install GeoServer 1.5-beta2 and am not having much
success and was hoping someone with a better working knowledge of GeoServer
could help.

Setup info: Microsoft w2k3, Java SE 6(v1.6.0), Java EE 5(_02), Apache
Tomcat
5.5.20

The machine is a 64-bit machine so by default installs GeoServer into a
32-bit (x86) specific Program Files dir (C:\Program Files (x86)\GeoServer
1.5.0-beta2). Initially i thought the problem could be down to some
unsupported characters in the path (e.g. ellipse brackets) messing up the
lookup of some initialisation property, so reinstalled to a more neutral
location (C:\GeoServer 1.5.0-beta2), but the problem remained.

I’m familiar with installing and configuring earlier ‘stable’ versions of
GeoServer and have tried installing GeoServer 1.5-beta2 from WAR and
Windows
Installer. I’ve included a copy of the error in question from Tomcat’s
logs.

Apache Tomcat logs;

catalina*.log

SEVERE: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating
bean
with name ‘config’ defined in URL
[jar:file:/C:/GeoServer%201.5.0-beta2/webapps/geoserver/WEB-INF/lib/main-
1.5.0-beta1.jar!/applicationContext.xml]: Initialization of bean failed;
nested exception is
org.springframework.beans.factory.BeanInitializationException : Error
creating xml config reader; nested exception is
org.vfny.geoserver.global.ConfigurationException:
java.lang.NullPointerException
org.springframework.beans.factory.BeanInitializationException : Error
creating xml config reader; nested exception is
org.vfny.geoserver.global.ConfigurationException:
java.lang.NullPointerException
org.vfny.geoserver.global.ConfigurationException:
java.lang.NullPointerException
at org.vfny.geoserver.global.xml.XMLConfigReader.loadCatalog(
XMLConfigReader.java:339)
at org.vfny.geoserver.global.xml.XMLConfigReader.load(
XMLConfigReader.java :222)
at org.vfny.geoserver.global.xml.XMLConfigReader.(
XMLConfigReader.java:170)
at org.vfny.geoserver.global.Config.setApplicationContext(Config.java
:43)
at
org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization

(ApplicationContextAwareProcessor.java:84)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization

(AbstractAutowireCapableBeanFactory.java:248)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean

(AbstractAutowireCapableBeanFactory.java :362)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:226)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
( AbstractBeanFactory.java:147)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons

(DefaultListableBeanFactory.java:275)
at
org.springframework.context.support.AbstractApplicationContext.refresh(
AbstractApplicationContext.java:318)
at
org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh

(AbstractRefreshableWebApplicationContext.java:134)
at
org.springframework.web.context.ContextLoader.createWebApplicationContext(
ContextLoader.java:230)
at
org.springframework.web.context.ContextLoader.initWebApplicationContext (
ContextLoader.java:156)
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(
ContextLoaderListener.java:48)
at org.apache.catalina.core.StandardContext.listenerStart (
StandardContext.java:3763)
at org.apache.catalina.core.StandardContext.start(StandardContext.java
:4211)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start (StandardEngine.java
:442)
at org.apache.catalina.core.StandardService.start(StandardService.java
:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java
:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Caused by: java.lang.NullPointerException
at org.vfny.geoserver.global.xml.XMLConfigReader.loadFeatureTypes(
XMLConfigReader.java :1313)
at org.vfny.geoserver.global.xml.XMLConfigReader.loadCatalog(
XMLConfigReader.java:335)
… 29 more
05-Feb-2007 20:09:28 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
05-Feb-2007 20:09:28 org.apache.catalina.core.StandardContext start
SEVERE: Context [/geoserver] startup failed due to previous errors

The following, unedited snippet comes from GeoServer’s web.xml file and
relates to the Spring applicationContext.xml file within which GeoServer is
unable to locate the bean defined with the name ‘config’.

contextConfigLocation classpath*:/applicationContext.xml ---

Any help/suggestions on how to resolve this would be greatly appreciated.

Many thanks,
Simon Abele

!DSPAM:1004,45c7a3e0231981804284693!



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

!DSPAM:1004,45c7a3e0231981804284693!



Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:1004,45c7a3e0231981804284693!


Justin Deoliveira
jdeolive@anonymised.com
The Open Planning Project
http://topp.openplans.org

Hi Simon
I believe there was an issue with the war file and the supplied data directory. We have a new release coming out this week that should have the problem fixed. But in the mean time, Justin's fix should solve your problem.

Brent Owens
(The Open Planning Project)

Simon Abele wrote:

Hi Justin,

>Are you running from sources?
No, i've been using the precompiled binaries, WAR and Windows Installer. Should i give the source a try?

I just tried several <GEOSERVER_DATA_DIR> combinations, including the one suggested below but am still unable to start the service. Encountering the same error as before.

Cheers,
Simon

--
Simon Abele
Research Associate
GeoInformatics Research Group
School of Civil Engineering and Geosciences
Room 3.17, Cassie Building
Newcastle University
Newcastle upon Tyne, NE1 7RU, UK

e(+msn): s.j.abele@anonymised.com <mailto:s.j.abele@anonymised.com>
p: +44 (0)191 222 7121
m: +44 (0)7791 957071
w: http://www.ceg.ncl.ac.uk/geomatics

On 06/02/07, *Justin Deoliveira* <jdeolive@anonymised.com <mailto:jdeolive@anonymised.com>> wrote:

    Hi Simon,

    Are you running from sources? I just updated and tried to run and got
    the same error. The issue seems to be the structure of my data
    directory. Using the old style:

    <GEOSERVER_DATA_DIR>
         data/
            featureTypes/
            styles/
            ...
         WEB-INF/
            catalog.xml
            servicex.xml

    Seems to fail. Changing to the new style:

    <GEOSERVER_DATA_DIR>
         featureTypes/
         styles/
         ...
         catalog.xml
         service.xml

    works for me. I know there are some changes regarding the
    configuration
    going on, Andrea or Brent can better comment. Could it be that
    this just
    crept in to 1.5-beta2?

    -Justin

    Simon Abele wrote:
    > Hello,
    >
    > I've been trying to install GeoServer 1.5-beta2 and am not
    having much
    > success and was hoping someone with a better working knowledge
    of GeoServer
    > could help.
    >
    > Setup info: Microsoft w2k3, Java SE 6(v1.6.0), Java EE 5(_02),
    Apache
    > Tomcat
    > 5.5.20
    >
    > The machine is a 64-bit machine so by default installs GeoServer
    into a
    > 32-bit (x86) specific Program Files dir (C:\Program Files
    (x86)\GeoServer
    > 1.5.0-beta2). Initially i thought the problem could be down to some
    > unsupported characters in the path (e.g. ellipse brackets)
    messing up the
    > lookup of some initialisation property, so reinstalled to a more
    neutral
    > location (C:\GeoServer 1.5.0-beta2), but the problem remained.
    >
    > I'm familiar with installing and configuring earlier 'stable'
    versions of
    > GeoServer and have tried installing GeoServer 1.5-beta2 from WAR and
    > Windows
    > Installer. I've included a copy of the error in question from
    Tomcat's
    > logs.
    >
    > Apache Tomcat logs;
    > ---
    > catalina*.log
    > ------------------
    > SEVERE: Context initialization failed
    > org.springframework.beans.factory.BeanCreationException: Error
    creating
    > bean
    > with name 'config' defined in URL
    >
    [jar:file:/C:/GeoServer%201.5.0-beta2/webapps/geoserver/WEB-INF/lib/main-
    > 1.5.0-beta1.jar!/applicationContext.xml]: Initialization of bean
    failed;
    > nested exception is
    > org.springframework.beans.factory.BeanInitializationException :
    Error
    > creating xml config reader; nested exception is
    > org.vfny.geoserver.global.ConfigurationException:
    > java.lang.NullPointerException
    > org.springframework.beans.factory.BeanInitializationException :
    Error
    > creating xml config reader; nested exception is
    > org.vfny.geoserver.global.ConfigurationException:
    > java.lang.NullPointerException
    > org.vfny.geoserver.global.ConfigurationException:
    > java.lang.NullPointerException
    > at org.vfny.geoserver.global.xml.XMLConfigReader.loadCatalog(
    > XMLConfigReader.java:339)
    > at org.vfny.geoserver.global.xml.XMLConfigReader.load(
    > XMLConfigReader.java :222)
    > at org.vfny.geoserver.global.xml.XMLConfigReader.<init>(
    > XMLConfigReader.java:170)
    > at
    org.vfny.geoserver.global.Config.setApplicationContext(Config.java
    > :43)
    > at
    >
    org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization
    >
    > (ApplicationContextAwareProcessor.java:84)
    > at
    >
    org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization

    >
    > (AbstractAutowireCapableBeanFactory.java:248)
    > at
    >
    org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean
    >
    > (AbstractAutowireCapableBeanFactory.java :362)
    > at
    org.springframework.beans.factory.support.AbstractBeanFactory.getBean
    > (AbstractBeanFactory.java:226)
    > at
    org.springframework.beans.factory.support.AbstractBeanFactory.getBean
    > ( AbstractBeanFactory.java:147)
    > at
    >
    org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons
    >
    > (DefaultListableBeanFactory.java:275)
    > at
    >
    org.springframework.context.support.AbstractApplicationContext.refresh(
    > AbstractApplicationContext.java:318)
    > at
    >
    org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh

    >
    > (AbstractRefreshableWebApplicationContext.java:134)
    > at
    >
    org.springframework.web.context.ContextLoader.createWebApplicationContext(
    > ContextLoader.java:230)
    > at
    >
    org.springframework.web.context.ContextLoader.initWebApplicationContext
    (
    > ContextLoader.java:156)
    > at
    >
    org.springframework.web.context.ContextLoaderListener.contextInitialized(
    > ContextLoaderListener.java:48)
    > at org.apache.catalina.core.StandardContext.listenerStart (
    > StandardContext.java:3763)
    > at
    org.apache.catalina.core.StandardContext.start(StandardContext.java
    > :4211)
    > at
    org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
    > at
    org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
    > at
    org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
    > at org.apache.catalina.core.StandardEngine.start
    (StandardEngine.java
    > :442)
    > at
    org.apache.catalina.core.StandardService.start(StandardService.java
    > :450)
    > at
    org.apache.catalina.core.StandardServer.start(StandardServer.java
    > :709)
    > at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
    > 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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
    > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
    > Caused by: java.lang.NullPointerException
    > at
    org.vfny.geoserver.global.xml.XMLConfigReader.loadFeatureTypes(
    > XMLConfigReader.java :1313)
    > at org.vfny.geoserver.global.xml.XMLConfigReader.loadCatalog(
    > XMLConfigReader.java:335)
    > ... 29 more
    > 05-Feb-2007 20:09:28 org.apache.catalina.core.StandardContext start
    > SEVERE: Error listenerStart
    > 05-Feb-2007 20:09:28 org.apache.catalina.core.StandardContext start
    > SEVERE: Context [/geoserver] startup failed due to previous errors
    > ---
    >
    > The following, unedited snippet comes from GeoServer's web.xml
    file and
    > relates to the Spring applicationContext.xml file within which
    GeoServer is
    > unable to locate the bean defined with the name 'config'.
    > ---
    > <!-- pick up all spring application contexts -->
    > <context-param>
    > <param-name>contextConfigLocation</param-name>
    > <param-value>classpath*:/applicationContext.xml</param-value>
    > </context-param>
    > ---
    >
    > Any help/suggestions on how to resolve this would be greatly
    appreciated.
    >
    > Many thanks,
    > Simon Abele
    >
    > !DSPAM:1004,45c7a3e0231981804284693!
    >
    ------------------------------------------------------------------------
    >
    -------------------------------------------------------------------------
    > Using Tomcat but need to do more? Need to support web services,
    security?
    > Get stuff done quickly with pre-integrated technology to make
    your job easier.
    > Download IBM WebSphere Application Server v.1.0.1 based on
    Apache Geronimo
    >
    http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
    <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642&gt;
    >
    > !DSPAM:1004,45c7a3e0231981804284693!
    >
    ------------------------------------------------------------------------

    >
    > _______________________________________________
    > Geoserver-users mailing list
    > Geoserver-users@lists.sourceforge.net
    <mailto:Geoserver-users@lists.sourceforge.net>
    > https://lists.sourceforge.net/lists/listinfo/geoserver-users
    >
    > !DSPAM:1004,45c7a3e0231981804284693!

    --
    Justin Deoliveira
    jdeolive@anonymised.com <mailto:jdeolive@anonymised.com>
    The Open Planning Project
    http://topp.openplans.org

------------------------------------------------------------------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users