title: How to connect > 1024 websockets with GlassFish 4
body: <p>I am using GlassFish 4 to host an application with websockets</p>
  
  <p>My benchmarks indicate that only 1024 concurrent websockets can successfuly connect to GlassFish.</p>
  
  <p>How can I increase the number of websocket connections that my application can support?</p>