This problem is possibly just a mismatch between the parser you've loaded
into the webapp (or which *we've* loaded into the webapp, in the case of
the 'standard-examples' application) and one that's otherwise being made
available to the webapp's logic.  From just the information you've given,
it's hard to come up with a specific scenario that could cause the error.

If you're using JDK 1.4, you might want to try a version of Tomcat 4.0.3+
specifically prepared for it; this way, you'll eliminate an extra copy of
the parser, which might (in your environment) be causing the
incompatibility.

Sorry not to be of more specific help, but there are too many variables
for me to make a "silver bullet" diagnosis from afar.

-- 
Shawn Bayern
Author, "JSP Standard Tag Library"  http://www.jstlbook.com
(coming this summer from Manning Publications)

On Fri, 29 Mar 2002, Tom Kochanowicz wrote:

> I am stumpted on getting the jstl examples to work. I am using Tomcat 4.0.1
> and get the following ROOT CAUSE error:
> 
> java.lang.ClassCastException:
> org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
>       at
> javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.
> java:103)
>       at
> org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:183)
> 
> I am using JSDK1.4 (which I'm sure comes with a parser).
> 
> Any Ideas?
> 
> Sincerely,
> 
> Tom Kochanowicz
> 
> 
> --
> 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]>

Reply via email to