On Thu, 13 Sep 2001, Rickard Öberg wrote:

> Date: Thu, 13 Sep 2001 12:40:35 +0200
> From: Rickard Öberg <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> Subject: Tomcat4-RC1: parse exception on taglibs
>
> Hey
>
> I've finally managed to get Catalina working with JBoss (I had not set
> "catalina.base", but no error was produced, just nothing happened).
>

Yesterday, I added an update to Embedded.start() to set "catalina.base" to
the value of "catalina.home" if it's not already set.  That way, others
won't get bit by this one.

> Anyway, the first thing I try is to deploy an app with a taglib JAR,
> with the TLD inside. But it seems like there's something wrong with the
> TLD parsing because I get this:
> org.xml.sax.SAXParseException: The markup in the document preceding the
> root element must
> be well-formed.
>
> And this happens no matter what I do with the actual TLD.
>
> Removing the taglib makes the WAR deploy properly, so it's definitely
> that which blows up.
>
> Any ideas?
>

It's certainly an odd symptom.  One potentially significant environmental
difference is that Embedded does not set up the usual class loader
hierarchy that org.apache.catalina.startup.Bootstrap does.  What is the
class loader environment when you're running into this?

> /Rickard
>

Craig

Reply via email to