[Jetty-support] problem when upgrading from jetty 4 to jetty 5

Itamar Farchy <[email protected]> Wed, 27 Feb 2013 11:34:04 +0200
Newsgroups gmane.comp.java.jetty.support
Message-ID <CAEsv5dec0G8akXLPfgiHc8Swc3A9GaxDDpccbAQRZNg4QKRt4w@mail.gmail.com>
--===============3984839982590270841==
Content-Type: multipart/alternative; boundary=20cf307812d6c807ab04d6b17a85

--20cf307812d6c807ab04d6b17a85
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Hi,

I=92m having trouble upgrading from jetty 4 to jetty 5.

I=92m running the next code in jetty 4:

                                httpListener =3D *new* SocketListener();

.

.

.

             org.mortbay.util.Log.instance().disableLog();

              org.mortbay.util.Log.instance().add(*new* HTTPServerLog());





where HTTPServerLog extends logSink



however these APIs are not supported in jetty 5,

is there an alternative way to perform the above APIs?

--20cf307812d6c807ab04d6b17a85
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><p class=3D"MsoNormal">Hi,</p>

<p class=3D"MsoNormal">I=92m having trouble upgrading from jetty 4 to jetty=
 5.</p>

<p class=3D"MsoNormal">I=92m running the next code in jetty 4:</p>

<p class=3D"MsoNormal">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0
<span style=3D"font-size:10.0pt;font-family:Consolas">httpListener =3D <b>n=
ew</b>
SocketListener();</span></p>

<p class=3D"MsoNormal" style=3D"margin-left:1.0in"><span style=3D"font-size=
:10.0pt;font-family:Consolas">.</span></p>

<p class=3D"MsoNormal" style=3D"margin-left:1.0in"><span style=3D"font-size=
:10.0pt;font-family:Consolas">.</span></p>

<p class=3D"MsoNormal" style=3D"margin-left:1.0in"><span style=3D"font-size=
:10.0pt;font-family:Consolas">.</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:10pt;font-family:Consolas;b=
ackground-color:white;background-repeat:initial initial">=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0
org.mortbay.util.Log.instance().disableLog();</span><span style=3D"font-siz=
e:10.0pt;font-family:Consolas"></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:10pt;font-family:Consolas">=
=A0=A0=A0=A0=A0=A0=A0=A0=A0
=A0=A0=A0 org.mortbay.util.Log.instance().add(</span><b><span style=3D"font=
-size:10.0pt;font-family:Consolas;color:#7f0055">new</span></b><span style=
=3D"font-size:10pt;font-family:Consolas"> HTTPServerLog());</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:10pt;font-family:Consolas">=
=A0</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:10pt;font-family:Consolas">=
=A0</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:10pt;font-family:Consolas">=
where HTTPServerLog extends logSink</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:10pt;font-family:Consolas">=
=A0</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:10pt;font-family:Consolas">=
however these APIs are not supported in jetty 5, </span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:10pt;font-family:Consolas">=
is there an alternative way to perform the above APIs?</span></p></div>

--20cf307812d6c807ab04d6b17a85--


--===============3984839982590270841==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
--===============3984839982590270841==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Jetty-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jetty-support

--===============3984839982590270841==--