<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.java.jetty.support">
    <title>gmane.comp.java.jetty.support</title>
    <link>http://blog.gmane.org/gmane.comp.java.jetty.support</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.jetty.support/15216"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.jetty.support/15215"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.jetty.support/15212"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.jetty.support/15211"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.jetty.support/15209"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.jetty.support/15207"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.jetty.support/15201"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.jetty.support/15199"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.jetty.support/15194"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.jetty.support/15192"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.jetty.support/15191"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.jetty.support/15190"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.jetty.support/15188"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.jetty.support/15187"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.jetty.support/15181"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.jetty.support/15180"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.jetty.support/15179"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.jetty.support/15177"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.jetty.support/15176"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.jetty.support/15175"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.jetty.support/15216">
    <title>[jetty-user] Released: Jetty 7.6.11.v20130520 / Jetty 8.1.11.v20130520</title>
    <link>http://comments.gmane.org/gmane.comp.java.jetty.support/15216</link>
    <description>&lt;pre&gt;We are pleased to announce the availability of new Jetty 7.6 and Jetty 8.1
releases.  The issues resolved are listed below.

Distribution Downloads:

- http://download.eclipse.org/jetty/stable-7/dist/&amp;lt;http://download.eclipse.org/jetty/stable-8/dist/&amp;gt;
- http://download.eclipse.org/jetty/stable-8/dist/

The artifacts are also available in Maven Central.

cheers,
jesse

-----

jetty-7.6.11.v20130520 - 20 May 2013
 + 402844 STOP.PORT &amp;amp; STOP.KEY behaviour has changed
 + 403281 jetty.sh waits for started or failure before returning
 + 403513 jetty:run goal cannot be executed twice during the maven build
 + 403570 Asynchronous Request Logging
 + 404010 fix cast exception in mongodb session manager
 + 404128 Add Vary headers rather than set them
 + 404283 org.eclipse.jetty.util.Scanner.scanFile() dies with an NPE if
   listFiles() returns null
 + 404325 data constraint redirection does send default port
 + 404517 Close connection if request received after half close
 + 404789 Support IPv6 addresses in DoSFilter white list.
 + 404958 Fixed Resource.newSystemResource striped / handling
 + 405281 allow filemappedbuffers to not be used
 + 405537 NPE in rendering JSP using SPDY and wrapped ServletRequest
 + 406437 Digest Auth supports out of order nc
 + 406923 CR line termination
 + 407136 &amp;lt; at &amp;gt;PreDestroy called after Servlet.destroy()
 + 407173 java.lang.IllegalStateException: null when using JDBCSessionManager
 + 407976 JDBCSessionIdManager potentially leaves server in bad state after
   startup
 + 408077 HashSessionManager leaves file handles open after being stopped
 + 408446 Multipart parsing issue with boundry and charset in ContentType
   header


jetty-8.1.11.v20130520 - 20 May 2013
 + 402844 STOP.PORT &amp;amp; STOP.KEY behaviour has changed
 + 403281 jetty.sh waits for started or failure before returning
 + 403513 jetty:run goal cannot be executed twice during the maven build
 + 403570 Asynchronous Request Logging
 + 404010 fix cast exception in mongodb session manager
 + 404128 Add Vary headers rather than set them
 + 404283 org.eclipse.jetty.util.Scanner.scanFile() dies with an NPE if
   listFiles() returns null
 + 404325 data constraint redirection does send default port
 + 404517 Close connection if request received after half close
 + 404789 Support IPv6 addresses in DoSFilter white list.
 + 404958 Fixed Resource.newSystemResource striped / handling
 + 405281 allow filemappedbuffers to not be used
 + 405537 NPE in rendering JSP using SPDY and wrapped ServletRequest
 + 406437 Digest Auth supports out of order nc
 + 406618 Jetty startup in OSGi Equinox fails when using option
   jetty.home.bundle=org.eclipse.jetty.osgi.boot
 + 406923 CR line termination
 + 407136 &amp;lt; at &amp;gt;PreDestroy called after Servlet.destroy()
 + 407173 java.lang.IllegalStateException: null when using JDBCSessionManager
 + 407931 Add toggle for failing on servlet availability
 + 407976 JDBCSessionIdManager potentially leaves server in bad state after
   startup
 + 408077 HashSessionManager leaves file handles open after being stopped
 + 408446 Multipart parsing issue with boundry and charset in ContentType
   header


jetty&amp;lt; at &amp;gt;codehaus-7.6.11.v20130520 - 20 May 2013


jetty&amp;lt; at &amp;gt;codehaus-8.1.11.v20130520 - 20 May 2013
 + 407812 jetty-maven-plugin can not handle whitespaces in equivalent of
   WEB-INF/classes paths


--
Jesse McConnell &amp;lt;jesse&amp;lt; at &amp;gt;intalio.com&amp;gt;
www.intalio.com/jetty – Developer advice, services and support from the
Jetty &amp;amp; CometD experts.
&lt;/pre&gt;</description>
    <dc:creator>Jesse McConnell</dc:creator>
    <dc:date>2013-05-22T16:52:57</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.jetty.support/15215">
    <title>[jetty-user] Embedded Jetty and SSL.</title>
    <link>http://comments.gmane.org/gmane.comp.java.jetty.support/15215</link>
    <description>&lt;pre&gt;I'm using embedded Jetty to deploy several war files and would like some
