Rickard Öberg wrote:
> Rickard Öberg wrote:
> > I've finally managed to get Catalina working with JBoss (I had not set
> > "catalina.base", but no error was produced, just nothing happened).
> >
> > 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.
> 
> This apparently only happens when the WAR is deployed through the
> EmbeddedManager MBean. When deploying the same WAR, with the taglib, as
> a webapp by placing it in /webapps and running startup.bat, there is no
> error.

Even more info. Setting debug level to high, and looking in the logs I
found this:
2001-09-13 17:12:35 ContextConfig[/webwork]:   URI='webwork',
ResourcePath='/WEB-INF/lib/webwork.jar'
2001-09-13 17:12:35 ContextConfig[/webwork]:    
tldConfigJar(/WEB-INF/lib/webwork.jar): java.lang.IllegalStateException:
zip file closed
2001-09-13 17:12:35 ContextConfig[/webwork]:    
tldConfigTld(/WEB-INF/lib/webwork.jar): org.xml.sax.SAXParseException:
The markup in the document preceding the root element must be
well-formed.

This does not happen if the webapp is deployed in /webapps and I run
Tomcat4 through startup.bat, only when I do it using the EmbeddedManager
MBean.

Any ideas? Should I just send this to the bug tracker and await any
response?

/Rickard

-- 
Rickard Öberg
Software Development Specialist
xlurc - Xpedio Linköping Ubiquitous Research Center
Author of "Mastering RMI"
Email: [EMAIL PROTECTED]

Reply via email to