[GIS] Geoserver 2.2.5 tomcat unable to load servlet2.5.jar

apachegeoservertomcat

am trying to use geoserver 2.2.5 with tomcat 7.0.34 following this tuto:
http://ian01.geog.psu.edu/geoserver_docs/software/geoserver.html
but am getting this error concerning the servlet jar:

     5 mai 2013 14:10:25 org.apache.catalina.core.StandardEngine startInternal
     INFO: Starting Servlet Engine: Apache Tomcat/7.0.34
     5 mai 2013 14:10:25 org.apache.catalina.startup.HostConfig deployWAR
     INFO: Déploiement de l'archive C:\Users\OUK\Desktop\PFE\tomcat-7.0.34\apache-tomcat-7.0.34\webapps\geoserver.war de l'application web
     5 mai 2013 14:10:26 org.apache.catalina.loader.WebappClassLoader validateJarFile
     INFO: validateJarFile(C:\Users\OUK\Desktop\PFE\tomcat-7.0.34\apache-tomcat-7.0.34\webapps\geoserver\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
     log4j:WARN File option not set for appender [geoserverlogfile].
     log4j:WARN Are you using FileAppender instead of ConsoleAppender?
     05 mai 14:10:35 WARN [config.CustomEditorConfigurer] - Passing PropertyEditor instances into CustomEditorConfigurer is deprecated: use PropertyEditorRegistrars or PropertyEditor class names instead. Offending key [org.geotools.util.Version; offending editor instance: org.geoserver.platform.util.VersionPropertyEditor@126456a
     5 mai 2013 14:10:35 org.geoserver.platform.GeoServerExtensions checkContext
     GRAVE: Extension lookup occured, but ApplicationContext is unset.
     05 mai 14:10:35 ERROR [geoserver.global] - 

can anyone figure out how to solve this problem, thnks.

Best Answer

This has nothing to do with the servlet-api-2.5.jar (note that the message that refers to this file is an INFO message not an error message). If you want to stop that message appearing just delete the file.

The problem starts with this message:

5 mai 2013 14:10:35 org.geoserver.platform.GeoServerExtensions checkContext GRAVE: Extension lookup occured, but ApplicationContext is unset.

You need to figure out what is causing this error message and fix that.

Related Question