Hi 

I was having identical errors in the logs yesterday

I so;lved it by using Java JDK 6

I had setup a new box and installed 7.

So there are obviously some glitches

Tim



Message: 4
Date: Thu, 27 Oct 2011 05:05:53 -0700 (PDT)
From: GeoGEOrge <[email protected]>
Subject: Re: [Geoserver-users] Geowebcache.xml problems
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Thank you for your help. I have been feeling very stuck and would really
like
to be able to use geowebcache.
I added -Xmx512m -XX:MaxPermSize=256m to my
geoserver-2.1.2/bin/startup.sh
and 
I substituted the gridSet you supplied (it complained until I moved the
metersPerUnit after scaleDenominators) 

I still get what appears to me to be the same message and geoserver
doesn't
work:

2011-10-27 07:55:19,024 INFO [gwc.config] - Initializing GeoServer
specific
GWC configuration from gwc-gs.xml
2011-10-27 07:55:21,800 INFO [storage.DefaultStorageFinder] -
************************************************************************
********************************************************
2011-10-27 07:55:21,801 INFO [storage.DefaultStorageFinder] - *** Found
Java
environment variable GEOSERVER_DATA_DIR set to
/opt/geoserver-2.1.2/data_dir, using it as the default prefix. ***
2011-10-27 07:55:21,801 INFO [storage.DefaultStorageFinder] -
************************************************************************
********************************************************
2011-10-27 07:55:22,631 INFO [jdbc.JDBCMBWrapper] - MetaStore database
is
version 120
2011-10-27 07:55:22,727 INFO [config.XMLConfiguration] - Found
configuration
file in /opt/geoserver-2.1.2/data_dir/gwc
2011-10-27 07:55:23,186 INFO [config.XMLConfiguration] - Configuration
file
validated fine.
2011-10-27 07:55:23,246 INFO [storage.StorageBroker] - Destroying
StorageBroker
2011-10-27 07:55:24,523 INFO [geoserver.catalog] - Disposing datastore
'DataStoreInfoImpl--570ae188:124761b8d78:-7fd9'
2011-10-27 07:55:24,524 INFO [geoserver.catalog] - Disposing datastore
'DataStoreInfoImpl--570ae188:124761b8d78:-7fdc'
2011-10-27 07:55:24,527 ERROR [context.ContextLoader] - Context
initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating
bean
with name 'GWCCapabilitiesHomePageProvider' defined in URL
[jar:file:/opt/geoserver-2.1.2/webapps/geoserver/WEB-INF/lib/web-gwc-2.1
.2.jar!/applicationContext.xml]:
Cannot resolve reference to bean 'gwcFacade' while setting constructor
argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean
with name 'gwcFacade' defined in URL
[jar:file:/opt/geoserver-2.1.2/webapps/geoserver/WEB-INF/lib/gwc-2.1.2.j
ar!/geowebcache-geoserver-context.xml]:
Cannot resolve reference to bean 'gwcTLDispatcher' while setting
constructor
argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean
with name 'gwcTLDispatcher' defined in URL
[jar:file:/opt/geoserver-2.1.2/webapps/geoserver/WEB-INF/lib/gwc-2.1.2.j
ar!/geowebcache-core-context.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not
instantiate
bean class [org.geowebcache.layer.TileLayerDispatcher]: Constructor
threw
exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean
with name 'gwcXmlConfig' defined in URL
[jar:file:/opt/geoserver-2.1.2/webapps/geoserver/WEB-INF/lib/gwc-2.1.2.j
ar!/geowebcache-core-context.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not
instantiate
bean class [org.geowebcache.config.XMLConfiguration]: Constructor threw
exception; nested exception is
com.thoughtworks.xstream.converters.ConversionException: Cannot
construct
org.geowebcache.grid.SRS as it does not have a no-args constructor :
Cannot
construct org.geowebcache.grid.SRS as it does not have a no-args
constructor
---- Debugging information ----
message             : Cannot construct org.geowebcache.grid.SRS as it
does
not have a no-args constructor
cause-exception     :
com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message       : Cannot construct org.geowebcache.grid.SRS as it
does
not have a no-args constructor
class               : org.geowebcache.config.GeoWebCacheConfiguration
required-type       : org.geowebcache.grid.SRS
-------------------------------

--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Geowebcache-xml-problems-tp693338
0p6936083.html
Sent from the GeoServer - User mailing list archive at Nabble.com.



This email is only intended for the person to whom it is addressed and may 
contain confidential information. If you have received this email in error, 
please notify the sender and delete this email which must not be copied, 
distributed or disclosed to any other person.

Unless stated otherwise, the contents of this email are personal to the writer 
and do not represent the official view of Ordnance Survey. Nor can any contract 
be formed on Ordnance Survey's behalf via email. We reserve the right to 
monitor emails and attachments without prior notice.

Thank you for your cooperation.

Ordnance Survey
Adanac Drive
Southampton SO16 0AS
Tel: 08456 050505
http://www.ordnancesurvey.co.uk


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to