<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
>
<!-- MHonArc v2.6.10 -->
	<channel>
		<title>jetty-dev</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jetty-dev/maillist.html</link>
		<description>jetty-dev</description>
		<language>en-us</language>
		<pubDate>Wed, 19 Jun 2013 23:10:08 GMT</pubDate>
		<lastBuildDate>Wed, 19 Jun 2013 23:10:08 GMT</lastBuildDate>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<generator>MHonArc RSS 2.0 RCFile</generator>
		<managingEditor>webmaster@eclipse.org (Webmaster)</managingEditor>
		<webMaster>webmaster@eclipse.org (Webmaster)</webMaster>
		<image>
			<title>jetty-dev</title>
			<url>http://www.eclipse.org/eclipse.org-common/themes/Phoenix/images/eclipse_home_header.jpg</url>
			<link>http://dev.eclipse.org/mhonarc/lists/jetty-dev/maillist.html</link>
		</image>
 

	<item>
		<title>[jetty-dev] Branch jetty-9.1 has been created</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jetty-dev/msg01802.html</link>
		<description>Just a heads up.The branch jetty-9.1 has been created.It is based off of the existing servlet-3.1-api branch. I&amp;#39;ll be merging jetty-9.1 branch to the existing javawebsocket-jsr branch now.And tomorrow morning the javawebsocket-jsr branch will be merged bac...</description>
		<content:encoded><![CDATA[<div dir="ltr"><div style>Just a heads up.</div><div style><br></div><div style>The branch jetty-9.1 has been created.</div><div style>It is based off of the existing servlet-3.1-api branch.</div><div style><br></div><div style>
I&#39;ll be merging jetty-9.1 branch to the existing javawebsocket-jsr branch now.</div><div style>And tomorrow morning the javawebsocket-jsr branch will be merged back into the jetty-9.1 branch.</div><div style><br></div>
<div style>Eventually, this branch will become master, but as for when, that is still undetermined.</div><div><br></div><br clear="all"><div><div>--</div><div>Joakim Erdfelt &lt;<a href="mailto:joakim@xxxxxxxxxxx" target="_blank">joakim@xxxxxxxxxxx</a>&gt;</div>
<div><a href="http://www.webtide.com/" target="_blank">webtide.com</a></div><div><span>Developer advice, services and support</span><br><span>from the Jetty &amp; CometD experts</span></div><div><a href="http://eclipse.org/jetty/" target="_blank">eclipse.org/jetty</a>&#xA0;-&#xA0;<a href="http://cometd.org/" target="_blank">cometd.org</a></div>
</div>
</div>
]]></content:encoded>
		<pubDate>Wed, 19 Jun 2013 23:00:13 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jetty-dev/msg01802.html</guid>
		<author>joakim@xxxxxxx (Joakim Erdfelt)</author>
	</item>


	<item>
		<title>[jetty-dev] Newbie question - permission issue trying to utilize Bluetooth on I-Jetty for Android</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jetty-dev/msg01801.html</link>
		<description> Hi everyone.  I&amp;#8217;m brand new to web technologies AND android, so I appreciate your kindness if my questions are particularly ignorant. J   I&amp;#8217;ve been able to set up some simple Java Servlets using I-Jetty for Android, and now I&amp;#8217;m trying to utilize the Bluet...</description>
		<content:encoded><![CDATA[<table width="100%"><tr><td style="a:link { color: blue } a:visited { color: purple } ">


<div class="WordSection1">
<p class="MsoNormal">Hi everyone.&nbsp; I&#8217;m brand new to web technologies AND android, so I appreciate your kindness if my questions are particularly ignorant.
<span style="font-family:Wingdings">J</span><o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I&#8217;ve been able to set up some simple Java Servlets using I-Jetty for Android, and now I&#8217;m trying to utilize the Bluetooth services so I can effectively use the I-Jetty server as a &#8220;bridge&#8221; to a Bluetooth device.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Currently I&#8217;ve run into this problem and I&#8217;m stuck &#8211; any help would be appreciated.&nbsp; (FYI &#8211; I&#8217;ve been able to utilize Bluetooth in Beanshell using the PAW server, so I know its technically possible to do this in Android.&nbsp; I&#8217;m not sure what
 kind of &#8220;magic&#8221; PAW uses to make this possible, though &#8211; does the I-Jetty manifest need to be recompiled to get Bluetooth permissions or something like that??)<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<h2 style="background:white"><span style="color:black">HTTP ERROR 500<o:p></o:p></span></h2>
<p class="MsoNormal" style="background:white"><span style="font-size:13.5pt;color:black">Problem accessing /BtDemo6/servlet. Reason:<o:p></o:p></span></p>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp; Need BLUETOOTH permission: Neither user 10077 nor current process has android.permission.BLUETOOTH.<o:p></o:p></span></pre>
<h3 style="background:white"><span style="color:black">Caused by:<o:p></o:p></span></h3>
<pre style="background:white"><span style="color:black">java.lang.SecurityException: Need BLUETOOTH permission: Neither user 10077 nor current process has android.permission.BLUETOOTH.<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at android.os.Parcel.readException(Parcel.java:1425)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at android.os.Parcel.readException(Parcel.java:1379)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at android.bluetooth.IBluetooth$Stub$Proxy.isEnabled(IBluetooth.java:550)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at android.bluetooth.BluetoothAdapter.isEnabled(BluetoothAdapter.java:446)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at BtDemoServlet.doPost(BtDemoServlet.java:46)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:546)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:483)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.jetty.server.Server.handle(Server.java:349)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:449)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:910)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:647)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:233)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:76)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:615)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534)<o:p></o:p></span></pre>
<pre style="background:white"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.Thread.run(Thread.java:856)<o:p></o:p></span></pre>
<div class="MsoNormal" align="center" style="text-align:center;background:white">
<span style="color:black">
<hr size="3" width="100%" align="center">
</span></div>
<div style="mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;padding:0in 0in 1.0pt 0in">
<p class="MsoNormal" style="border:none;padding:0in"><i><span style="color:black">Powered by Jetty://</span></i><span style="font-size:13.5pt;color:black"><br>
<br>
<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:13.5pt;color:black"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.5pt;color:black">Here&#8217;s an excerpt of the relevant code in the servlet:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.5pt;color:black"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-size:10.0pt;font-family:Consolas;color:#7F0055">import</span></b><span style="font-size:10.0pt;font-family:Consolas;color:black"> android.bluetooth.*;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;
</span><b><span style="font-size:10.0pt;font-family:Consolas;color:#7F0055">import</span></b><span style="font-size:10.0pt;font-family:Consolas;color:black"> android.os.*;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;
</span><b><span style="font-size:10.0pt;font-family:Consolas;color:#7F0055">import</span></b><span style="font-size:10.0pt;font-family:Consolas;color:black"> android.content.*;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;
</span><b><span style="font-size:10.0pt;font-family:Consolas;color:#7F0055">import</span></b><span style="font-size:10.0pt;font-family:Consolas;color:black"> java.io.*;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;
</span><b><span style="font-size:10.0pt;font-family:Consolas;color:#7F0055">import</span></b><span style="font-size:10.0pt;font-family:Consolas;color:black"> java.util.*;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;
</span><b><span style="font-size:10.0pt;font-family:Consolas;color:#7F0055">import</span></b><span style="font-size:10.0pt;font-family:Consolas;color:black"> javax.servlet.*;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;
</span><b><span style="font-size:10.0pt;font-family:Consolas;color:#7F0055">import</span></b><span style="font-size:10.0pt;font-family:Consolas;color:black"> javax.servlet.http.*;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;
</span><b><span style="font-size:10.0pt;font-family:Consolas;color:#7F0055">import</span></b><span style="font-size:10.0pt;font-family:Consolas;color:black"> android.app.*;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;
</span><b><span style="font-size:10.0pt;font-family:Consolas;color:#7F0055">import</span></b><span style="font-size:10.0pt;font-family:Consolas;color:black"> android.view.*;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;
</span><b><span style="font-size:10.0pt;font-family:Consolas;color:#7F0055">public</span></b><span style="font-size:10.0pt;font-family:Consolas;color:black">
</span><b><span style="font-size:10.0pt;font-family:Consolas;color:#7F0055">class</span></b><span style="font-size:10.0pt;font-family:Consolas;color:black"> BtDemoServlet
</span><b><span style="font-size:10.0pt;font-family:Consolas;color:#7F0055">extends</span></b><span style="font-size:10.0pt;font-family:Consolas;color:black"> HttpServlet</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp; {</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><b><span style="font-size:10.0pt;font-family:Consolas;color:#7F0055">protected</span></b><span style="font-size:10.0pt;font-family:Consolas;color:black">
</span><b><span style="font-size:10.0pt;font-family:Consolas;color:#7F0055">void</span></b><span style="font-size:10.0pt;font-family:Consolas;color:black"> doPost(HttpServletRequest req, HttpServletResponse resp)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><b><span style="font-size:10.0pt;font-family:Consolas;color:#7F0055">throws</span></b><span style="font-size:10.0pt;font-family:Consolas;color:black"> ServletException, IOException</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;BluetoothAdapter mBluetoothAdapter;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PrintWriter out = resp.getWriter();</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; out.println(</span><span style="font-size:10.0pt;font-family:Consolas;color:#2A00FF">&quot;&lt;html&gt;&quot;</span><span style="font-size:10.0pt;font-family:Consolas;color:black">);</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; out.println(</span><span style="font-size:10.0pt;font-family:Consolas;color:#2A00FF">&quot;&lt;body&gt;&quot;</span><span style="font-size:10.0pt;font-family:Consolas;color:black">);</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><b><span style="font-size:10.0pt;font-family:Consolas;color:#7F0055">if</span></b><span style="font-size:10.0pt;font-family:Consolas;color:black"> (!mBluetoothAdapter.isEnabled())
</span><span style="font-size:10.0pt;font-family:Consolas;color:red">//This is the line that causes the error</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in;text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&#8230;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp; }</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">&nbsp;&nbsp;</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.5pt;color:black"><br>
<br>
<br>
</span><o:p></o:p></p>
</div>
<p>[CONFIDENTIALITY AND PRIVACY NOTICE]

Information transmitted by this email is proprietary to Medtronic and is intended for use only by the individual or entity to which it is addressed, and may contain information that is private, privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please delete this mail from your records.

To view this notice in other languages you can either select the following link or manually copy and paste the link into the address bar of a web browser: http://emaildisclaimer.medtronic.com</p>


</td></tr></table>]]></content:encoded>
		<pubDate>Tue, 11 Jun 2013 16:45:10 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jetty-dev/msg01801.html</guid>
		<author>mark.salzwedel@xxxxxxx (Salzwedel, Mark)</author>
	</item>


	<item>
		<title>[jetty-dev] WebSocket changes</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jetty-dev/msg01800.html</link>
		<description>There&amp;#39;s a number of websocket api changes I want to make, both short term and long term.What I need to know is what is appropriate for versioning these changes in. First the short term changes.1)&amp;#xA0;https://bugs.eclipse.org/bugs/show_bug.cgi?id=410175 410175 ...</description>
		<content:encoded><![CDATA[<div dir="ltr"><div style>There&#39;s a number of websocket api changes I want to make, both short term and long term.</div><div style>What I need to know is what is appropriate for versioning these changes in.</div><div style>
<br></div><div style>First the short term changes.</div><div style><br></div><div style>1)&#xA0;<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=410175">https://bugs.eclipse.org/bugs/show_bug.cgi?id=410175</a><br></div><div style>
410175 - WebSocketSession#isSecure() doesn&#39;t return true for SSL session on the server side<br></div><div style><br></div><div style>The heart of this bug ...</div><div style>Both the isSecure() flag is incorrect (a bug), and the URI returned from UpgradeRequest.getRequetURI() is the URI of the incoming servlet request (in other words the http/https scheme), not the ws:// format scheme.</div>
<div style><br></div><div style>2)&#xA0;<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=410370">https://bugs.eclipse.org/bugs/show_bug.cgi?id=410370</a></div><div style>WebSocketCreator.createWebSocket() should use servlet specific parameters<br>
</div><div style><br></div><div style>The createWebSocket() parameters are the generic API UpgradeRequest and UpgradeResponse interfaces. &#xA0;There has been a request to make that method be servlet specific.</div><div style>
This would introduce in the websocket-servlet package the ServletUpgradeRequest and ServletUpgradeResponse interfaces.</div><div style>The existing implementations for this in websocket-server is will be adjusted to use this new interface.</div>
<div style><br></div><div style>This change will also help with the next bug</div><div style>3)&#xA0;<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=410372">https://bugs.eclipse.org/bugs/show_bug.cgi?id=410372</a></div>
<div style>Make SSL client certificate information available to server websockets<br></div><div style><br></div><div style>This would expose the SSL client certificate in the new ServletUpgadeRequest interface (and implementation) for use in the WebSocketCreator.</div>
<div style><br></div><div style>These short term changes would affect the existing API so I don&#39;t want to make changes like this lightly, especially with the upcoming 9.0.x release and timing of the future 9.1.x branch.</div>
<div style><br></div><div style>For the longer term, we have many changes coming as a result of the JSR-356 (Java Websocket API) support, and that might be best put into the 9.1 release.</div><div style><br></div><div style>
Any opinions on where and when to make these short term API changes?</div><div><br></div><br clear="all"><div><div>--</div><div>Joakim Erdfelt &lt;<a href="mailto:joakim@xxxxxxxxxxx" target="_blank">joakim@xxxxxxxxxxx</a>&gt;</div>
<div><a href="http://www.webtide.com/" target="_blank">webtide.com</a></div><div><span>Developer advice, services and support</span><br><span>from the Jetty &amp; CometD experts</span></div><div><a href="http://eclipse.org/jetty/" target="_blank">eclipse.org/jetty</a>&#xA0;-&#xA0;<a href="http://cometd.org/" target="_blank">cometd.org</a></div>
</div>
</div>
]]></content:encoded>
		<pubDate>Mon, 10 Jun 2013 18:06:00 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jetty-dev/msg01800.html</guid>
		<author>joakim@xxxxxxx (Joakim Erdfelt)</author>
	</item>


	<item>
		<title>Re: [jetty-dev] (no subject)</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jetty-dev/msg01799.html</link>
		<description></description>
		<content:encoded><![CDATA[<div dir="ltr">Couple of things:<div><br></div><div style>- the xml configuration mode you are talking about is really just a thin skin over java itself, so everything you see in xml is easily doable in java, all the xml does is get processed and then called in java through reflection</div>

<div style><br></div><div style>-&#xC2;<a href="http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/example-jetty-embedded/src/main/java/org/eclipse/jetty/embedded/SecuredHelloHandler.java?h=jetty-8">http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/example-jetty-embedded/src/main/java/org/eclipse/jetty/embedded/SecuredHelloHandler.java?h=jetty-8</a> is an example of a simple hash login service being applied to the constraint security handler which handles the meat of the servlet api security configuration...that ought to get you going.</div>

<div style><br></div><div style>cheers,</div><div style>jesse</div><div class="gmail_extra"><br clear="all"><div>--<br>Jesse McConnell &lt;<a href="mailto:jesse@xxxxxxxxxxx" target="_blank">jesse@xxxxxxxxxxx</a>&gt;<br><a href="http://www.webtide.com" target="_blank">www.webtide.com</a> &#xE2; Developer advice, services and support from the Jetty &amp; CometD experts.</div>


<br><br><div class="gmail_quote">On Fri, May 31, 2013 at 9:40 AM, Dennis M Fashimpaur <span dir="ltr">&lt;<a href="mailto:dfashimpaur@xxxxxxxxx" target="_blank">dfashimpaur@xxxxxxxxx</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div dir="ltr" style="font-family:Calibri,&#39;Segoe UI&#39;,Meiryo,&#39;Microsoft YaHei UI&#39;,&#39;Microsoft JhengHei UI&#39;,&#39;Malgun Gothic&#39;,&#39;Khmer UI&#39;,&#39;Nirmala UI&#39;,Tunga,&#39;Lao UI&#39;,Ebrima,sans-serif;font-size:12pt">

<div><font><p><font style="font-size:12pt">Hello All,</font></p><font style="font-size:12pt">

</font><p><font style="font-size:12pt">I am not writing as an act of begging for help. As a senior developer I understand the need to research and analyze in order to </font><font style="font-size:12pt"></font><font style="font-size:12pt">implement an API for some functionality.</font></p>

<font style="font-size:12pt">

</font><p><font style="font-size:12pt">I have an application which uses Jetty 6.1.2 in heavily embedded form.  It implements adding UserRealms to the server for each login type for each of&#xC2;JDBC, SSO and LDAP authentication. The use of a specific type depends on the software implementation requirements at a client location.</font></p>

<font style="font-size:12pt">

</font><p><font style="font-size:12pt">I am currently trying to upgrade to Jetty 8.1.10  as we only support use of JDK1.6 in our apps at this time.&#xC2;</font></p><p><font style="font-size:12pt">I have been working for nearly a week to complete the upgrade.&#xC2; The only holdback/problem I am incurring relates to setting up the login services and implement&#xC2;them within the embedded classes already created.</font></p>

<p><font size="3">The problem I find is that all the API documentation I encounter relating to LoginServices, LoginModules, etc. all are examples of using the XML configuration mode and not the&#xC2;&#xE2;embedded&#xE2; flavor that Jetty recommends.</font></p>

<p><font size="3">Can anyone recommend any sites or document any of these login services implemented and associated with an embedded server instance?</font></p></font><p><font style="font-size:12pt">Best Regards,</font><br>

<br><font style="font-size:12pt">Dennis M Fashimpaur</font></p></div><div>&#xC2;</div></div></div><br>_______________________________________________<br>
jetty-dev mailing list<br>
<a href="mailto:jetty-dev@xxxxxxxxxxx">jetty-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/jetty-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/jetty-dev</a><br>
<br></blockquote></div><br></div></div>
]]></content:encoded>
		<pubDate>Fri, 31 May 2013 14:57:52 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jetty-dev/msg01799.html</guid>
		<author>jesse@xxxxxxx (Jesse McConnell)</author>
	</item>
	<item>
		<title>[jetty-dev] (no subject)</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jetty-dev/msg01798.html</link>
		<description>Hello All, I am not writing as an act of begging for help. As a senior developer I understand the need to research and analyze in order to implement an API for some functionality. I have an application which uses Jetty 6.1.2 in heavily embedded form. It im...</description>
		<content:encoded><![CDATA[<div data-externalstyle="false" dir="ltr" style="font-family:Calibri,'Segoe UI',Meiryo,'Microsoft YaHei UI','Microsoft JhengHei UI','Malgun Gothic','Khmer UI','Nirmala UI',Tunga,'Lao UI',Ebrima,sans-serif;font-size:12pt;"><div><font size="2"><p><font style="font-size: 12pt;">Hello All,</font></p><font style="font-size: 12pt;">

</font><p><font style="font-size: 12pt;">I am not writing as an act of begging for help. As a senior developer I understand the need to research and analyze in order to </font><font style="font-size: 12pt;"></font><font style="font-size: 12pt;">implement an API for some functionality.</font></p><font style="font-size: 12pt;">

</font><p><font style="font-size: 12pt;">I have an application which uses Jetty 6.1.2 in heavily embedded form.  It implements adding UserRealms to the server for each login type for each of&nbsp;JDBC, SSO and LDAP authentication. The use of a specific type depends on the software implementation requirements at a client location.</font></p><font style="font-size: 12pt;">

</font><p><font style="font-size: 12pt;">I am currently trying to upgrade to Jetty 8.1.10  as we only support use of JDK1.6 in our apps at this time.&nbsp;</font></p><p><font style="font-size: 12pt;">I have been working for nearly a week to complete the upgrade.&nbsp; The only holdback/problem I am incurring relates to setting up the login services and implement&nbsp;them within the embedded classes already created.</font></p><p><font size="3">The problem I find is that all the API documentation I encounter relating to LoginServices, LoginModules, etc. all are examples of using the XML configuration mode and not the&nbsp;&#xE2;embedded&#xE2; flavor that Jetty recommends.</font></p><p><font size="3">Can anyone recommend any sites or document any of these login services implemented and associated with an embedded server instance?</font></p></font><p><font style="font-size: 12pt;">Best Regards,</font><br><br><font style="font-size: 12pt;">Dennis M Fashimpaur</font></p></div><div>&nbsp;</div></div>]]></content:encoded>
		<pubDate>Fri, 31 May 2013 14:47:50 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jetty-dev/msg01798.html</guid>
		<author>dfashimpaur@xxxxxxx (Dennis M Fashimpaur)</author>
	</item>


	<item>
		<title>Re: [jetty-dev] Servlet response times</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jetty-dev/msg01797.html</link>
		<description> _______________________________________________ jetty-dev mailing list jetty-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/jetty-dev _______________________________________________ jetty-dev mailing list jetty-dev@xxxxxxxxxxx https://dev.eclips...</description>
		<content:encoded><![CDATA[<div dir="ltr">Thank alot for replying.<div><br></div><div>-- We are not using SSL. I am using JRE 1.6. Dont see any problem with the Java app as such. Just spike in jetty response times. In my case i have a java app that has Jetty embedded.</div>
<div>-- I checked GC that was my first guess too. But GC logs are perfect. Around 4 Young scans per minute and each scan taking ~4 ms. Have not seen full GC in days. Also the time stamp of servlet response times spike does not match GC time stamps.</div>
<div><br></div><div style><br></div><div><br></div><div><br></div><div><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 30, 2013 at 1:58 PM, Jesse McConnell <span dir="ltr">&lt;<a href="mailto:jesse.mcconnell@xxxxxxxxx" target="_blank">jesse.mcconnell@xxxxxxxxx</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Jetty moved to eclipse ages ago, hence this being an eclipse mailing list and all...<div><br></div><div>
<a href="http://central.maven.org/maven2/org/eclipse/jetty/jetty-project/" target="_blank">http://central.maven.org/maven2/org/eclipse/jetty/jetty-project/</a><br>

</div><div><br></div><div>And typically those issues are from things like a stop the world garbage collection, so I would start there.</div><div><br></div><div>cheers,</div><div>jesse</div></div><div class="gmail_extra">


<br clear="all"><div>--<br>jesse mcconnell<br><a href="mailto:jesse.mcconnell@xxxxxxxxx" target="_blank">jesse.mcconnell@xxxxxxxxx</a></div><div><div class="h5">
<br><br><div class="gmail_quote">On Thu, May 30, 2013 at 3:53 PM, Rawat <span dir="ltr">&lt;<a href="mailto:geegalrawat@xxxxxxxxx" target="_blank">geegalrawat@xxxxxxxxx</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr">So we are using BlueBox which depends on Jetty 6x. And so i am stuck with Jetty 6x. Can anyone throw some light on the direction i should follow for my investigation ?</div><div><div>

<div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, May 30, 2013 at 1:39 PM, Rawat <span dir="ltr">&lt;<a href="mailto:geegalrawat@xxxxxxxxx" target="_blank">geegalrawat@xxxxxxxxx</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div dir="ltr">I dont see that many releases post 6.1.26<div><br></div><div><a href="http://mvnrepository.com/artifact/org.mortbay.jetty/jetty" target="_blank">http://mvnrepository.com/artifact/org.mortbay.jetty/jetty</a><br>



</div></div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, May 30, 2013 at 1:34 PM, Joakim Erdfelt <span dir="ltr">&lt;<a href="mailto:joakim@xxxxxxxxxxx" target="_blank">joakim@xxxxxxxxxxx</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">Sorry, but you&#39;ll find few people to help with Jetty 6.1.26, it is very old and was End of Life&#39;d back in 2010.<div>There&#39;s been well over 150 stable releases of Jetty since Jetty 6.1.26.</div>



<div>

<br></div><div>Consider upgrading.<br><div><br></div></div></div><div class="gmail_extra"><br clear="all"><div><div>--</div><div>Joakim Erdfelt &lt;<a href="mailto:joakim@xxxxxxxxxxx" target="_blank">joakim@xxxxxxxxxxx</a>&gt;</div>





<div><a href="http://www.webtide.com/" target="_blank">webtide.com</a></div><div><span>Developer advice, services and support</span><br><span>from the Jetty &amp; CometD experts</span></div><div><a href="http://eclipse.org/jetty/" target="_blank">eclipse.org/jetty</a>&#xA0;-&#xA0;<a href="http://cometd.org/" target="_blank">cometd.org</a></div>





</div>
<br><br><div class="gmail_quote"><div>On Thu, May 30, 2013 at 1:26 PM, Rawat <span dir="ltr">&lt;<a href="mailto:geegalrawat@xxxxxxxxx" target="_blank">geegalrawat@xxxxxxxxx</a>&gt;</span> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div><div>
<div dir="ltr">I have enabled Jetty to log response times. I notice that in our production or load test environment, we have a temporary spike in Jetty response times. Jetty logs would trace response times of 200-400ms for a webservice that would normally take 2 ms. I did not notice particular burst of traffic at that time.<div>






<br></div><div>Further i traced through servlet debug logs that we have put in our application. And i never found a log that would reflect the servlet processing took more than 3 ms. For every single invocation which Jetty would report response time as 200-400ms, servlet debug logs would only show 2-3ms of processing.</div>






<div><br></div><div>I am guessing that once servlet execution starts it takes only 2-3 seconds. And latency is due latency between receiving of a request to scheduling of request in a sevlet. So i tried to increase threadpool, even though it did not make sense to increase thread pool. As my traffic comes @ 50-100 RPS and if it takes 2-3 ms to process a request 10 default thread count should be enough. But i did increase the thread count to 20 and lowThreadCount to 25. But still saw spike in response times in jetty logs.</div>






<div><br></div><div>Can anyone throw some light or show some path for further investigation ? I am using jetty-6.1.26</div><div><br></div><div><br></div><div>Thanks !</div><div><br></div>
<div><br></div></div>
<br></div></div>_______________________________________________<br>
jetty-dev mailing list<br>
<a href="mailto:jetty-dev@xxxxxxxxxxx" target="_blank">jetty-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/jetty-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/jetty-dev</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
jetty-dev mailing list<br>
<a href="mailto:jetty-dev@xxxxxxxxxxx" target="_blank">jetty-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/jetty-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/jetty-dev</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
jetty-dev mailing list<br>
<a href="mailto:jetty-dev@xxxxxxxxxxx" target="_blank">jetty-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/jetty-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/jetty-dev</a><br>
<br></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
jetty-dev mailing list<br>
<a href="mailto:jetty-dev@xxxxxxxxxxx">jetty-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/jetty-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/jetty-dev</a><br>
<br></blockquote></div><br></div></div></div>
]]></content:encoded>
		<pubDate>Thu, 30 May 2013 21:32:11 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jetty-dev/msg01797.html</guid>
		<author>geegalrawat@xxxxxxx (Rawat)</author>
	</item>
	<item>
		<title>Re: [jetty-dev] Servlet response times</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jetty-dev/msg01796.html</link>
		<description>Hey, i know this is off-topic, but i hadnt heard of that issue. can you give a pointer? _______________________________________________ jetty-dev mailing list jetty-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/jetty-dev </description>
		<content:encoded><![CDATA[<div dir="ltr">Brad,<div><br></div><div>Back in the days of Jetty 6.x there were a host of SSL exploits and downright silly stupid bugs in the Java VMs related to it.</div><div><br></div><div style>Using Java 1.6 pre update 30 opens you up to a host of SSL bugs.</div>
<div style>Using Java 1.7 pre update 15 also has similar bugs + others around the TLS layer.</div><div style><br></div><div style>In short, if you are using SSL, make sure your JVM is current.</div><div style>If you don&#39;t use SSL, then no worries, you are safe.</div>
<div style><br></div></div><div class="gmail_extra"><br clear="all"><div><div>--</div><div>Joakim Erdfelt &lt;<a href="mailto:joakim@xxxxxxxxxxx" target="_blank">joakim@xxxxxxxxxxx</a>&gt;</div><div><a href="http://www.webtide.com/" target="_blank">webtide.com</a></div>
<div><span>Developer advice, services and support</span><br><span>from the Jetty &amp; CometD experts</span></div><div><a href="http://eclipse.org/jetty/" target="_blank">eclipse.org/jetty</a>&#xA0;-&#xA0;<a href="http://cometd.org/" target="_blank">cometd.org</a></div>
</div>
<br><br><div class="gmail_quote">On Thu, May 30, 2013 at 2:06 PM, Brad McEvoy <span dir="ltr">&lt;<a href="mailto:brad@xxxxxxxxxxxxxxxxxxxx" target="_blank">brad@xxxxxxxxxxxxxxxxxxxx</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 31/05/13 09:04, Joakim Erdfelt wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Sure hope you are not running with SSL and have a Java VM released in the past 6 months.<br>
</blockquote></div>
Hey, i know this is off-topic, but i hadnt heard of that issue. can you give a pointer?<div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
jetty-dev mailing list<br>
<a href="mailto:jetty-dev@xxxxxxxxxxx" target="_blank">jetty-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/jetty-dev" target="_blank">https://dev.eclipse.org/<u></u>mailman/listinfo/jetty-dev</a><br>
</div></div></blockquote></div><br></div>
]]></content:encoded>
		<pubDate>Thu, 30 May 2013 21:10:42 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jetty-dev/msg01796.html</guid>
		<author>joakim@xxxxxxx (Joakim Erdfelt)</author>
	</item>
	<item>
		<title>Re: [jetty-dev] Servlet response times</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jetty-dev/msg01795.html</link>
		<description>Hey, i know this is off-topic, but i hadnt heard of that issue. can you give a pointer? </description>
		<content:encoded><![CDATA[<tt>On 31/05/13 09:04, Joakim Erdfelt wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>Sure hope you are not running with SSL and have a Java VM released in 
the past 6 months.
</tt></blockquote><tt>Hey, i know this is off-topic, but i hadnt heard of that issue. can you 
give a pointer?</tt><br>
<br>
]]></content:encoded>
		<pubDate>Thu, 30 May 2013 21:06:27 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jetty-dev/msg01795.html</guid>
		<author>brad@xxxxxxx (Brad McEvoy)</author>
	</item>
	<item>
		<title>Re: [jetty-dev] Servlet response times</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jetty-dev/msg01794.html</link>
		<description>_______________________________________________ jetty-dev mailing list jetty-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/jetty-dev _______________________________________________ jetty-dev mailing list jetty-dev@xxxxxxxxxxx https://dev.eclipse...</description>
		<content:encoded><![CDATA[<div dir="ltr">You should write to BlueBox and ask them to update the Jetty version they support, as Jetty 6.x has not been kept current to bugs and exploits for the past 3 years.<div><br></div><div style>Sure hope you are not running with SSL and have a Java VM released in the past 6 months.</div>
</div><div class="gmail_extra"><br clear="all"><div><div>--</div><div>Joakim Erdfelt &lt;<a href="mailto:joakim@xxxxxxxxxxx" target="_blank">joakim@xxxxxxxxxxx</a>&gt;</div><div><a href="http://www.webtide.com/" target="_blank">webtide.com</a></div>
<div><span>Developer advice, services and support</span><br><span>from the Jetty &amp; CometD experts</span></div><div><a href="http://eclipse.org/jetty/" target="_blank">eclipse.org/jetty</a>&#xA0;-&#xA0;<a href="http://cometd.org/" target="_blank">cometd.org</a></div>
</div>
<br><br><div class="gmail_quote">On Thu, May 30, 2013 at 1:53 PM, Rawat <span dir="ltr">&lt;<a href="mailto:geegalrawat@xxxxxxxxx" target="_blank">geegalrawat@xxxxxxxxx</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">So we are using BlueBox which depends on Jetty 6x. And so i am stuck with Jetty 6x. Can anyone throw some light on the direction i should follow for my investigation ?</div><div class="HOEnZb"><div class="h5">
<div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, May 30, 2013 at 1:39 PM, Rawat <span dir="ltr">&lt;<a href="mailto:geegalrawat@xxxxxxxxx" target="_blank">geegalrawat@xxxxxxxxx</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">I dont see that many releases post 6.1.26<div><br></div><div><a href="http://mvnrepository.com/artifact/org.mortbay.jetty/jetty" target="_blank">http://mvnrepository.com/artifact/org.mortbay.jetty/jetty</a><br>

</div></div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, May 30, 2013 at 1:34 PM, Joakim Erdfelt <span dir="ltr">&lt;<a href="mailto:joakim@xxxxxxxxxxx" target="_blank">joakim@xxxxxxxxxxx</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr">Sorry, but you&#39;ll find few people to help with Jetty 6.1.26, it is very old and was End of Life&#39;d back in 2010.<div>There&#39;s been well over 150 stable releases of Jetty since Jetty 6.1.26.</div>

<div>

<br></div><div>Consider upgrading.<br><div><br></div></div></div><div class="gmail_extra"><br clear="all"><div><div>--</div><div>Joakim Erdfelt &lt;<a href="mailto:joakim@xxxxxxxxxxx" target="_blank">joakim@xxxxxxxxxxx</a>&gt;</div>



<div><a href="http://www.webtide.com/" target="_blank">webtide.com</a></div><div><span>Developer advice, services and support</span><br><span>from the Jetty &amp; CometD experts</span></div><div><a href="http://eclipse.org/jetty/" target="_blank">eclipse.org/jetty</a>&#xA0;-&#xA0;<a href="http://cometd.org/" target="_blank">cometd.org</a></div>



</div>
<br><br><div class="gmail_quote"><div>On Thu, May 30, 2013 at 1:26 PM, Rawat <span dir="ltr">&lt;<a href="mailto:geegalrawat@xxxxxxxxx" target="_blank">geegalrawat@xxxxxxxxx</a>&gt;</span> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div>
<div dir="ltr">I have enabled Jetty to log response times. I notice that in our production or load test environment, we have a temporary spike in Jetty response times. Jetty logs would trace response times of 200-400ms for a webservice that would normally take 2 ms. I did not notice particular burst of traffic at that time.<div>




<br></div><div>Further i traced through servlet debug logs that we have put in our application. And i never found a log that would reflect the servlet processing took more than 3 ms. For every single invocation which Jetty would report response time as 200-400ms, servlet debug logs would only show 2-3ms of processing.</div>




<div><br></div><div>I am guessing that once servlet execution starts it takes only 2-3 seconds. And latency is due latency between receiving of a request to scheduling of request in a sevlet. So i tried to increase threadpool, even though it did not make sense to increase thread pool. As my traffic comes @ 50-100 RPS and if it takes 2-3 ms to process a request 10 default thread count should be enough. But i did increase the thread count to 20 and lowThreadCount to 25. But still saw spike in response times in jetty logs.</div>




<div><br></div><div>Can anyone throw some light or show some path for further investigation ? I am using jetty-6.1.26</div><div><br></div><div><br></div><div>Thanks !</div><div><br></div>
<div><br></div></div>
<br></div></div>_______________________________________________<br>
jetty-dev mailing list<br>
<a href="mailto:jetty-dev@xxxxxxxxxxx" target="_blank">jetty-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/jetty-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/jetty-dev</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
jetty-dev mailing list<br>
<a href="mailto:jetty-dev@xxxxxxxxxxx" target="_blank">jetty-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/jetty-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/jetty-dev</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
jetty-dev mailing list<br>
<a href="mailto:jetty-dev@xxxxxxxxxxx">jetty-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/jetty-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/jetty-dev</a><br>
<br></blockquote></div><br></div>
]]></content:encoded>
		<pubDate>Thu, 30 May 2013 21:04:22 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jetty-dev/msg01794.html</guid>
		<author>joakim@xxxxxxx (Joakim Erdfelt)</author>
	</item>
	<item>
		<title>Re: [jetty-dev] Servlet response times</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jetty-dev/msg01793.html</link>
		<description>_______________________________________________ jetty-dev mailing list jetty-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/jetty-dev _______________________________________________ jetty-dev mailing list jetty-dev@xxxxxxxxxxx https://dev.eclipse...</description>
		<content:encoded><![CDATA[<div dir="ltr">Jetty moved to eclipse ages ago, hence this being an eclipse mailing list and all...<div><br></div><div><a href="http://central.maven.org/maven2/org/eclipse/jetty/jetty-project/">http://central.maven.org/maven2/org/eclipse/jetty/jetty-project/</a><br>

</div><div><br></div><div style>And typically those issues are from things like a stop the world garbage collection, so I would start there.</div><div style><br></div><div style>cheers,</div><div style>jesse</div></div><div class="gmail_extra">

<br clear="all"><div>--<br>jesse mcconnell<br><a href="mailto:jesse.mcconnell@xxxxxxxxx" target="_blank">jesse.mcconnell@xxxxxxxxx</a></div>
<br><br><div class="gmail_quote">On Thu, May 30, 2013 at 3:53 PM, Rawat <span dir="ltr">&lt;<a href="mailto:geegalrawat@xxxxxxxxx" target="_blank">geegalrawat@xxxxxxxxx</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">So we are using BlueBox which depends on Jetty 6x. And so i am stuck with Jetty 6x. Can anyone throw some light on the direction i should follow for my investigation ?</div><div class="HOEnZb"><div class="h5">

<div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, May 30, 2013 at 1:39 PM, Rawat <span dir="ltr">&lt;<a href="mailto:geegalrawat@xxxxxxxxx" target="_blank">geegalrawat@xxxxxxxxx</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr">I dont see that many releases post 6.1.26<div><br></div><div><a href="http://mvnrepository.com/artifact/org.mortbay.jetty/jetty" target="_blank">http://mvnrepository.com/artifact/org.mortbay.jetty/jetty</a><br>


</div></div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, May 30, 2013 at 1:34 PM, Joakim Erdfelt <span dir="ltr">&lt;<a href="mailto:joakim@xxxxxxxxxxx" target="_blank">joakim@xxxxxxxxxxx</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div dir="ltr">Sorry, but you&#39;ll find few people to help with Jetty 6.1.26, it is very old and was End of Life&#39;d back in 2010.<div>There&#39;s been well over 150 stable releases of Jetty since Jetty 6.1.26.</div>


<div>

<br></div><div>Consider upgrading.<br><div><br></div></div></div><div class="gmail_extra"><br clear="all"><div><div>--</div><div>Joakim Erdfelt &lt;<a href="mailto:joakim@xxxxxxxxxxx" target="_blank">joakim@xxxxxxxxxxx</a>&gt;</div>




<div><a href="http://www.webtide.com/" target="_blank">webtide.com</a></div><div><span>Developer advice, services and support</span><br><span>from the Jetty &amp; CometD experts</span></div><div><a href="http://eclipse.org/jetty/" target="_blank">eclipse.org/jetty</a>&#xC2;-&#xC2;<a href="http://cometd.org/" target="_blank">cometd.org</a></div>




</div>
<br><br><div class="gmail_quote"><div>On Thu, May 30, 2013 at 1:26 PM, Rawat <span dir="ltr">&lt;<a href="mailto:geegalrawat@xxxxxxxxx" target="_blank">geegalrawat@xxxxxxxxx</a>&gt;</span> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div><div>
<div dir="ltr">I have enabled Jetty to log response times. I notice that in our production or load test environment, we have a temporary spike in Jetty response times. Jetty logs would trace response times of 200-400ms for a webservice that would normally take 2 ms. I did not notice particular burst of traffic at that time.<div>





<br></div><div>Further i traced through servlet debug logs that we have put in our application. And i never found a log that would reflect the servlet processing took more than 3 ms. For every single invocation which Jetty would report response time as 200-400ms, servlet debug logs would only show 2-3ms of processing.</div>





<div><br></div><div>I am guessing that once servlet execution starts it takes only 2-3 seconds. And latency is due latency between receiving of a request to scheduling of request in a sevlet. So i tried to increase threadpool, even though it did not make sense to increase thread pool. As my traffic comes @ 50-100 RPS and if it takes 2-3 ms to process a request 10 default thread count should be enough. But i did increase the thread count to 20 and lowThreadCount to 25. But still saw spike in response times in jetty logs.</div>





<div><br></div><div>Can anyone throw some light or show some path for further investigation ? I am using jetty-6.1.26</div><div><br></div><div><br></div><div>Thanks !</div><div><br></div>
<div><br></div></div>
<br></div></div>_______________________________________________<br>
jetty-dev mailing list<br>
<a href="mailto:jetty-dev@xxxxxxxxxxx" target="_blank">jetty-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/jetty-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/jetty-dev</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
jetty-dev mailing list<br>
<a href="mailto:jetty-dev@xxxxxxxxxxx" target="_blank">jetty-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/jetty-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/jetty-dev</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
jetty-dev mailing list<br>
<a href="mailto:jetty-dev@xxxxxxxxxxx">jetty-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/jetty-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/jetty-dev</a><br>
<br></blockquote></div><br></div>
]]></content:encoded>
		<pubDate>Thu, 30 May 2013 20:58:44 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jetty-dev/msg01793.html</guid>
		<author>jesse.mcconnell@xxxxxxx (Jesse McConnell)</author>
	</item>

 
	</channel>
	</rss>
<!-- MHonArc v2.6.10 -->
