This looks like the XML telling you that although it
has been instructed to check the grammar of your
webapps deployment descriptor (web.xml, jboss-web.xml)
it hasn't been given a custom error handler through
which to report problems - but it will spit them out
anyway.
element webapp does not allow servlet here probably
means that in your descriptor you have a servlet
element nested in a webapp element in a place where it
is ungrammatical. The parser has spotted this and is
warning you.
look carefully at the jsdk-1.2 doc and your web.xml
file.
good luck,
Jules
--- Richard Conway <[EMAIL PROTECTED]> wrote:
>
> I'm using 'JBoss-2.2.1_Tomcat-3.2.1' running on
> Solaris 2.6.
>
> I'm getting the occasional set of lines in my
> logfile...
>
> [EmbeddedTomcat] Warning: validation was turned on
> but an
> org.xml.sax.ErrorHandler was not
> [EmbeddedTomcat] set, which is probably not what is
> desired. Parser will
> use a default
> [EmbeddedTomcat] ErrorHandler to print the first 10
> errors. Please call
> [EmbeddedTomcat] the 'setErrorHandler' method to fix
> this.
> [EmbeddedTomcat] Error: URI=null Line=18: Element
> "web-app" does not allow
> "servlet" here.
>
> ... What's all this about then ?
>
> The application appears to be behaving itself
> despite these messages.
>
> Any ideas ?
>
> Richard.
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
>
http://lists.sourceforge.net/lists/listinfo/jboss-user
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user