aha!!

Ok, I looked at the xml dtd declaration at the top...  the error was that my web.xml 
said 

"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";

when it should be 2.3 !

I compared my web.xml with the web.xml file from the example apps and saw the 
discrepancy.  That makes all the difference in the world.

mark


-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2003 11:24 AM
To: Tomcat Users List
Subject: RE: SAX Exception



Howdy,
Is your web.xml valid according to the Servlet Specification v2.3 DTD?

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Turansky, Mark [mailto:[EMAIL PROTECTED]
>Sent: Monday, July 14, 2003 11:16 AM
>To: [EMAIL PROTECTED]
>Subject: SAX Exception
>
>I get these exceptions....
>
>SEVERE: Parse Error at line 175 column 12: Element type "listener" must
be
>declared.
>org.xml.sax.SAXParseException: Element type "listener" must be
declared.
>SEVERE: Parse Error at line 176 column 25: Element type
"listener-class"
>must be declared.
>org.xml.sax.SAXParseException: Element type "listener-class" must be
>declared.
>
>
>The corresponding lines of web.xml area:
>
><listener>
>
<listener-class>com.keymind.core.users.UserSessionListener</listener-
>class>
></listener>
>
>
>The funny thing is... the listener class works just fine.  No errors at
>runtime.  That exception is thrown when I start up Tomcat.  I am
running
>Tomcat 4.1.24
>
>any suggestions or ideas?
>
>Thanks in advance,
>Mark
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
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]

Reply via email to