Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Cryptic Error Message

There's a TLD arriving from somewhere that is declared but can't be found/parsed.
It can come from a variety of sources, even inside of your dependencies (jar & zip files) in WEB-INF/lib/ dir.

You'll want to figure out what TLD is being declared and not found (or bad).

You have 2 choices at this point ...
1) Try starting up your app (via command line) with DEBUG enabled (it will be noisy).

That should output some lines with the "TLD=" right before that exception telling you what TLD it is attempting to parse.

2) Update your svn tree. I made the log output some more details on the TLD/Resource that is attempted to be loaded. (r563)

Good luck.

Joakim Erdfelt / joakim@xxxxxxxxxxx

On Fri, Jul 17, 2009 at 10:57 AM, Chad La Joie <chad.lajoie@xxxxxxxxx> wrote:
I'm testing with the Jetty 7 built from rev 560, latest rev as off a 30 mins ago, or so.

I'm trying to deploy my application via a context descriptor:
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
 <Set name="war">/opt/idp/shibboleth-idp/war/idp.war</Set>
 <Set name="contextPath">/idp</Set>
 <Set name="extractWAR">false</Set>
 <Set name="copyWebDir">false</Set>

When the context is starting I receive the exception below.  The odd part is that the error seems to be occurring while the deployer is attempting to parse a TLD (tag lib descriptor).   The reason I find that odd is because I have no TLDs in my app.  Could someone suggest what the issue might be?

---- BEGIN ERROR ---- no !/ in spec
       at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
       at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
       at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
       at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
       at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
       at org.eclipse.jetty.xml.XmlParser.parse(
       at org.eclipse.jetty.xml.XmlParser.parse(
       at org.eclipse.jetty.webapp.TagLibConfiguration$TldProcessor.parse(
       at org.eclipse.jetty.webapp.TagLibConfiguration.preConfigure(
       at org.eclipse.jetty.webapp.WebAppContext.doStart(
       at org.eclipse.jetty.util.component.AbstractLifeCycle.start(
       at org.eclipse.jetty.server.handler.HandlerCollection.doStart(
       at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(
       at org.eclipse.jetty.util.component.AbstractLifeCycle.start(
       at org.eclipse.jetty.server.handler.HandlerCollection.doStart(
       at org.eclipse.jetty.util.component.AbstractLifeCycle.start(
       at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(
       at org.eclipse.jetty.server.Server.doStart(
       at org.eclipse.jetty.util.component.AbstractLifeCycle.start(
       at org.eclipse.jetty.xml.XmlConfiguration$
       at Method)
       at org.eclipse.jetty.xml.XmlConfiguration.main(
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(
       at java.lang.reflect.Method.invoke(
       at org.eclipse.jetty.start.Main.invokeMain(
       at org.eclipse.jetty.start.Main.start(
       at org.eclipse.jetty.start.Main.main(

Serving Swiss Universities
Chad La Joie, Software Engineer, Net Services
Werdstrasse 2, P.O. Box, 8021 Zürich, Switzerland
phone +41 44 268 15 75, fax +41 44 268 15 68

jetty-users mailing list

Back to the top