Figured it out. Some of my jar files (xerces and xalan) got corrupted. Replaced them and are working perfectly fine.
Justin thanks for the sarcarstic remarks ;) - SPS ----- Original Message ----- From: Justin Ruthenbeck <[EMAIL PROTECTED]> Date: Friday, March 26, 2004 9:55 pm Subject: Re: Tomcat 4.1.27 fails to start > > <sarcasm> > I'm going to go out on a limb here and suggest that perhaps you > have some > xml that you just edited where you included the string "--" within > a > comment block. I'm basing this guess on the error message that > you got: > > "The string "--" is not permitted within comments." > </sarcasm> > > Seriously, check the XML that you just edited and look for > something that > looks like: > > <!-- This is my comment -- it's not well-formed. --> > > Such a comment is malformed. If you can't figure out which xml it > is > (you should be able to), look at the source Catalina.java:449. > > Next time, you may want to consider thinking about the error > message you > got before posting to the list and, if you're going to post, give > some > context and an indication that you did so: > > "I was trying to edit my server.xml to add a new Coyote Connector, > which > I believe I did correctly. Now when I start my Tomcat with the > startup.bat file, I get the following error message: [Stack > Trace]. I > couldn't figure out what was causing this, so I bumped up the > debug > level, but didn't see anything. [Debug output]. I googled for "is > not > permitted within comments" but didn't find anything useful. I'm > offering > 40 karma points for anyone who can help me with this... please." > > ;) > justin > > > At 06:40 PM 3/26/2004, you wrote: > >Tomcat fails to start with the following stacktrace: > >--------- > >Catalina.start: org.xml.sax.SAXException: Stopping after fatal error: > >The string > > "--" is not permitted within comments. > >org.xml.sax.SAXException: Stopping after fatal error: The string > "--" > >is not per > >mitted within comments. > > at org.apache.xerces.framework.XMLParser.reportError > >(XMLParser.java:1228 > >) > > at > >org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XM > >LDocumentScanner.java:570) > > at > org.apache.xerces.framework.XMLDocumentScanner.scanComment>(XMLDocumen > >tScanner.java:1894) > > at > >org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.disp > >atch(XMLDocumentScanner.java:1121) > > at org.apache.xerces.framework.XMLDocumentScanner.parseSome > >(XMLDocumentS > >canner.java:381) > > at org.apache.xerces.framework.XMLParser.parse > >(XMLParser.java:1081) > > at org.apache.commons.digester.Digester.parse > >(Digester.java:1548) > > at > org.apache.catalina.startup.Catalina.start(Catalina.java:449)> > at org.apache.catalina.startup.Catalina.execute > >(Catalina.java:400) > > at org.apache.catalina.startup.Catalina.process > >(Catalina.java:180) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method)> at sun.reflect.NativeMethodAccessorImpl.invoke > >(NativeMethodAccessorImpl. > >java:39) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke > >(DelegatingMethodAcces > >sorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:324) > > at org.apache.catalina.startup.Bootstrap.main > >(Bootstrap.java:203) > >---------------------- > > > >We're using Tomcat 4.1.27, JDK 1.4.2 on Windows 2000 machine. > > > >Any thoughts? > > > >Thanks! > > > >- SPS > > > ______________________________________________ > Justin Ruthenbeck > Software Engineer, NextEngine Inc. > justinr - AT - nextengine DOT com > Confidential. See: > http://www.nextengine.com/confidentiality.php > ______________________________________________ > > > ------------------------------------------------------------------- > -- > 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]