On 16.10.2012, at 15:26, majin_clo...@t-online.de wrote: > Thanks for your reply. :) > > my web.xml looks like this: > > <?xml version="1.0" encoding="UTF-8"?> > <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> > > <listener> > > <listener-class>org.test.web.servlets.BigBangServletContextListener</listener-class> > </listener> > >> Oct 16, 2012 12:46:47 PM org.apache.catalina.startup.HostConfig >> deployWAR >> INFO: Deploying web application archive test.war >> Oct 16, 2012 12:46:47 PM > org.apache.catalina.loader.WebappClassLoader >> validateJarFile >> INFO: >> validateJarFile(/var/lib/tomcat6/webapps/test/WEB-INF/lib/servlet-api-2.5-6.1.14.jar) >> - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending >> class: javax/servlet/Servlet.class
You must not include the servlet API as .jar in your web app. It is provided by the container. Remove this file. This is not your problem though - as the message says, it is not loaded. >> SEVERE: Error listenerStart This means the listener defined above (org.test.web.servlets.BigBangServletContextListener) does not start. Either that class is not found, it does not implement the ServletContextListener interface or it fails to initialize internally. Maybe other log files have more info, or s.o. else knows more details on how these cases are distinguished - or even better just verify all three possibilities yourself Rainer --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org