Skip to main content

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

To turn on DEBUG logging with the start.jar, you can simply use the following command line.

$ java -jar start.jar DEBUG=true

---
Joakim Erdfelt / joakim@xxxxxxxxxxx


On Fri, Jul 17, 2009 at 11:46 AM, Chad La Joie <chad.lajoie@xxxxxxxxx> wrote:
Thanks for the quick response.

I feel foolish for having to ask this but...  how do I turn on debug logging?  I couldn't find it in the docs.

Joakim Erdfelt wrote:
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>
</Configure>

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 ----

java.net.MalformedURLException: no !/ in spec
      at java.net.URL.<init>(URL.java:601)
      at java.net.URL.<init>(URL.java:464)
      at java.net.URL.<init>(URL.java:413)
      at java.net.JarURLConnection.parseSpecs(JarURLConnection.java:161)
      at java.net.JarURLConnection.<init>(JarURLConnection.java:144)
      at
sun.net.www.protocol.jar.JarURLConnection.<init>(JarURLConnection.java:63)
      at sun.net.www.protocol.jar.Handler.openConnection(Handler.java:24)
      at java.net.URL.openConnection(URL.java:945)
      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(XmlParser.java:187)
      at org.eclipse.jetty.xml.XmlParser.parse(XmlParser.java:203)
      at
org.eclipse.jetty.webapp.TagLibConfiguration$TldProcessor.parse(TagLibConfiguration.java:149)
      at
org.eclipse.jetty.webapp.TagLibConfiguration.preConfigure(TagLibConfiguration.java:262)
      at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:343)
      at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:56)
      at
org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:164)
      at
org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)
      at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:56)
      at
org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:164)
      at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:56)
      at
org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:92)
      at org.eclipse.jetty.server.Server.doStart(Server.java:232)
      at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:56)
      at
org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:989)
      at java.security.AccessController.doPrivileged(Native Method)
      at
org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:954)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.eclipse.jetty.start.Main.invokeMain(Main.java:308)
      at org.eclipse.jetty.start.Main.start(Main.java:756)
      at org.eclipse.jetty.start.Main.main(Main.java:171)

--
SWITCH
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
chad.lajoie@xxxxxxxxx, http://www.switch.ch

_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users



------------------------------------------------------------------------


_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
SWITCH
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
chad.lajoie@xxxxxxxxx, http://www.switch.ch

_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top