logo       

Re: Jetty strange traces?: msg#00068

java.jetty.general

Subject: Re: Jetty strange traces?


Davide,

as Jan said, these are normal.

I log them as IGNORED because I hate empty catch statements (you never know...)

If you specified lots of type="..." attributes in your XML you may be able to reduce the searching that XmlConfiguration has to do to identify the correct methods to call.

cheers



DE BENEDICTIS DAVIDE wrote:
While I was configuring log4j, for a while I set to DEBUG Jetty 5.0
traces.
During Jetty startup I found:

2004-09-21 17:26:51,169 DEBUG XmlConfiguration - new class
org.mortbay.http.SocketListener
2004-09-21 17:26:51,185 DEBUG XmlConfiguration -
SocketListener0@xxxxxxx:0.setPort(class java.lang.String 8081)
2004-09-21 17:26:51,185 DEBUG XmlConfiguration - IGNORED java.lang.NoSuchMethodException:
org.mortbay.http.SocketListener.setPort(java.lang.String)
at java.lang.Class.getMethod(Class.java:986)
......

2004-09-21 17:26:51,201 DEBUG XmlConfiguration - IGNORED java.lang.NoSuchFieldException: TYPE
at java.lang.Class.getField(Class.java:919)
at
org.mortbay.xml.XmlConfiguration.set(XmlConfiguration.java:309)

....

And so on.

Is it normal getting these errors? At first glance it seems like that
XML configuration is failing but everything works fine.

Thanks

--
Davide


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise