Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 69050 invoked from network); 17 Feb 2010 09:07:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Feb 2010 09:07:58 -0000 Received: (qmail 99440 invoked by uid 500); 17 Feb 2010 09:07:54 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 99364 invoked by uid 500); 17 Feb 2010 09:07:54 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 99353 invoked by uid 99); 17 Feb 2010 09:07:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 09:07:54 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aw@ice-sa.com designates 212.85.38.228 as permitted sender) Received: from [212.85.38.228] (HELO tor.combios.es) (212.85.38.228) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 09:07:46 +0000 Received: from localhost (localhost [127.0.0.1]) by tor.combios.es (Postfix) with ESMTP id 8B30B22607D for ; Wed, 17 Feb 2010 10:07:24 +0100 (CET) Received: from tor.combios.es ([127.0.0.1]) by localhost (tor.combios.es [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dJ7OzmRiQPEn for ; Wed, 17 Feb 2010 10:07:24 +0100 (CET) Received: from [192.168.245.129] (p549EA98F.dip0.t-ipconnect.de [84.158.169.143]) by tor.combios.es (Postfix) with ESMTPA id 3C818226076 for ; Wed, 17 Feb 2010 10:07:24 +0100 (CET) Message-ID: <4B7BB1AD.4030306@ice-sa.com> Date: Wed, 17 Feb 2010 10:06:53 +0100 From: =?UTF-8?B?QW5kcsOpIFdhcm5pZXI=?= Reply-To: Tomcat Users List User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Tomcat context startup failed References: <4D8250A64CBB31419B00B80AE5B319A716CDAE3CA6@INBOMW77M1MSX.in002.siemens.net> In-Reply-To: <4D8250A64CBB31419B00B80AE5B319A716CDAE3CA6@INBOMW77M1MSX.in002.siemens.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hadole, Nishant IN BOM SISL wrote: > Dear Simone, > > The obvious error displayed from log is " java.lang.NoClassDefFoundError: org/apache/xerces/util/EncodingMap". First check whether the xerces jar containing mentioned class is in place. Try downloading new jar and again restart the tomcat services. > I am no great Java or Eclipse expert, but sometimes one wonders how explicit an error log message must be, that one would notice. In the submitted logfile, these two errors happen first : > 16-feb-2010 16.48.14 org.apache.catalina.loader.WebappClassLoader validateJarFile > INFO: validateJarFile(C:\Program Files\Apache\Tomcat55\webapps\Calzedonia2007\WEB-INF\lib\j2ee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class > 16-feb-2010 16.48.14 org.apache.catalina.loader.WebappClassLoader validateJarFile > INFO: validateJarFile(C:\Program Files\Apache\Tomcat55\webapps\Calzedonia2007\WEB-INF\lib\javaee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class In section 9.7.2 of the servlet spec, it says : SRV.9.7.2 Web Application Class Loader ... As described in the J2EE license agreement, servlet containers that are not part of a J2EE product should not allow the application to override J2SE platform classes, such as those in the java.* and javax.* namespaces, that J2SE does not allow to be modified. Also, servlet containers that are part of a J2EE product should not allow the application to override J2SE or J2EE platform classes, such as those in java.* and javax.* namespaces, that either J2SE or J2EE do not allow to be modified. The container should not allow applications to override or access the container’s implementation... I would tend to interpret this as : - this web application tries to load jar files containing classes which would redefine classes of the JVM. The log message also indicates which jar's that is. - the container (Tomcat) thus - rightly according to the spec - rejects the loading of these jar's. - and then, later on, something else fails, maybe because another class (which may also have been in these rejected jar's) is missing. Should not the first two errors above be attended to first ? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org