Yes, validation may have been one issue. Although I made
no substantive changes of which I was aware, it was one of
the ways I could cause the install to hang, and crash tomcat
in the process.
However, the install task hung and crashed tomcat in two
other ways, as well:
a) An exception was thrown when a file was not found
as the servlet was inititializing.
b) An XML parsing exception was thrown when the
XML data file turned out to be ill-formed.
---------------
I had this:
<!DOCTYPE name>
<!ELEMENT ...>
</DOCTYPE>
instead of this:
<!DOCTYPE name
[
<!ELEMENT ...>
]>
------------------------
Remy Maucherat wrote:
> Eric Armstrong wrote:
> > There was another error I was seeing that went away,
> > for no apparent reason. But it may help you reproduce
> > the hang I was seeing.
> >
> > I was seeing an XML validation error on the web.xml file.
> > It showed the allowable DTD structure for the web-app
> > element, but careful inspection of that file multiple times
> > didn't turn up anything wrong with it. (It was the same file
> > I had used successfully with 3.1)
> >
> > I reformated a bit for readability, and after saving the file,
> > the error went away. Strange and mysterious for me,
> > but it may be another way to reproduce the install-hangs-
> > and-crashes-Tomcat problem.
>
> Tomcat 3.1 didn't do proper validation of the web.xml. Tomcat 4.x does,
> and this includes the element order.
> That may have been the problem.
>
> Remy
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>