RE: weird digester issues
Hi, Digester is not liking your web.xml -- please post it. Yoav Shapira Millennium ChemInformatics -Original Message- From: Andre Mermegas [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 3:31 PM To: [EMAIL PROTECTED] Subject: weird digester issues Hey All, I'm trying to get my application up and running in tomcat for some testing, the original container is websphere and im getting my logs files completely spammed with digester output Looks like this on and on and on until I kill the process, any ideas why? (DEBUG) [2003-12-04 13:45:37,548] digester.Digester.addRuleSet - addRuleSet() with no namespace URI (DEBUG) [2003-12-04 13:45:37,563] digester.Digester.setDocumentLocator - setDocumentLocator(org.apache.xerces.parsers.AbstractSAXParser$LocatorP roxy @ 1ad6b4b) (DEBUG) [2003-12-04 13:45:37,563] digester.Digester.startDocument - startDocument() (DEBUG) [2003-12-04 13:45:37,563] digester.Digester.notationDecl - notationDecl(WEB-JSPTAGLIB.1_2,-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN,null) (DEBUG) [2003-12-04 13:45:37,563] digester.Digester.startPrefixMapping - startPrefixMapping(xml,http://www.w3.org/XML/1998/namespace) (DEBUG) [2003-12-04 13:45:37,579] digester.Digester.startPrefixMapping - startPrefixMapping(xmlns,http://www.w3.org/2000/xmlns/) (DEBUG) [2003-12-04 13:45:37,579] digester.Digester.startElement - startElement(,,taglib) (DEBUG) [2003-12-04 13:45:37,579] digester.Digester.startElement - Pushing body text '' (DEBUG) [2003-12-04 13:45:37,579] digester.Digester.startElement - New match='taglib' (DEBUG) [2003-12-04 13:45:37,579] digester.Digester.startElement - No rules found matching 'taglib'. (DEBUG) [2003-12-04 13:45:37,579] digester.Digester.ignorableWhitespace - ignorableWhitespace( ) (DEBUG) [2003-12-04 13:45:37,579] digester.Digester.startPrefixMapping - startPrefixMapping(xml,http://www.w3.org/XML/1998/namespace) (DEBUG) [2003-12-04 13:45:37,579] digester.Digester.startPrefixMapping - startPrefixMapping(xmlns,http://www.w3.org/2000/xmlns/) (DEBUG) [2003-12-04 13:45:37,579] digester.Digester.startElement - startElement(,,tlib-version) (DEBUG) [2003-12-04 13:45:37,579] digester.Digester.startElement - Pushing body text '' (DEBUG) [2003-12-04 13:45:37,579] digester.Digester.startElement - New match='taglib/tlib-version' (DEBUG) [2003-12-04 13:45:37,595] digester.Digester.startElement - No rules found matching 'taglib/tlib-version'. (DEBUG) [2003-12-04 13:45:37,595] digester.Digester.characters - characters(1.0) (DEBUG) [2003-12-04 13:45:37,595] digester.Digester.endElement - endElement(,,tlib-version) (DEBUG) [2003-12-04 13:45:37,595] digester.Digester.endElement - match='taglib/tlib-version' (DEBUG) [2003-12-04 13:45:37,595] digester.Digester.endElement - bodyText='1.0' (DEBUG) [2003-12-04 13:45:37,595] digester.Digester.endElement - No rules found matching 'taglib/tlib-version'. (DEBUG) [2003-12-04 13:45:37,595] digester.Digester.endElement - Popping body text '' (DEBUG) [2003-12-04 13:45:37,610] digester.Digester.endPrefixMapping - endPrefixMapping(xml) (DEBUG) [2003-12-04 13:45:37,610] digester.Digester.endPrefixMapping - endPrefixMapping(xmlns) (DEBUG) [2003-12-04 13:45:37,610] digester.Digester.ignorableWhitespace - ignorableWhitespace( ) (DEBUG) [2003-12-04 13:45:37,610] digester.Digester.startPrefixMapping - startPrefixMapping(xml,http://www.w3.org/XML/1998/namespace) (DEBUG) [2003-12-04 13:45:37,610] digester.Digester.startPrefixMapping - startPrefixMapping(xmlns,http://www.w3.org/2000/xmlns/) (DEBUG) [2003-12-04 13:45:37,610] digester.Digester.startElement - startElement(,,jsp-version) (DEBUG) [2003-12-04 13:45:37,610] digester.Digester.startElement - Pushing body text '' (DEBUG) [2003-12-04 13:45:37,610] digester.Digester.startElement - New match='taglib/jsp-version' (DEBUG) [2003-12-04 13:45:37,610] digester.Digester.startElement - No rules found matching 'taglib/jsp-version'. (DEBUG) [2003-12-04 13:45:37,610] digester.Digester.characters - characters(1.2) (DEBUG) [2003-12-04 13:45:37,610] digester.Digester.endElement - endElement(,,jsp-version) (DEBUG) [2003-12-04 13:45:37,610] digester.Digester.endElement - match='taglib/jsp-version' (DEBUG) [2003-12-04 13:45:37,610] digester.Digester.endElement - bodyText='1.2' (DEBUG) [2003-12-04 13:45:37,610] digester.Digester.endElement - No rules found matching 'taglib/jsp-version'. (DEBUG) [2003-12-04 13:45:37,610] digester.Digester.endElement - Popping body text '' (DEBUG) [2003-12-04 13:45:37,610] digester.Digester.endPrefixMapping - endPrefixMapping(xml) (DEBUG) [2003-12-04 13:45:37,626] digester.Digester.endPrefixMapping - endPrefixMapping(xmlns) (DEBUG) [2003-12-04 13:45:37,626] digester.Digester.ignorableWhitespace - ignorableWhitespace( ) (DEBUG) [2003-12-04 13:45:37,626] digester.Digester.startPrefixMapping - startPrefixMapping(xml,http://www.w3.org/XML/1998/namespace) (DEBUG) [2003-12-04 13:45:37,626]
RE: weird digester issues
Looks like this. ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-nameBMS Web Application/display-name !-- Listeners -- listener listener-classcom.foo.bms.listeners.ApplicationContextListener/listener-c lass /listener !-- Standard Action Servlet Configuration (with debugging) -- servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value /init-param init-param param-namedebug/param-name param-value2/param-value /init-param init-param param-namedetail/param-name param-value2/param-value /init-param load-on-startup2/load-on-startup /servlet !-- Standard Action Servlet Mapping -- servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping !-- The Usual Welcome File List -- welcome-file-list welcome-fileindex.html/welcome-file welcome-fileindex.do/welcome-file welcome-fileindex.jsp/welcome-file /welcome-file-list !-- Tag Library Descriptors -- taglib taglib-urihttp://jakarta.apache.org/struts/tags-bean-el/taglib-uri taglib-location/WEB-INF/lib/struts-el.jar/taglib-location /taglib taglib taglib-urihttp://jakarta.apache.org/struts/tags-html-el/taglib-uri taglib-location/WEB-INF/lib/struts-el.jar/taglib-location /taglib taglib taglib-urihttp://jakarta.apache.org/struts/tags-logic-el/taglib-uri taglib-location/WEB-INF/lib/struts-el.jar/taglib-location /taglib taglib taglib-urihttp://jakarta.apache.org/struts/tags-bean/taglib-uri taglib-location/WEB-INF/lib/struts.jar/taglib-location /taglib taglib taglib-urihttp://jakarta.apache.org/struts/tags-html/taglib-uri taglib-location/WEB-INF/lib/struts.jar/taglib-location /taglib taglib taglib-urihttp://jakarta.apache.org/struts/tags-logic/taglib-uri taglib-location/WEB-INF/lib/struts.jar/taglib-location /taglib taglib taglib-urihttp://java.sun.com/jstl/core/taglib-uri taglib-location/WEB-INF/lib/standard.jar/taglib-location /taglib taglib taglib-urihttp://jakarta.apache.org/taglibs/log-1.0/taglib-uri taglib-location/WEB-INF/lib/taglibs-log.jar/taglib-location /taglib taglib taglib-urioscache/taglib-uri taglib-location/WEB-INF/lib/oscache.jar/taglib-location /taglib /web-app -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 3:37 PM To: Tomcat Users List Subject: RE: weird digester issues Hi, Digester is not liking your web.xml -- please post it. Yoav Shapira Millennium ChemInformatics -Original Message- From: Andre Mermegas [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 3:31 PM To: [EMAIL PROTECTED] Subject: weird digester issues Hey All, I'm trying to get my application up and running in tomcat for some testing, the original container is websphere and im getting my logs files completely spammed with digester output Looks like this on and on and on until I kill the process, any ideas why? (DEBUG) [2003-12-04 13:45:37,548] digester.Digester.addRuleSet - addRuleSet() with no namespace URI (DEBUG) [2003-12-04 13:45:37,563] digester.Digester.setDocumentLocator - setDocumentLocator(org.apache.xerces.parsers.AbstractSAXParser$LocatorP roxy @ 1ad6b4b) (DEBUG) [2003-12-04 13:45:37,563] digester.Digester.startDocument - startDocument() (DEBUG) [2003-12-04 13:45:37,563] digester.Digester.notationDecl - notationDecl(WEB-JSPTAGLIB.1_2,-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN,null) (DEBUG) [2003-12-04 13:45:37,563] digester.Digester.startPrefixMapping - startPrefixMapping(xml,http://www.w3.org/XML/1998/namespace) (DEBUG) [2003-12-04 13:45:37,579] digester.Digester.startPrefixMapping - startPrefixMapping(xmlns,http://www.w3.org/2000/xmlns/) (DEBUG) [2003-12-04 13:45:37,579] digester.Digester.startElement - startElement(,,taglib) (DEBUG) [2003-12-04 13:45:37,579] digester.Digester.startElement - Pushing body text '' (DEBUG) [2003-12-04 13:45:37,579] digester.Digester.startElement - New match='taglib' (DEBUG) [2003-12-04 13:45:37,579] digester.Digester.startElement - No rules found matching 'taglib'. (DEBUG) [2003-12-04 13:45:37,579] digester.Digester.ignorableWhitespace
RE: weird digester issues
I'm assuming that the separation of /listener-c and lass on the next line are due to line-wrap in your email client. If not, that is your problem. listener-classcom.foo.bms.listeners.ApplicationContextListener/listener-c lass /listener Beyond that, the document seems to obey the DTD (I scanned it visually against the DTD, and then opened the file in IE, which usually complains about obvious errors such as the one above) [EMAIL PROTECTED] 12/4/03 2:10:50 PM Looks like this. ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-nameBMS Web Application/display-name !-- Listeners -- listener listener-classcom.foo.bms.listeners.ApplicationContextListener/listener-c lass /listener Jeff Tulley ([EMAIL PROTECTED]) (801)861-5322 Novell, Inc., The Leading Provider of Net Business Solutions http://www.novell.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: weird digester issues
Yeah that is line wrapping, it also validates fine for me. -Original Message- From: Jeff Tulley [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 5:22 PM To: [EMAIL PROTECTED] Subject: RE: weird digester issues I'm assuming that the separation of /listener-c and lass on the next line are due to line-wrap in your email client. If not, that is your problem. listener-classcom.foo.bms.listeners.ApplicationContextListener/listener-c lass /listener Beyond that, the document seems to obey the DTD (I scanned it visually against the DTD, and then opened the file in IE, which usually complains about obvious errors such as the one above) [EMAIL PROTECTED] 12/4/03 2:10:50 PM Looks like this. ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-nameBMS Web Application/display-name !-- Listeners -- listener listener-classcom.foo.bms.listeners.ApplicationContextListener/listener-c lass /listener Jeff Tulley ([EMAIL PROTECTED]) (801)861-5322 Novell, Inc., The Leading Provider of Net Business Solutions http://www.novell.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]