You can try remove the test/WEB-INF/lib/servlet-api-2.5-6.1.14.jar ,
cantalou89 From: majin_clo...@t-online.de Date: 2012-10-16 21:26 To: Tomcat Users List Subject: Re: FAIL - Application at context path /test could not be started 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> <servlet> <servlet-name>BatchSetPreferences</servlet-name> <servlet-class>org.test.web.servlets.BatchSetPreferencesServlet</servlet-class> </servlet> <servlet> <servlet-name>SetPreference</servlet-name> <servlet-class>org.test.web.servlets.SetPreferenceServlet</servlet-class> </servlet> <servlet> <servlet-name>Train</servlet-name> <servlet-class>org.test.web.servlets.TrainServlet</servlet-class> </servlet> <servlet> <servlet-name>Recommend</servlet-name> <servlet-class>org.test.web.servlets.RecommendServlet</servlet-class> </servlet> <servlet> <servlet-name>AddCandidate</servlet-name> <servlet-class>org.test.web.servlets.AddCandidateServlet</servlet-class> </servlet> <servlet> <servlet-name>BatchAddCandidates</servlet-name> <servlet-class>org.test.web.servlets.BatchAddCandidatesServlet</servlet-class> </servlet> <servlet> <servlet-name>DeleteCandidate</servlet-name> <servlet-class>org.test.web.servlets.DeleteCandidateServlet</servlet-class> </servlet> <servlet> <servlet-name>BatchDeleteCandidates</servlet-name> <servlet-class>org.test.web.servlets.BatchDeleteCandidatesServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>BatchSetPreferences</servlet-name> <url-pattern>/batchSetPreferences</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>SetPreference</servlet-name> <url-pattern>/setPreference</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>Train</servlet-name> <url-pattern>/train</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>Recommend</servlet-name> <url-pattern>/recommend</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>AddCandidate</servlet-name> <url-pattern>/addCandidate</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>BatchAddCandidates</servlet-name> <url-pattern>/batchAddCandidates</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>DeleteCandidate</servlet-name> <url-pattern>/deleteCandidate</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>BatchDeleteCandidates</servlet-name> <url-pattern>/batchDeleteCandidates</url-pattern> </servlet-mapping> </web-app> Von: Daniel Barcellos <danielpoa...@gmail.com> An: Tomcat Users List <users@tomcat.apache.org>, "majin_clo...@t-online.de" <majin_clo...@t-online.de> Betreff: Re: FAIL - Application at context path /test could not be started Datum: Tue, 16 Oct 2012 15:19:17 +0200 could you missing something on you web.xml ? 2012/10/16 majin_clo...@t-online.de [1] <majin_clo...@t-online.de [2]> > Hello guys, > > well I could successfull deploy my web-application "test" on > tomcat. > My problem is now: If I want to run my web-application I get the > following error: > > FAIL - Application at context path /test could not be started > > Does anyone know why this happen? Here ist the content of my > catalina.out: > > Oct 16, 2012 12:46:46 PM > org.apache.catalina.startup.ClassLoaderFactory validateFile > WARNING: Problem with directory [/usr/share/tomcat6/server/classes], > exists: [false], isDirectory: [false], canRead: [false] > Oct 16, 2012 12:46:46 PM > org.apache.catalina.startup.ClassLoaderFactory validateFile > WARNING: Problem with directory [/usr/share/tomcat6/server], exists: > [false], isDirectory: [false], canRead: [false] > Oct 16, 2012 12:46:46 PM > org.apache.catalina.startup.ClassLoaderFactory validateFile > WARNING: Problem with directory [/usr/share/tomcat6/shared/classes], > exists: [false], isDirectory: [false], canRead: [false] > Oct 16, 2012 12:46:46 PM > org.apache.catalina.startup.ClassLoaderFactory validateFile > WARNING: Problem with directory [/usr/share/tomcat6/shared], exists: > [false], isDirectory: [false], canRead: [false] > Oct 16, 2012 12:46:46 PM org.apache.coyote.http11.Http11Protocol init > INFO: Initializing Coyote HTTP/1.1 on http-8080 > Oct 16, 2012 12:46:46 PM org.apache.catalina.startup.Catalina load > INFO: Initialization processed in 385 ms > Oct 16, 2012 12:46:47 PM org.apache.catalina.core.StandardService > start > INFO: Starting service Catalina > Oct 16, 2012 12:46:47 PM org.apache.catalina.core.StandardEngine start > INFO: Starting Servlet Engine: Apache Tomcat/6.0.35 > Oct 16, 2012 12:46:47 PM org.apache.catalina.startup.HostConfig > deployDescriptor > INFO: Deploying configuration descriptor manager.xml > Oct 16, 2012 12:46:47 PM org.apache.catalina.startup.HostConfig > deployDescriptor > INFO: Deploying configuration descriptor host-manager.xml > Oct 16, 2012 12:46:47 PM org.apache.catalina.startup.HostConfig > deployDescriptor > INFO: Deploying configuration descriptor ROOT.xml > 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 > Oct 16, 2012 12:46:47 PM org.apache.catalina.core.StandardContext > start > SEVERE: Error listenerStart > Oct 16, 2012 12:46:47 PM org.apache.catalina.core.StandardContext > start > SEVERE: Context [/test] startup failed due to previous errors > Oct 16, 2012 12:46:47 PM org.apache.coyote.http11.Http11Protocol start > INFO: Starting Coyote HTTP/1.1 on http-8080 > Oct 16, 2012 12:46:47 PM org.apache.catalina.startup.Catalina start > INFO: Server startup in 501 ms > > 2 things are strange for me in catalina.out but I don't know how to > solve them: > > 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 > > SEVERE: Error listenerStart > > Does anyone have tipps or so for me? The full day I ry to run my > web-application but I can't make it... > > Greetings, Clodan Links: ------ [1] javascript:void(0) [2] javascript:void(0)