advice on how to make it run under SSL. (I've bought a CERT from a CA and
now need to figure out how to use it for the login and admin war files. 


Here are may war files and how I would like to use them. 

MainPage.war           accessed as:     http://mydomain.com/                
(port 80 not SSL)
Login.war                accessed as:     https://mydomain.com/login         
(port 443 + SSL)
Admin.war              accessed as:      https://mydomain.com/admin       
(port 443 + SSL)


Currently I do something like   (greatly simplified to make shorter here)


//--- Start Code ---//
Server = new Server(80);

List&amp;lt;Handler&amp;gt; hList = new ArrayList&amp;lt;Handler&amp;gt;();
hList.add( new WebAppContext("../webapps/MainPage.war","/") );
hList.add( new WebAppContext("../webapps/Login.war","/login") );
hList.add( new WebAppContext("../webapps/Admin.war","/admin") );

ContextHandlerCollection contexts = new ContextHandlerCollection();
contexts.setHandlers(handlerList.toArray(new Handler[handlerList.size()]));
server.setHandler(contexts);

server.start();
server.join();

//--- End Code ---//

My question is 

#1) How do I change that to get SSL running on a different port?

#2) How do I specify the location of the .crt and .jks files with the CA
SSL?

#3) Am I better off creating a different Jetty server just to run the SSL
ports? 

P.S. I'm running Jetty 8.x in case it makes any difference.

Thanks for any advice.
Alan















--
View this message in context: http://jetty.4.x6.nabble.com/Embedded-Jetty-and-SSL-tp4960438.html
Sent from the Jetty Support mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



&lt;/pre&gt;</description>
    <dc:creator>Alan</dc:creator>
    <dc:date>2013-04-25T02:38:25</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.jetty.support/15212">
    <title>[jetty-user] Jetty  webapps external jar files</title>
    <link>http://comments.gmane.org/gmane.comp.java.jetty.support/15212</link>
    <description>&lt;pre&gt;Hi,

I am new to jetty and I am using jetty version 9. I have an war file
deployed to my app server. the web-inf/lib file has a few jar files  but I
need to deploy some other jar files that are not included in the web-inf/lib

I tried to copy the jar file  into jetty.home/lib/ext    but this is not
working.

please let me know how to do this so that the application can load the class
files.

thanks
John



--
View this message in context: http://jetty.4.x6.nabble.com/Jetty-webapps-external-jar-files-tp4960434.html
Sent from the Jetty Support mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



&lt;/pre&gt;</description>
    <dc:creator>johnrg</dc:creator>
    <dc:date>2013-04-23T21:24:52</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.jetty.support/15211">
    <title>[jetty-user] Jetty 9.0.2.v20130417 released</title>
    <link>http://comments.gmane.org/gmane.comp.java.jetty.support/15211</link>
    <description>&lt;pre&gt;We are pleased to announce the release of Jetty 9.0.2.  There were a couple
of issues that we noted with the last release and wanted to get resolved
quickly.  The first was a fix to one of the new queue algorithms we have
been working with that we realized was resulting in a bit of a hit to
performance.  The second was an issue where sockets would sometimes linger
around after the connection was closed when a certain sequence of
events occurred with SSL connection close.  This issues didn't affect
everyone but it was a bother enough to those it did that we included it in
this release.

Distribution Downloads:

- http://download.eclipse.org/jetty/stable-9/dist/

The artifacts are also available in Maven Central.

Documentation:

- http://www.eclipse.org/jetty/documentation/current

cheers,
jesse

jetty-9.0.2.v20130417 - 17 April 2013
 + 364921 FIN WAIT sockets
 + 402885 reuse Deflaters in GzipFilter
 + 403591 do not use the ConcurrentArrayBlockingQueue for thread pool, selector
   and async request log
 + 404511 fixed poor methods in ArrayTernaryTrie
 + 405119 Tidy up comments and code formatting for osgi
 + 405352 Servlet init-param always overridden by WebServlet annotation
 + 405364 spdy implement MAX_CONCURRENT_STREAMS
 + 405449 spdy improve handling of duplicate stream Ids
 + 405540 ServletContextListeners call in reverse in doStop
 + 405551 InputStreamResponseListener.await returns null when request fails.
 + 405679 example other server for documentation



--
Jesse McConnell &amp;lt;jesse&amp;lt; at &amp;gt;intalio.com&amp;gt;
www.webtide.com – Developer advice, services and support from the Jetty &amp;amp;
CometD experts.
&lt;/pre&gt;</description>
    <dc:creator>Jesse McConnell</dc:creator>
    <dc:date>2013-04-17T20:21:44</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.jetty.support/15209">
    <title>[jetty-user] AUTO: Walter Heestermans/TMME is out of the office. (returning 15/04/2013)</title>
    <link>http://comments.gmane.org/gmane.comp.java.jetty.support/15209</link>
    <description>&lt;pre&gt;
I am out of the office until 15/04/2013.

I will respond to your message as soon as possible. For urgent issues,
contact WebSphere Support group for Java-WebSphere related activities or
unix.admin group for Unix-WebSphere-Jetty related activities


Note: This is an automated response to your message  "[jetty-user] Jetty
9.0.1.v20130408 Released!" sent on 10/04/2013 22:52:03.

This is the only notification you will receive while this person is away.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



&lt;/pre&gt;</description>
    <dc:creator>Walter.Heestermans&lt; at &gt;toyota-europe.com</dc:creator>
    <dc:date>2013-04-11T02:17:50</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.jetty.support/15207">
    <title>[jetty-user] Jetty 9.0.1.v20130408 Released!</title>
    <link>http://comments.gmane.org/gmane.comp.java.jetty.support/15207</link>
    <description>&lt;pre&gt;Hard to believe we released Jetty 9 a mere month ago but we have been busy
resolving some small issues and added to the new documentation hub.  If you
haven't seen the new documentation take a look, and feel free to contribute
through the github project that houses it.

Distribution Downloads:

- http://download.eclipse.org/jetty/stable-9/dist/

The artifacts are also available in Maven Central.

Documentation:

- http://www.eclipse.org/jetty/documentation/current

I'll attach the resolves issues at the end of this mail, but we have been
very happy with the response we have gotten from the Jetty 9 release and
are looking forward to future versions.  Just as bit of a note for those
interested, we'll be releasing 9.1 once the servlet 3.1 spec has finalized
and likely the JSR 356 Websocket api spec has released, hopefully these
will wrap up around the same time.

cheers,
jesse




--
Jesse McConnell &amp;lt;jesse&amp;lt; at &amp;gt;intalio.com&amp;gt;
www.webtide.com – Developer advice, services and support from the Jetty &amp;amp;
CometD experts.
&lt;/pre&gt;</description>
    <dc:creator>Jesse McConnell</dc:creator>
    <dc:date>2013-04-10T20:52:03</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.jetty.support/15201">
    <title>[jetty-user] Jetty 7.6.10.v20130312 / Jetty 8.1.10.v20130312 Released!</title>
    <link>http://comments.gmane.org/gmane.comp.java.jetty.support/15201</link>
    <description>&lt;pre&gt;Hot on the heels of our Jetty 9 release, we have released updates to our
two mature versions.  We will continue releasing updates to 7 and 8,
roughly every couple of months for the foreseeable future.

Downloads: http://download.eclipse.org/jetty/

Releases are available in Maven Central as well.

cheers,
jesse

The list of changes are:

jetty-7.6.10.v20130312 - 12 March 2013
 + 376273 Early EOF because of SSL Protocol Error on
   https://api-3t.paypal.com/nvp.
 + 381521 allow compress methods to be configured
 + 394064 ensure that JarFile instances are closed on JarFileResource.release()
 + 398649 ServletContextListener.contextDestroyed() is not called on
   ContextHandler unregistration
 + 399703 made encoding error handling consistent
 + 399799 do not hold lock while calling invalidation listeners
 + 399967 Shutdown hook calls destroy
 + 400040 NullPointerException in HttpGenerator.prepareBuffers
 + 400142 ConcurrentModificationException in JDBC SessionManger
 + 400144 When loading a session fails the JDBCSessionManger produces duplicate
   session IDs
 + 400457 Thread context classloader hierarchy not searched when finding
   webapp's java:comp/env
 + 400859 limit max size of writes from cached content
 + 401211 Remove requirement for jetty-websocket.jar in WEB-INF/lib
 + 401317 Make Safari 5.x websocket support minVersion level error more clear
 + 401382 Prevent parseAvailable from parsing next chunk when previous has not
   been consumed. Handle no content-type in chunked request.
 + 401474 Performance problem in org.eclipse.jetty.annotation.AnnotationParser
 + 401531 StringIndexOutOfBoundsException for "/*" &amp;lt;url-pattern&amp;gt; of
   &amp;lt;jsp-property-group&amp;gt; fix for multiple mappings to *.jsp
 + 401908 Enhance DosFilter to allow dynamic configuration of attributes.
 + 402048 org.eclipse.jetty.server.ShutdownMonitor doesn't stop after the jetty
   server is stopped
 + 402485 reseed secure random
 + 402735 jetty.sh to support status which is == check
 + 402833 Test harness for global error page and hide exception message from
   reason string

(no changes for jetty&amp;lt; at &amp;gt;codehaus for jetty 7)

jetty-8.1.10.v20130312 - 12 March 2013
 + 376273 Early EOF because of SSL Protocol Error on
   https://api-3t.paypal.com/nvp.
 + 381521 allow compress methods to be configured
 + 392129 fixed handling of timeouts after startAsync
 + 394064 ensure that JarFile instances are closed on JarFileResource.release()
 + 398649 ServletContextListener.contextDestroyed() is not called on
   ContextHandler unregistration
 + 399703 made encoding error handling consistent
 + 399799 do not hold lock while calling invalidation listeners
 + 399967 Shutdown hook calls destroy
 + 400040 NullPointerException in HttpGenerator.prepareBuffers
 + 400142 ConcurrentModificationException in JDBC SessionManger
 + 400144 When loading a session fails the JDBCSessionManger produces duplicate
   session IDs
 + 400312 ServletContextListener.contextInitialized() is not called when added
   in ServletContainerInitializer.onStartup
 + 400457 Thread context classloader hierarchy not searched when finding
   webapp's java:comp/env
 + 400859 limit max size of writes from cached content
 + 401211 Remove requirement for jetty-websocket.jar in WEB-INF/lib
 + 401317 Make Safari 5.x websocket support minVersion level error more clear
 + 401382 Prevent parseAvailable from parsing next chunk when previous has not
   been consumed. Handle no content-type in chunked request.
 + 401474 Performance problem in org.eclipse.jetty.annotation.AnnotationParser
 + 401485 zip file closed exception
 + 401531 StringIndexOutOfBoundsException for "/*" &amp;lt;url-pattern&amp;gt; of
   &amp;lt;jsp-property-group&amp;gt; fix for multiple mappings to *.jsp
 + 401908 Enhance DosFilter to allow dynamic configuration of attributes.
 + 402048 org.eclipse.jetty.server.ShutdownMonitor doesn't stop after the jetty
   server is stopped
 + 402485 reseed secure random
 + 402735 jetty.sh to support status which is == check
 + 402833 Test harness for global error page and hide exception message from
   reason string

jetty&amp;lt; at &amp;gt;codehaus-8.1.10.v20130312 - 12 March 2013
 + 400312 ServletContextListener.contextInitialized() is not called when added
   in ServletContainerInitializer.onStartup


--
jesse mcconnell
jesse.mcconnell&amp;lt; at &amp;gt;gmail.com
&lt;/pre&gt;</description>
    <dc:creator>Jesse McConnell</dc:creator>
    <dc:date>2013-03-14T16:01:24</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.jetty.support/15199">
    <title>[jetty-user] Announcing Jetty 9.0.0</title>
    <link>http://comments.gmane.org/gmane.comp.java.jetty.support/15199</link>
    <description>&lt;pre&gt;The Eclipse Jetty Project team is proud to announce the first release of
the new Jetty 9

        *Jetty 9.0.0.v20130308*

The Java Web Server with support for SPDY and WebSocket.

*Distributions Downloads:*
http://download.eclipse.org/jetty/stable-9/dist/

*Java Artifacts Available on Maven Central:*
http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.eclipse.jetty%22%20AND%20v%3A%229.0.0..v20130308%22

&amp;lt;groupId&amp;gt;org.eclipse.jetty&amp;lt;/groupId&amp;gt;
&amp;lt;version&amp;gt;9.0.0.v20130308&amp;lt;/version&amp;gt;

*Jetty 9.x Features:*

   - Completely overhauled I/O layer
   - Servlet API 3.0
   - JSP 2.2
   - SPDY/3
   - WebSocket (RFC-6455)

*Notes for those migrating to Jetty 9.x:*

   - Requires Java 1.7 or newer.
   - Jetty Maven Plugin has now been moved to org.eclipse.jetty groupId
   - There is no org.mortbay or codehaus components
   - Support for early WebSocket drafts has been dropped, only support
   released RFC-6455 spec.
   - There now only 1 aggregate jar, called jetty-all.
   - Bad UTF8 encoding will result in replacement characters being passed
   into the application to handle. (older versions of Jetty would fail the
   request)
   - Removal of all traditional Socket (BIO) Connectors.
      - Only supporting NIO for Connectors.
   - Consolidated all of the various Deployment technique and scenarios
   into one.
      - ContextDeployer and WebAppDeployer have been removed
      - DeploymentManager has only 1 AppProvider now, the WebAppProvider
      - WebAppProvider supports both Deployment Descriptors deployment and
      traditional Automatic WAR deployment.
   - New Jetty Async Http Client
   - New Jetty WebSocket Servlet &amp;amp; WebSocket Client
   - A new Jetty XML DTD (http://www.eclipse.org/jetty/configure_9.0.dtd)
   changes the &amp;lt;Ref id=""&amp;gt; syntax in your Jetty XML to &amp;lt;Ref refid=""&amp;gt;
   - Removed Jetty6Continuation support


--
Joakim Erdfelt &amp;lt;joakim&amp;lt; at &amp;gt;intalio.com&amp;gt;
webtide.com &amp;lt;http://www.webtide.com/&amp;gt;
Developer advice, services and support
from the Jetty &amp;amp; CometD experts
eclipse.org/jetty - cometd.org
&lt;/pre&gt;</description>
    <dc:creator>Joakim Erdfelt</dc:creator>
    <dc:date>2013-03-09T00:33:25</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.jetty.support/15194">
    <title>[jetty-user] Async Context does not accept simultaneous requests</title>
    <link>http://comments.gmane.org/gmane.comp.java.jetty.support/15194</link>
    <description>&lt;pre&gt;I tried to create context for accepting many simultaneous requests by using
AsyncServelet/Continuation. But the all requests to one context are queued.
I will provide some code blocks for introducing into the problem. Please,
help me with this issue. Maybe I understand something wrong and use this
technology to the wrong way?A simple spring xml config for JettyServer:
    &amp;amp;lt;bean name=&amp;amp;quot;jettyThreadPool&amp;amp;quot;
class=&amp;amp;quot;org.eclipse.jetty.util.thread.QueuedThreadPool&amp;amp;quot;&amp;amp;gt;       
&amp;amp;lt;property name=&amp;amp;quot;name&amp;amp;quot; value=&amp;amp;quot;jettyThreadPool&amp;amp;quot; /&amp;amp;gt;       
&amp;amp;lt;property name=&amp;amp;quot;minThreads&amp;amp;quot; value=&amp;amp;quot;10&amp;amp;quot; /&amp;amp;gt;       
&amp;amp;lt;property name=&amp;amp;quot;maxThreads&amp;amp;quot; value=&amp;amp;quot;100&amp;amp;quot; /&amp;amp;gt;   
&amp;amp;lt;/bean&amp;amp;gt;    &amp;amp;lt;bean name=&amp;amp;quot;jettyConnector&amp;amp;quot;
class=&amp;amp;quot;org.eclipse.jetty.server.nio.SelectChannelConnector&amp;amp;quot;&amp;amp;gt;       
&amp;amp;lt;property name=&amp;amp;quot;host&amp;amp;quot; value=&amp;amp;quot;0.0.0.0&amp;amp;quot; /&amp;amp;gt;       
&amp;amp;lt;property name=&amp;amp;quot;port&amp;amp;quot; value=&amp;amp;quot;8080&amp;amp;quot; /&amp;amp;gt;       
&amp;amp;lt;!-- The number of thread dedicated to accepting incoming connections.
&amp;amp;lt;= 2*processors --&amp;amp;gt;        &amp;amp;lt;property name=&amp;amp;quot;acceptors&amp;amp;quot;
value=&amp;amp;quot;4&amp;amp;quot; /&amp;amp;gt;        &amp;amp;lt;!-- Number of connection requests that
can be queued up before the operating system starts to send rejections.
--&amp;amp;gt;        &amp;amp;lt;property name=&amp;amp;quot;acceptQueueSize&amp;amp;quot;
value=&amp;amp;quot;1&amp;amp;quot; /&amp;amp;gt;        &amp;amp;lt;property name=&amp;amp;quot;resolveNames&amp;amp;quot;
value=&amp;amp;quot;false&amp;amp;quot; /&amp;amp;gt;        &amp;amp;lt;property
name=&amp;amp;quot;threadPool&amp;amp;quot; ref=&amp;amp;quot;jettyThreadPool&amp;amp;quot; /&amp;amp;gt;   
&amp;amp;lt;/bean&amp;amp;gt;    &amp;amp;lt;bean name=&amp;amp;quot;server&amp;amp;quot;
class=&amp;amp;quot;org.eclipse.jetty.server.Server&amp;amp;quot;&amp;amp;gt;        &amp;amp;lt;property
name=&amp;amp;quot;connectors&amp;amp;quot;&amp;amp;gt;            &amp;amp;lt;array&amp;amp;gt;               
&amp;amp;lt;ref bean=&amp;amp;quot;jettyConnector&amp;amp;quot; /&amp;amp;gt;            &amp;amp;lt;/array&amp;amp;gt;       
&amp;amp;lt;/property&amp;amp;gt;        &amp;amp;lt;property name=&amp;amp;quot;handler&amp;amp;quot;&amp;amp;gt;           
&amp;amp;lt;bean
class=&amp;amp;quot;org.eclipse.jetty.server.handler.HandlerCollection&amp;amp;quot;&amp;amp;gt;               
&amp;amp;lt;property name=&amp;amp;quot;handlers&amp;amp;quot;&amp;amp;gt;                    &amp;amp;lt;array&amp;amp;gt;                       
&amp;amp;lt;bean
class=&amp;amp;quot;org.eclipse.jetty.server.handler.ContextHandler&amp;amp;quot;&amp;amp;gt;                           
&amp;amp;lt;property name=&amp;amp;quot;contextPath&amp;amp;quot; value=&amp;amp;quot;/check&amp;amp;quot; /&amp;amp;gt;                           
&amp;amp;lt;property name=&amp;amp;quot;handler&amp;amp;quot;&amp;amp;gt;                               
&amp;amp;lt;bean class=&amp;amp;quot;com.oak.handlers.AsyncCheckHandler&amp;amp;quot; /&amp;amp;gt;                           
&amp;amp;lt;/property&amp;amp;gt;                        &amp;amp;lt;/bean&amp;amp;gt;                   
&amp;amp;lt;/array&amp;amp;gt;                &amp;amp;lt;/property&amp;amp;gt;            &amp;amp;lt;/bean&amp;amp;gt;       
&amp;amp;lt;/property&amp;amp;gt;    &amp;amp;lt;/bean&amp;amp;gt;
The AsyncCheckHandler is only for testing. In future it will make request to
remote resources which takes several seconds. That why I call a sleep with 5
seconds interval.
public class AsyncCheckHandler extends AbstractHandler {    &amp;lt; at &amp;gt;Override   
public void handle(String target, final Request baseRequest, final
HttpServletRequest req,            final HttpServletResponse rsp) throws
IOException, ServletException    {        final AsyncContext context =
req.startAsync(req, rsp);        context.start(new Runnable() {           
&amp;lt; at &amp;gt;Override            public void run()            {                try {                   
Date date = new Date();                    Thread.sleep(5000L);                   
context.getResponse().getWriter().print("Request date " + date + ", " +                                                                   
"" + Thread.currentThread().getName());                   
baseRequest.setHandled(true);                } catch (InterruptedException |
IOException e) {                    e.printStackTrace();                }
finally {                    context.complete();                }           
}        });    }}
And main class is very simple:
        ApplicationContext context = new
ClassPathXmlApplicationContext("context.xml");        Server server =
(Server) context.getBean("server");        try {            server.start();           
server.join();        } catch (Exception e) {           
e.printStackTrace();        }
When I run it and make several parallel requests to
http://localhost:8080/check each of this requests is suspended until
previous was done. That is the problem for me. I expected that after it
returns from handler it will be ready to accept new requests to this
context.Also I've tried the same thing with ServletContext and with
Continuation.Jetty version is 8.1.9.v20130131, spring is 3.2.1.RELEASE. Java
1.7.0_13I've tried this on windows7 and debian.



--
View this message in context: http://jetty.4.n6.nabble.com/Async-Context-does-not-accept-simultaneous-requests-tp4960197.html
Sent from the Jetty Support mailing list archive at Nabble.com.&lt;/pre&gt;</description>
    <dc:creator>Valery Dubrava</dc:creator>
    <dc:date>2013-03-08T19:20:11</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.jetty.support/15192">
    <title>[jetty-user] Java WebSocket Client from main(String [] args)</title>
    <link>http://comments.gmane.org/gmane.comp.java.jetty.support/15192</link>
    <description>&lt;pre&gt;Hi,

   Sorry for the cross post, I don't know where this should go.  I would
like to use the jetty web socket-client in stand alone java applications
(outside of a jetty web app ie main(String[] args)).
   Does the jetty web socket client support this?

If not I would suggest it as I am maintaining (somewhat poorly) a
WebSocketClient here;
http://cvs.adligo.org/viewvc/aws_client/src/org/adligo/aws_client/WebSocketClient.java?view=markup

I am getting

java.io.IOException: Invalid handshake response 'HTTP/1.1 400 Unsupported
websocket version specification: 2147483647' should be 'HTTP/1.1 101 Web
Socket Protocol Handshake'


TIA,

Scott
&lt;/pre&gt;</description>
    <dc:creator>Scott Morgan</dc:creator>
    <dc:date>2013-03-07T05:01:47</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.jetty.support/15191">
    <title>[Jetty-support] problem when upgrading from jetty 4 to jetty 5</title>
    <link>http://comments.gmane.org/gmane.comp.java.jetty.support/15191</link>
    <description>&lt;pre&gt;Hi,

I’m having trouble upgrading from jetty 4 to jetty 5.

I’m running the next code in jetty 4:

                                httpListener = *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?
------------------------------------------------------------------------------
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_______________________________________________
Jetty-support mailing list
Jetty-support&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jetty-support
&lt;/pre&gt;</description>
    <dc:creator>Itamar Farchy</dc:creator>
    <dc:date>2013-02-27T09:34:04</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.jetty.support/15190">
    <title>[jetty-user] Released: Jetty 9.0.0.RC2</title>
    <link>http://comments.gmane.org/gmane.comp.java.jetty.support/15190</link>
    <description>&lt;pre&gt;The Eclipse Jetty Project team is proud to announce the latest Release
Candidate for the new Jetty 9.

        Jetty 9.0.0.RC2

The Java Web Server with support for SPDY and WebSocket.

Distributions Available at http://download.eclipse.org/jetty/

Java Artifacts Available on Maven Central:
http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.eclipse.jetty%22%20AND%20v%3A%229.0.0.RC2%22

&amp;lt;groupId&amp;gt;org.eclipse.jetty&amp;lt;/groupId&amp;gt;
&amp;lt;version&amp;gt;9.0.0.RC2&amp;lt;/version&amp;gt;


Please File Bugs at
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Jetty&amp;amp;format=guided

Jetty 9 Features:

   - Java 1.7 Compatible
   - Completely overhauled I/O layer
   - Servlet API 3.0
   - JSP 2.2
   - SPDY/3
   - Jetty WebSocket API (Supporting RFC-6455)

Changelog for Jetty 9.0.0.RC2 (and RC1)

jetty-9.0.0.RC2 - 24 February 2013
 + Fix etc/jetty.xml TimerScheduler typo that is preventing normal startup
 + Fix etc/jetty-https.xml ExcludeCipherSuites typo that prevents SSL
startup
 + Fix websocket memory use

jetty-9.0.0.RC1 - 22 February 2013
 + 227244 Remove import of backport-util-concurrent Arrays class
 + 362854 Continuation implementations may deadlock.
 + 376273 Early EOF because of SSL Protocol Error on
   https://api-3t.paypal.com/nvp.
 + 381521 allow compress methods to be configured
 + 388103 Add API for tracking down upload progress.
 + 394064 ensure that JarFile instances are closed on
JarFileResource.release()
 + 398649 ServletContextListener.contextDestroyed() is not called on
   ContextHandler unregistration
 + 399463 add start.ini documentation for OPTIONS. Remove reference to
   start_config
 + 399520 Websocket Server Connection needs session idle timeouts
 + 399535 Websocket-client connect should have configurable connect timeout
 + 400014 Http async client DNS performance.
 + 400040 NullPointerException in HttpGenerator.prepareBuffers
 + 400184 SslContextFactory change. Disable hostname verification if
trustAll
   is set
 + 400255 Using WebSocket.maxMessageSize results in IllegalArgumentException
 + 400434 Add support for an OutputStream ContentProvider.
 + 400457 Thread context classloader hierarchy not searched when finding
   webapp's java:comp/env
 + 400512 ClientUpgradeRequet.addExtension() should fail if extension is not
   installed
 + 400555 HttpProxyEngine: Add http version header in response
 + 400631 Calling flush() on HttpServletResponse.getOutputStream() after
last
   byte of body causes EofException.
 + 400734 NPE for redirects with relative location.
 + 400738 ResourceHandler doesn't support range requests
 + 400848 Redirect fails with non-encoded location URIs.
 + 400849 Conversation hangs if non-first request fails when queued.
 + 400859 limit max size of writes from cached content
 + 400864 Added LowResourcesMonitor
 + 401177 Make org.eclipse.jetty.websocket.api.WebSocketAdapter threadsafe
 + 401183 Handle push streams in new method StreamFrameListener.onPush()
   instead of SessionFrameListener.syn()
 + 401211 Remove requirement for jetty-websocket.jar in WEB-INF/lib
 + 401317 Make Safari 5.x websocket support minVersion level error more
clear
 + 401382 Prevent parseAvailable from parsing next chunk when previous has
not
   been consumed. Handle no content-type in chunked request.
 + 401414 Hostname verification fails.
 + 401427 WebSocket messages sent from onConnect fail to be read by jetty
   websocket-client
 + 401474 Performance problem in
org.eclipse.jetty.annotation.AnnotationParser
 + 401485 zip file closed exception


--
Joakim Erdfelt &amp;lt;joakim&amp;lt; at &amp;gt;intalio.com&amp;gt;
webtide.com &amp;lt;http://www.webtide.com/&amp;gt;
Developer advice, services and support
from the Jetty &amp;amp; CometD experts
eclipse.org/jetty - cometd.org
&lt;/pre&gt;</description>
    <dc:creator>Joakim Erdfelt</dc:creator>
    <dc:date>2013-02-26T15:51:31</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.jetty.support/15188">
    <title>[jetty-user] Redirect to an http url when ssl handshake fails</title>
    <link>http://comments.gmane.org/gmane.comp.java.jetty.support/15188</link>
    <description>&lt;pre&gt;Hi all,

I am using jetty for a demonstration web application with smart card
identification. I have no problem using jetty with SSL with
authenticated client.

When the smart card is disconnected and we try to load a page, the
handshake fails (as expected) and our browser shows an error page
specifying this failure. I would like to make jetty redirect to a
simple http url when the handshake fails, only to display a better
looking page.

Is there a way to configure the jetty ssl connector to do that ?


Thanks for your help,

Guillaume

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



&lt;/pre&gt;</description>
    <dc:creator>Guillaume Bailleul</dc:creator>
    <dc:date>2013-02-22T16:31:32</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.jetty.support/15187">
    <title>[jetty-user] Jetty Clustering via the Database Overrides Web Application Specified Data Source Pool</title>
    <link>http://comments.gmane.org/gmane.comp.java.jetty.support/15187</link>
    <description>&lt;pre&gt;Hello,
The goal is to create a clustered environment for a web application that is currently running in a single Jetty instance. When clustering configuration is added, it appears to prevent the applications data source pool from initializing. Attaching a remote debugging session and stepping through the code shows the application hanging on startup while waiting for a connection to free up from the pool. Inspecting the details of the pool shows no connections have been created. c3p0 is used for the pooling implementation. When the server starts without the clustering configuration, c3p0 generates a log message showing it is initializing. When started with clustering configured, the log message is not seen. Leading me to believe the application data source pool is never initialized because the clustering data source pool is usurping it in some way.
To get the clustering behavior I added the following to %JETTY_HOME%/etc/jetty.xml.
&amp;lt;New id="DSClustering" class="org.eclipse.jetty.plus.jndi.Resource"&amp;gt;
    &amp;lt;Arg&amp;gt;&amp;lt;/Arg&amp;gt;
   &amp;lt;Arg&amp;gt;jdbc/DSClustering&amp;lt;/Arg&amp;gt;
    &amp;lt;Arg&amp;gt;
        &amp;lt;New class="com.mchange.v2.c3p0.ComboPooledDataSource"&amp;gt;
            &amp;lt;Set name="driverClass"&amp;gt;oracle.jdbc.OracleDriver&amp;lt;/Set&amp;gt;
            &amp;lt;Set name="jdbcUrl"&amp;gt;jdbc:oracle:thin:&amp;lt; at &amp;gt;xxxxx:1521:xe&amp;lt;/Set&amp;gt;
           &amp;lt;Set name="User"&amp;gt;xxxx&amp;lt;/Set&amp;gt;
            &amp;lt;Set name="Password"&amp;gt;xxxx&amp;lt;/Set&amp;gt;

        &amp;lt;/New&amp;gt;
    &amp;lt;/Arg&amp;gt;
&amp;lt;/New&amp;gt;


&amp;lt;Set name="sessionIdManager"&amp;gt;
    &amp;lt;New id="jdbcidmgr" class="org.eclipse.jetty.server.session.JDBCSessionIdManager"&amp;gt;
        &amp;lt;Arg&amp;gt;&amp;lt;Ref id="Server"/&amp;gt;&amp;lt;/Arg&amp;gt;
        &amp;lt;Set name="workerName"&amp;gt;jetty1&amp;lt;/Set&amp;gt;
        &amp;lt;Set name="DatasourceName"&amp;gt;jdbc/DSClustering&amp;lt;/Set&amp;gt;
        &amp;lt;Set name="scavengeInterval"&amp;gt;60&amp;lt;/Set&amp;gt;
    &amp;lt;/New&amp;gt;
&amp;lt;/Set&amp;gt;
&amp;lt;Call name="setAttribute"&amp;gt;
    &amp;lt;Arg&amp;gt;jdbcIdMgr&amp;lt;/Arg&amp;gt;
    &amp;lt;Arg&amp;gt;&amp;lt;Ref id="jdbcidmgr"/&amp;gt;&amp;lt;/Arg&amp;gt;
&amp;lt;/Call&amp;gt;


And added the following to the applications jetty-web.xml
&amp;lt;Set name="sessionHandler"&amp;gt;
    &amp;lt;New class="org.eclipse.jetty.server.session.SessionHandler"&amp;gt;
        &amp;lt;Arg&amp;gt;
            &amp;lt;New class="org.eclipse.jetty.server.session.JDBCSessionManager"&amp;gt;
                &amp;lt;Set name="idManager"&amp;gt;
                    &amp;lt;Ref id="jdbcidmgr"/&amp;gt;
                &amp;lt;/Set&amp;gt;
            &amp;lt;/New&amp;gt;
        &amp;lt;/Arg&amp;gt;
    &amp;lt;/New&amp;gt;
&amp;lt;/Set&amp;gt;


The applications data source pool is configured as a Spring bean -
&amp;lt;bean id="sysContextAwareDataSource" class="com.mycompany.datasource.SysContextAwareDataSource"&amp;gt;
    &amp;lt;property name="targetDataSource" ref="myPoolDataSource"/&amp;gt;
    &amp;lt;property name="connectionWaitLoggingThreshold" value="1000"/&amp;gt;
&amp;lt;/bean&amp;gt;

&amp;lt;bean id="myPoolDataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close"&amp;gt;
    &amp;lt;property name="driverClass" value="${jdbc.driverClassName}"/&amp;gt;
    &amp;lt;property name="jdbcUrl" value="${jdbc.url}"/&amp;gt;
    &amp;lt;property name="user" value="${jdbc.username}"/&amp;gt;
    &amp;lt;property name="password" value="${jdbc.password}"/&amp;gt;
    &amp;lt;property name="acquireIncrement" value="${jdbc.pool.acquireIncrement}"/&amp;gt;
    &amp;lt;property name="minPoolSize" value="${jdbc.pool.minPoolSize}"/&amp;gt;
    &amp;lt;property name="maxPoolSize" value="${jdbc.pool.maxPoolSize}"/&amp;gt;
    &amp;lt;property name="initialPoolSize" value="${jdbc.pool.initialPoolSize}"/&amp;gt;
    &amp;lt;property name="acquireRetryAttempts" value="${jdbc.pool.acquireRetryAttempts}"/&amp;gt;
    &amp;lt;property name="testConnectionOnCheckin" value="${jdbc.pool.testConnectionOnCheckin}"/&amp;gt;
    &amp;lt;property name="idleConnectionTestPeriod" value="${jdbc.pool.idleConnectionTestPeriod}"/&amp;gt;
    &amp;lt;property name="preferredTestQuery" value="${jdbc.pool.preferredTestQuery}"/&amp;gt;
    &amp;lt;property name="maxIdleTime" value="${jdbc.pool.maxIdleTime}"/&amp;gt;
    &amp;lt;property name="acquireRetryDelay" value="${jdbc.pool.acquireRetryDelay}"/&amp;gt;
    &amp;lt;property name="maxStatements" value="${jdbc.pool.maxStatements}"/&amp;gt;
    &amp;lt;property name="maxStatementsPerConnection" value="${jdbc.pool.maxStatementsPerConnection}"/&amp;gt;
&amp;lt;/bean&amp;gt;


&amp;lt;bean id="userDAO" class="com.mycompany.dataaccess.UserDAOImpl"&amp;gt;
    &amp;lt;property name="sessionFactory" ref="sessionFactory"/&amp;gt;
    &amp;lt;property name="dataSource" ref="transactionAwareDataSourceProxy"/&amp;gt;
&amp;lt;/bean&amp;gt;
Environment: jetty 8.1.9, Oracle 11g, Windows 7 Enterprise, JDK 1.6.0_38
Any ideas my appreciated!
-Steve


The information transmitted, including any content in this communication is confidential, is intended only for the use of the intended recipient and is the property of The Western Union Company or its affiliates and subsidiaries. If you are not the intended recipient, you are hereby notified that any use of the information contained in or transmitted with the communication or dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the Western Union sender immediately by replying to this message and delete the original message

&lt;/pre&gt;</description>
    <dc:creator>Steve Wall</dc:creator>
    <dc:date>2013-02-19T16:34:44</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.jetty.support/15181">
    <title>[jetty-user] Just Released: Jetty 9.0.0.RC0</title>
    <link>http://comments.gmane.org/gmane.comp.java.jetty.support/15181</link>
    <description>&lt;pre&gt;The Eclipse Jetty Project team is proud to announce the first Release
Candidate for the new Jetty 9

        Jetty 9.0.0.RC0

The Java Web Server with support for SPDY and WebSocket.

Distributions Available at http://download.eclipse.org/jetty/

Java Artifacts Available on Maven Central:
http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.eclipse.jetty%22%20AND%20v%3A%229.0.0.RC0%22

&amp;lt;groupId&amp;gt;org.eclipse.jetty&amp;lt;/groupId&amp;gt;
&amp;lt;version&amp;gt;9.0.0.RC0&amp;lt;/version&amp;gt;

Jetty 9.x Features:
 + Java 1.7 Compatible
 + Completely overhauled I/O layer
 + Servlet API 3.0
 + JSP 2.1
 + SPDY/3
 + New WebSocket API (RFC-6455)

Of special note for early adopters of Jetty 9.x:

 + The XML DTD has a XML id reference bug that forced us to create a new
DTD to handle id references better.
    old way:
&amp;lt;!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "*
http://www.eclipse.org/jetty/configure.dtd*"&amp;gt;
&amp;lt;Configure id="Server" class="org.eclipse.jetty.server.Server"&amp;gt;
  &amp;lt;Call name="addConnector"&amp;gt;
    &amp;lt;Arg&amp;gt;
      &amp;lt;New class="org.eclipse.jetty.server.ServerConnector"&amp;gt;
        &amp;lt;Arg&amp;gt;*&amp;lt;Ref id="Server" /&amp;gt;*&amp;lt;/Arg&amp;gt;
    new way:
&amp;lt;!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "*
http://www.eclipse.org/jetty/configure_9.0.dtd*"&amp;gt;
&amp;lt;Configure id="Server" class="org.eclipse.jetty.server.Server"&amp;gt;
  &amp;lt;Call name="addConnector"&amp;gt;
    &amp;lt;Arg&amp;gt;
      &amp;lt;New class="org.eclipse.jetty.server.ServerConnector"&amp;gt;
        &amp;lt;Arg&amp;gt;*&amp;lt;Ref refid="Server" /&amp;gt;*&amp;lt;/Arg&amp;gt;

 + The Jetty WebSocket API has been reworked to better support future
Extensions and to better align it with the upcoming JSR-356 (Java WebSocket
API)
    Be aware that the old techniques that used a WebSocketConnection have
been changed to a new Session object.
    See Javadoc:
http://download.eclipse.org/jetty/stable-9/apidocs/org/eclipse/jetty/websocket/api/Session.html

    *Old Way*:
      Listener Approach

http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/jetty-websocket/websocket-common/src/test/java/examples/echo/ListenerEchoSocket.java?id=e1c516c7d1937b8604864dfe57236877ef5be4ea
      Annotation Approach

http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/jetty-websocket/websocket-common/src/test/java/examples/echo/AnnotatedEchoSocket.java?id=e1c516c7d1937b8604864dfe57236877ef5be4ea

    *New Way*:
      Listener Approach

http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/jetty-websocket/websocket-common/src/test/java/examples/echo/ListenerEchoSocket.java
      Annotation Approach

http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/jetty-websocket/websocket-common/src/test/java/examples/echo/AnnotatedEchoSocket.java

Please File Bugs at
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Jetty&amp;amp;format=guided

Changelog for Jetty 9.0.0.RC0

jetty-9.0.0.RC0 - 01 February 2013
 + 362226 HttpConnection "wait" call causes thread resource exhaustion
 + 370384 jetty-aggregate not used in jetty-distribution
 + 381351 defaults for keymanager and trustmanager come from their factories
   and not hardcoded
 + 381521 Only set Vary header when content could be compressed
 + 381689 Allow jetty-runner to specify listen host along with listen port
 + 382237 support non java JSON classes
 + 385306 added getURI method
 + 391248 fixing localhost checking in statistics servlet
 + 391249 fix for invalid XML node dispatchedTimeMean in statistics servlet
 + 391345 fix missing br tag in statistics servlet
 + 393933 remove deprecated classes/methods and consolidate some static methods
   to SslContextFactory
 + 393968 fix typo in javadoc
 + 394541 remove continuation jar from distro, add as dep to test-jetty-webapp
 + 395232 UpgradeRequest object passed to createWebSocket() has null Session
 + 395444 Disabling Websocket Compress Extensions (not working with Chrome /
   deflate problem)
 + 396428 Test for WebSocket masking on client fragments per RFC 6455 Sec 5.1
 + 396574 add JETTY_HOME as a location for pid to be found
 + 396606 make spdy proxy capable of receiving SPDY and talk HTTP to the
   upstream server
 + 397168 backed of test timing
 + 397769 TimerScheduler does not relinquish cancelled tasks.
 + 398872 SslConnection should not be notified of idle timeouts. First
   solution. Merge branch 'ssl_idle_timeout_ignored'.
 + 399132 check parent dir of session store against file to be removed
 + 399173 UpgradeRequest.getParameterMap() should never return null
 + 399242 Reduce/eliminate false sharing in BlockingArrayQueue.
 + 399319 Request.getURI() may return negative ports.
 + 399324 HttpClient does not handle correctly UnresolvedAddressException.
 + 399343 OnWebSocketConnect should use api.Session parameter instead.
 + 399344 Add missing &amp;lt; at &amp;gt;OnWebSocketError annotation
 + 399397 websocket-client needs better upgrade failure checks
 + 399421 Add websocket.api.Session.disconnect() for harsh low level connection
   disconnect
 + 399515 Websocket-client connect issues should report to websocket onError
   handlers
 + 399516 Websocket UpgradeException should contain HTTP Request/Response
   information
 + 399566 Running org.eclipse.jetty.server.session.MaxInactiveMigrationTest
   produces stack trace
 + 399568 OSGi tests can't find websocket classes
 + 399576 Server dumpStdErr throws exception if server is stopping
 + 399669 Remove WebSocketConnection in favor of websocket.api.Session
 + 399689 Websocket RFC6455 extension handshake fails if server doesn't have
   extension
 + 399703 made encoding error handling consistent
 + 399721 Change &amp;lt;Ref id= ...&amp;gt; to &amp;lt;Ref refid= ...&amp;gt;


--
Joakim Erdfelt &amp;lt;joakim&amp;lt; at &amp;gt;intalio.com&amp;gt;
webtide.com &amp;lt;http://www.webtide.com/&amp;gt;
Developer advice, services and support
from the Jetty &amp;amp; CometD experts
eclipse.org/jetty - cometd.org
&lt;/pre&gt;</description>
    <dc:creator>Joakim Erdfelt</dc:creator>
    <dc:date>2013-02-04T23:55:01</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.jetty.support/15180">
    <title>[jetty-user] Just Released: Jetty 8.1.9.v20130131</title>
    <link>http://comments.gmane.org/gmane.comp.java.jetty.support/15180</link>
    <description>&lt;pre&gt;The Eclipse Jetty Project team is proud to announce the release of

        Jetty 8.1.9.v20130131

The Java Web Server with support for SPDY and WebSocket.

Distributions Available at http://download.eclipse.org/jetty/

Java Artifacts Available on Maven Central:
http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.eclipse.jetty%22%20AND%20v%3A%228.1.9.v20130131%22

&amp;lt;groupId&amp;gt;org.eclipse.jetty&amp;lt;/groupId&amp;gt;
&amp;lt;version&amp;gt;8.1.9.v20130131&amp;lt;/version&amp;gt;

Jetty 8.x Features:
 + Java 1.6 Compatible
 + Servlet API 3.0
 + JSP 2.1
 + SPDY/3
 + WebSocket (RFC-6455)

Changelog for Jetty 8.1.9.v20130131

jetty-8.1.9.v20130131 - 31 January 2013
 + 362226 HttpConnection "wait" call causes thread resource exhaustion
 + 367638 throw exception for excess form keys
 + 381521 Only set Vary header when content could be compressed
 + 382237 support non java JSON classes
 + 391248 fixing localhost checking in statistics servlet
 + 391249 fix for invalid XML node dispatchedTimeMean in statistics servlet
 + 391345 fix missing br tag in statistics servlet
 + 391623 Add option to --stop to wait for target jetty to stop
 + 392417 Prevent Cookie parsing interpreting unicode chars
 + 392492 expect headers only examined for requests&amp;gt;=HTTP/1.1
 + 393075 1xx 204 and 304 ignore all headers suggesting content
 + 393158 java.lang.IllegalStateException when sending an empty InputStream
 + 393220 remove dead code from ServletHandler and log ServletExceptions in
   warn instead of debug
 + 393947 implement ETags
 + 393968 fix typo in javadoc
 + 394294 A web-bundle started before jetty-osgi should be deployed as a webapp
   when jetty-osgi starts
 + 394514 Preserve URI parameters in sendRedirect
 + 394541 remove continuation jar from distro, add as dep to test-jetty-webapp
 + 394719 remove regex from classpath matching
 + 394811 Make JAASLoginService log login failures to DEBUG instead of WARN.
   Same for some other exceptions.
 + 394829 Session can not be restored after SessionManager.setIdleSavePeriod
   has saved the session
 + 394839 Allow multipart mime with no boundary
 + 394870 Make enablement of remote access to test webapp configurable in
   override-web.xml
 + 395215 Multipart mime with just LF and no CRLF
 + 395380 add ValidUrlRule to jetty-rewrite
 + 395394 allow logging from boot classloader
 + 396253 FilterRegistration wrong order
 + 396459 Log specific message for empty request body for multipart mime
   requests
 + 396500 HttpClient Exchange takes forever to complete when less content sent
   than Content-Length
 + 396574 add JETTY_HOME as a location for pid to be found
 + 396886 MultiPartFilter strips bad escaping on filename="..."
 + 397110 Accept %uXXXX encodings in URIs
 + 397111 Tolerate empty or excessive whitespace preceeding MultiParts
 + 397112 Requests with byte-range throws NPE if requested file has no mimetype
   (eg no file extension)
 + 397130 maxFormContentSize set in jetty.xml is ignored
 + 397190 improve ValidUrlRule to iterate on codepoints
 + 397321 Wrong condition in default start.config for annotations
 + 397535 Support pluggable alias checking to support symbolic links
 + 398337 UTF-16 percent encoding in UTF-16 form content
 + 399132 check parent dir of session store against file to be removed
 + JETTY-1533 handle URL with no path



--
Joakim Erdfelt &amp;lt;joakim&amp;lt; at &amp;gt;intalio.com&amp;gt;
webtide.com &amp;lt;http://www.webtide.com/&amp;gt;
Developer advice, services and support
from the Jetty &amp;amp; CometD experts
eclipse.org/jetty - cometd.org
&lt;/pre&gt;</description>
    <dc:creator>Joakim Erdfelt</dc:creator>
    <dc:date>2013-02-04T23:54:55</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.jetty.support/15179">
    <title>[jetty-user] Just Released: Jetty 7.6.9.v20130131</title>
    <link>http://comments.gmane.org/gmane.comp.java.jetty.support/15179</link>
    <description>&lt;pre&gt;The Eclipse Jetty Project team is proud to announce the release of

        Jetty 7.6.9.v20130131

The Java Web Server with support for SPDY and WebSocket.

Distributions Available at http://download.eclipse.org/jetty/

Java Artifacts Available on Maven Central:
http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.eclipse.jetty%22%20AND%20v%3A%227.6.9.v20130131%22

&amp;lt;groupId&amp;gt;org.eclipse.jetty&amp;lt;/groupId&amp;gt;
&amp;lt;version&amp;gt;7.6.9.v20130131&amp;lt;/version&amp;gt;

Jetty 7.x Features:
 + Java 1.5 Compatible
 + Servlet API 2.5
 + JSP 2.1
 + SPDY/3
 + WebSocket (RFC-6455)

Changelog for Jetty 7.6.9.v20130131

jetty-7.6.9.v20130131 - 31 January 2013 + 362226 HttpConnection "wait" call
causes thread resource exhaustion + 367638 throw exception for excess form
keys + 381521 Only set Vary header when content could be compressed +
382237 support non java JSON classes + 391248 fixing localhost checking in
statistics servlet + 391249 fix for invalid XML node dispatchedTimeMean in
statistics servlet + 391345 fix missing br tag in statistics servlet +
391623 Add option to --stop to wait for target jetty to stop + 392417
Prevent Cookie parsing interpreting unicode chars + 392492 expect headers
only examined for requests&amp;gt;=HTTP/1.1 + 393075 1xx 204 and 304 ignore all
headers suggesting content + 393220 remove dead code from ServletHandler
and log ServletExceptions in warn instead of debug + 393947 additional
tests + 393968 fix typo in javadoc + 394514 Preserve URI parameters in
sendRedirect + 394541 remove continuation jar from distro, add as dep to
test-jetty-webapp + 394719 remove regex from classpath matching + 394811
Make JAASLoginService log login failures to DEBUG instead of WARN. Same for
some other exceptions. + 394829 Session can not be restored after
SessionManager.setIdleSavePeriod has saved the session + 394839 Allow
multipart mime with no boundary + 395215 Multipart mime with just LF and no
CRLF + 395380 add ValidUrlRule to jetty-rewrite + 395394 allow logging from
boot classloader + 396459 Log specific message for empty request body for
multipart mime requests + 396500 HttpClient Exchange takes forever to
complete when less content sent than Content-Length + 396574 add JETTY_HOME
as a location for pid to be found + 396886 MultiPartFilter strips bad
escaping on filename="..." + 397110 Accept %uXXXX encodings in URIs +
397111 Tolerate empty or excessive whitespace preceeding MultiParts +
397112 Requests with byte-range throws NPE if requested file has no
mimetype (eg no file extension) + 397130 maxFormContentSize set in
jetty.xml is ignored + 397190 improve ValidUrlRule to iterate on codepoints
+ 397321 Wrong condition in default start.config for annotations + 397535
Support pluggable alias checking to support symbolic links + 398337 UTF-16
percent encoding in UTF-16 form content + 399132 check parent dir of
session store against file to be removed + JETTY-1533 handle URL with no
path

--
Joakim Erdfelt &amp;lt;joakim&amp;lt; at &amp;gt;intalio.com&amp;gt;
webtide.com &amp;lt;http://www.webtide.com/&amp;gt;
Developer advice, services and support
from the Jetty &amp;amp; CometD experts
eclipse.org/jetty - cometd.org
&lt;/pre&gt;</description>
    <dc:creator>Joakim Erdfelt</dc:creator>
    <dc:date>2013-02-04T23:54:48</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.jetty.support/15177">
    <title>[jetty-user] Jetty 9.0.0.M5 available</title>
    <link>http://comments.gmane.org/gmane.comp.java.jetty.support/15177</link>
    <description>&lt;pre&gt;What should be the last milestone release of Jetty 9 is now available for
download from http://download.eclipse.org/jetty/ and within maven central.

Look for releases of Jetty 7,8 and the first RC for 9 within the next
couple of weeks.

The largest change was a usability refactor of the websocket api between M4
and M5 stemming from feedback from the CometD project.

Otherwise the changes in this release are:

jetty-9.0.0.M5 - 19 January 2013

 + 367638 throw exception for excess form keys
 + 381521 Only set Vary header when content could be compressed
 + 391623 Making --stop with STOP.WAIT perform graceful shutdown
 + 393158 java.lang.IllegalStateException when sending an empty InputStream
 + 393220 remove dead code from ServletHandler and log ServletExceptions in
   warn instead of debug
 + 393733 WebSocketClient interface should support multiple connections
 + 395885 ResourceCache should honor useFileMappedBuffer if set
 + 396253 FilterRegistration wrong order
 + 396459 Log specific message for empty request body for multipart mime
   requests
 + 396500 HttpClient Exchange takes forever to complete when less content sent
   than Content-Length
 + 396886 MultiPartFilter strips bad escaping on filename="..."
 + 397110 Accept %uXXXX encodings in URIs
 + 397111 Tolerate empty or excessive whitespace preceeding MultiParts
 + 397112 Requests with byte-range throws NPE if requested file has no mimetype
   (eg no file extension)
 + 397114 run-forked with waitForChild=false can lock up
 + 397130 maxFormContentSize set in jetty.xml is ignored
 + 397190 improve ValidUrlRule to iterate on codepoints
 + 397321 Wrong condition in default start.config for annotations
 + 397535 Support pluggable alias checking to support symbolic links
 + 397769 TimerScheduler does not relinquish cancelled tasks.
 + 398105 Clean up WebSocketPolicy
 + 398285 ProxyServlet mixes cookies from different clients.
 + 398337 UTF-16 percent encoding in UTF-16 form content
 + 398582 Move lib/jta jar into lib/jndi
 + JETTY-1533 handle URL with no path

cheers!
jesse

--
jesse mcconnell
jesse.mcconnell&amp;lt; at &amp;gt;gmail.com
&lt;/pre&gt;</description>
    <dc:creator>Jesse McConnell</dc:creator>
    <dc:date>2013-01-22T16:14:59</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.jetty.support/15176">
    <title>[Jetty-support] Fwd:</title>
    <link>http://comments.gmane.org/gmane.comp.java.jetty.support/15176</link>
    <description>&lt;pre&gt;http://fabbricadeisogni2012.it/z1enr1.php

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
Jetty-support mailing list
Jetty-support&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jetty-support

&lt;/pre&gt;</description>
    <dc:creator>manu mehrotra</dc:creator>
    <dc:date>2013-01-13T21:06:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.jetty.support/15175">
    <title>[jetty-user] Fwd:</title>
    <link>http://comments.gmane.org/gmane.comp.java.jetty.support/15175</link>
    <description>&lt;pre&gt;http://fabbricadeisogni2012.it/z1enr1.php

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



&lt;/pre&gt;</description>
    <dc:creator>manu mehrotra</dc:creator>
    <dc:date>2013-01-13T21:05:54</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.jetty.support/15171">
    <title>[jetty-user] Problem with orderly shutdown of Jetty 8.1.8.v20121106</title>
    <link>http://comments.gmane.org/gmane.comp.java.jetty.support/15171</link>
    <description>&lt;pre&gt;I'm attempting to shutdown an instance of Jetty in an orderly way; Jetty is
one of a number of services running in my server, and I'm trying to
coordinate a clean shutdown of all of them before exitting.

In any case, I'm starting the server, and receiving a callback when the
shutdown is required:


public class WebStartup
{
    private static final Logger LOGGER =
Logger.getLogger(WebStartup.class.getName());

    public static void main(String[] arguments) throws Exception
    {
        final Server server = new Server(8080);

        server.setGracefulShutdown(1000);
        server.setStopAtShutdown(true);

        final WebAppContext root = new WebAppContext();

        SessionHandler handler = new SessionHandler();

        // Set up for in-memory sessions only.

        handler.setSessionManager(new HashSessionManager());

        root.setContextPath("/");
        root.setResourceBase(resourceURL("META-INF/webapp/"));

        server.setHandler(root);

        LOGGER.info("Starting web client on port 8080.");

        SmashRuntime.getServerLifecycle().addShutdownCallback(
                new Runnable()
                {
                    &amp;lt; at &amp;gt;Override
                    public void run()
                    {
                        try
                        {
                            for (Connector c : server.getConnectors())
                            {
                                c.close();
                            }

                            server.stop();
                        } catch (Exception e)
                        {
                            throw new RuntimeException(e);
                        }
                    }
                }
        );

        server.start();
        server.join();

        LOGGER.info("Web client shutdown.");
    }

    private static String resourceURL(String resourcePath)
    {
        URL resource =
Thread.currentThread().getContextClassLoader().getResource(resourcePath);

        if (resource == null)
        {
            throw new RuntimeException(String.format("Resource URL for '%s'
is null.", resourcePath));
        }

        return resource.toString();
    }
}

This works to a point:

The server does shutdown but the code throws an exception:

[WARN] AbstractLifeCycle FAILED org.eclipse.jetty.server.Server&amp;lt; at &amp;gt;48433545:
java.lang.InterruptedException: sleep interrupted
java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)
 at
org.eclipse.jetty.util.thread.QueuedThreadPool.doStop(QueuedThreadPool.java:139)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
 at
org.eclipse.jetty.util.component.AggregateLifeCycle.doStop(AggregateLifeCycle.java:107)
at
org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:69)
 at
org.eclipse.jetty.server.handler.HandlerWrapper.doStop(HandlerWrapper.java:108)
at org.eclipse.jetty.server.Server.doStop(Server.java:338)
 at
org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
at smash.example.webclient.WebStartup$1.run(WebStartup.java:52)
 at
com.annadaletech.smash.ServerLifecycleImpl.requestShutdown(ServerLifecycleImpl.java:32)


Looking at the code for QueuedThreadPool:

    while (_threadsStarted.get()&amp;gt;0 &amp;amp;&amp;amp; (System.currentTimeMillis()-start) &amp;lt;
_maxStopTime)
        {
            Thread.sleep(1); // Line 139
        }



&lt;/pre&gt;</description>
    <dc:creator>Howard Lewis Ship</dc:creator>
    <dc:date>2012-12-10T01:43:48</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.java.jetty.support">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.java.jetty.support</link>
  </textinput>
</rdf:RDF>
