[Geoserver-users] GS1.6 RC2 cannt work under tomcat

hi all,
I have deployed the GS1.6 RC2 war under the tomcat 5.5.
When I started tomcat,it reported log as below:
__________________________________________________
25 十二月 09:44:32 ERROR [context.ContextLoader] - Context initialization
failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'geoServer' defined in URL
[jar:file:/e:/Apache/Tomcat%205.5/webapps/geoserver/WEB-INF/lib/main-1.6.0-RC2.jar!/applicationContext.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.FatalBeanException: Could not instantiate class
[org.vfny.geoserver.global.GeoServer]; constructor threw exception; nested
exception is java.lang.NoSuchFieldError: KEY_CACHED_TILE_RECYCLING_ENABLED
org.springframework.beans.FatalBeanException: Could not instantiate class
[org.vfny.geoserver.global.GeoServer]; constructor threw exception; nested
exception is java.lang.NoSuchFieldError: KEY_CACHED_TILE_RECYCLING_ENABLED
java.lang.NoSuchFieldError: KEY_CACHED_TILE_RECYCLING_ENABLED
  at org.vfny.geoserver.global.GeoServer.initJAI(GeoServer.java:719)
  at org.vfny.geoserver.global.GeoServer.load(GeoServer.java:494)
  at org.vfny.geoserver.global.GeoServer.<init>(GeoServer.java:129)
__________________________________________________

I have used GS for a long time,but I never see that before.
So anyone can help me?
Thanks in advance of any tips.

regards
minimeteor
--
View this message in context: http://www.nabble.com/GS1.6-RC2-cannt-work-under-tomcat-tp14492681p14492681.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi,

This looks like a jai error. Are you sure you have jai and the image io
extensions installed in the jdk that is running tomcat? Just in case you
do not have them installed here is where you can get them:

JAI (1.1.3): https://jai.dev.java.net/binary-builds.html
IMAGEIO (1.1): https://jai-imageio.dev.java.net/binary-builds.html

-Justin

minimeteor wrote:

hi all,
I have deployed the GS1.6 RC2 war under the tomcat 5.5.
When I started tomcat,it reported log as below:
__________________________________________________
25 十二月 09:44:32 ERROR [context.ContextLoader] - Context initialization
failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'geoServer' defined in URL
[jar:file:/e:/Apache/Tomcat%205.5/webapps/geoserver/WEB-INF/lib/main-1.6.0-RC2.jar!/applicationContext.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.FatalBeanException: Could not instantiate class
[org.vfny.geoserver.global.GeoServer]; constructor threw exception; nested
exception is java.lang.NoSuchFieldError: KEY_CACHED_TILE_RECYCLING_ENABLED
org.springframework.beans.FatalBeanException: Could not instantiate class
[org.vfny.geoserver.global.GeoServer]; constructor threw exception; nested
exception is java.lang.NoSuchFieldError: KEY_CACHED_TILE_RECYCLING_ENABLED
java.lang.NoSuchFieldError: KEY_CACHED_TILE_RECYCLING_ENABLED
  at org.vfny.geoserver.global.GeoServer.initJAI(GeoServer.java:719)
  at org.vfny.geoserver.global.GeoServer.load(GeoServer.java:494)
  at org.vfny.geoserver.global.GeoServer.<init>(GeoServer.java:129)
__________________________________________________

I have used GS for a long time,but I never see that before.
So anyone can help me?
Thanks in advance of any tips.

regards
minimeteor

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

minimeteor ha scritto:

hi all,
I have deployed the GS1.6 RC2 war under the tomcat 5.5.
When I started tomcat,it reported log as below:
__________________________________________________
25 十二月 09:44:32 ERROR [context.ContextLoader] - Context initialization
failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'geoServer' defined in URL
[jar:file:/e:/Apache/Tomcat%205.5/webapps/geoserver/WEB-INF/lib/main-1.6.0-RC2.jar!/applicationContext.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.FatalBeanException: Could not instantiate class
[org.vfny.geoserver.global.GeoServer]; constructor threw exception; nested
exception is java.lang.NoSuchFieldError: KEY_CACHED_TILE_RECYCLING_ENABLED
org.springframework.beans.FatalBeanException: Could not instantiate class
[org.vfny.geoserver.global.GeoServer]; constructor threw exception; nested
exception is java.lang.NoSuchFieldError: KEY_CACHED_TILE_RECYCLING_ENABLED
java.lang.NoSuchFieldError: KEY_CACHED_TILE_RECYCLING_ENABLED

Hum, this question is becoming common enough that I've added a FAQ for it:
http://docs.codehaus.org/pages/viewpage.action?pageId=41484313

Let me know if this helps
Cheers
Andrea