Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 63079 invoked from network); 14 Nov 2007 20:29:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Nov 2007 20:29:09 -0000 Received: (qmail 76272 invoked by uid 500); 14 Nov 2007 20:28:45 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 76253 invoked by uid 500); 14 Nov 2007 20:28:45 -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 76242 invoked by uid 99); 14 Nov 2007 20:28:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2007 12:28:45 -0800 X-ASF-Spam-Status: No, hits=2.1 required=10.0 tests=FU_COMMON_SUBS2,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [216.148.227.155] (HELO rwcrmhc15.comcast.net) (216.148.227.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2007 20:29:39 +0000 Received: from rmailcenter07.comcast.net ([204.127.197.117]) by comcast.net (rwcrmhc15) with SMTP id <20071114202826m15009tgbde>; Wed, 14 Nov 2007 20:28:26 +0000 Received: from [128.107.248.220] by rmailcenter07.comcast.net; Wed, 14 Nov 2007 20:28:25 +0000 From: uma_rk@comcast.net To: "Tomcat Users List" , "Tomcat Users List" Cc: "Martin Gainty" Subject: Re: Date: Wed, 14 Nov 2007 20:28:25 +0000 Message-Id: <111420072028.1404.473B5A6900057AE80000057C2200734076059DA10E039A@comcast.net> X-Mailer: AT&T Message Center Version 1 (Oct 30 2007) X-Authenticated-Sender: dW1hX3JrQGNvbWNhc3QubmV0 X-Virus-Checked: Checked by ClamAV on apache.org Again, thanks for your time. Just after I wrote the list, I discovered an older version of xerces in the webapp. That fixed it! Thanks! /Uma -------------- Original message ---------------------- From: "Martin Gainty" > what version xerces are you using in WEB-INF/lib?..(I have 2.8.1.. although > the later distros should parse xsd) > http://www.apache.org/dist/xerces/j/ > > M-- > ----- Original Message ----- > From: > To: "Tomcat Users List" ; "Tomcat Users List" > > Cc: "Martin Gainty" > Sent: Wednesday, November 14, 2007 2:15 PM > > > > Martin, > > > > Thanks for your help. I now get a verbose output on why my context load > > fails: it has to do with the Spring context load listener failing to load > the right XML > > parser to load an XML configuration. > > > > The reason I am posting this to Tomcat's list is this: I have xercesImpl > ver 2.9.0 > > in ${CATALINA_BASE}/lib and am using JRE6.0. Yet, the context seems to > fail > > to load the parser. Does this stack trace ring a bell on what the root > cause might be? > > > > If this is irrelevant to Tomcat, pl accept my apologies! > > > > 2007-11-14 11:09:06,371 ERROR [main] context.ContextLoader:205 - > Context initialization failed > > org.springframework.beans.factory.BeanDefinitionStoreException: Unable to > validate using XSD: Your JAXP provider > [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@e3c624] does not support > XML Schema. Are you running on Java 1.4 or below with Apache Crimson? > Upgrade to Apache Xerces (or Java 1.5) for full XSD support. > > at > org.springframework.beans.factory.xml.DefaultDocumentLoader.createDocumentBu > ilderFactory(DefaultDocumentLoader.java:102) > > > > > > Tx, > > > > /Uma > > > > -------------- Original message ---------------------- > > From: "Martin Gainty" > > > did you verify your configuration files are proper XML ? > > > which parameter does ContextListener error out on? > > > do you see the message "INFO: ContextListener: contextInitialized()" > > > anywhere in the logs? > > > > > > Log4j.properties has the requisite parameters in and is webapp > accessible > > > when located in /WEB-INF/classes location > > > http://logging.apache.org/log4j/1.2/manual.html > > > > > > ##log4j.properties > > > #identify logfile as receptor of log for root > > > log4j.rootLogger=logfile > > > > > > log4j.appender.logfile=org.apache.log4j.RollingFileAppender > > > > log4j.appender.logfile.File=${CATALINA_HOME}/webapps/YourWebApp/WEB-INF/BigL > > > og.log > > > log4j.appender.logfile.MaxFileSize=512KB > > > # Keep three backup files. > > > log4j.appender.logfile.MaxBackupIndex=3 > > > # Pattern to output: date priority [category] - message > > > log4j.appender.logfile.layout=org.apache.log4j.PatternLayout > > > log4j.appender.logfile.layout.ConversionPattern=%d %p [%c] - %m%n > > > > > > > > > M- > > > ----- Original Message ----- > > > From: > > > To: "Tomcat Users List" > > > Sent: Wednesday, November 14, 2007 11:32 AM > > > Subject: Error: ListenerStart > > > > > > > > > > > > > > Environment: Jre6, Tomcat 6.0.14, Linux Redhat > > > > > > > > Is there a Tomcat (6.x) specific way of making ContextListener more > > > verbose > > > > in its "Error: listenerStart" message? I mean is there a log4j setting > for > > > Tomcat > > > > that I can enable to identify why the context load fails? > > > > > > > > Tx, > > > > > > > > /U > > > > > > > > --------------------------------------------------------------------- > > > > To start a new topic, e-mail: users@tomcat.apache.org > > > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > > > > For additional commands, e-mail: users-help@tomcat.apache.org > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To start a new topic, e-mail: users@tomcat.apache.org > > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > > > For additional commands, e-mail: users-help@tomcat.apache.org > > > > > > > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org