Do you have

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd";>

in your web.xml?

Ralf

Konstantin Priblouda wrote:
> 
> Hi all,
> I use this bundle ( I suppose beta-2 with security
> integration ) and get annoying errors from tomcat:
> 
>  --- snip---
> [EmbeddedTomcatSX] Warning: validation was turned on
> but an org.xml.sax.ErrorHandler was not
> [EmbeddedTomcatSX] set, which is probably not what is
> desired.  Parser will use a default
> [EmbeddedTomcatSX] ErrorHandler to print the first 10
> errors.  Please call
> [EmbeddedTomcatSX] the 'setErrorHandler' method to fix
> this.
> [EmbeddedTomcatSX] Error: URI=null Line=50: Element
> "web-app" does not allow "servlet" here.
> [EmbeddedTomcatSX] Error: URI=null Line=78: Element
> "web-app" does not allow "servlet-mapping" here.
> [EmbeddedTomcatSX] Error: URI=null Line=85: Element
> "web-app" does not allow "session-config" here.
> [EmbeddedTomcatSX] Error: URI=null Line=91: Element
> "web-app" does not allow "welcome-file-list" here.
> [EmbeddedTomcatSX] Error: URI=null Line=96: Element
> "web-app" does not allow "taglib" here.
> [EmbeddedTomcatSX] Error: URI=null Line=103: Element
> "web-app" does not allow "taglib" here.
> [EmbeddedTomcatSX] Error: URI=null Line=108: Element
> "web-app" does not allow "taglib" here.
> [EmbeddedTomcatSX] Error: URI=null Line=113: Element
> "web-app" does not allow "taglib" here.
> 
>  --- snap ---
> 
>  Obviously they happen during compilation ( generation
> )
> phase of jsp's ( line numbers correspond to lines
> of web.xml )
> 
> I looked into jars, and found web.dtd where it
> supposed to be.
> 
>  Any ideas how to stop this annoying warning?
> 
> tia,
> 
> =====
> Konstantin Priblouda ( ko5tik )    Freelance Software developer
> < http://www.pribluda.de > < play java games -> http://www.yook.de >
> < render charts online -> http://www.pribluda.de/povray/ >
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to