title: java.lang.IllegalStateException: No SessionManager
body: <p>Please give me advice how to correctly set up Jetty . I'm using the latest version of jetty (9.0.6.v20130930). I ordered server implement concrete servlet and it doesn't work!
   I already worked a little with Jetty and didn't see anything like that. </p>
  
  <p>-- Main.class</p>
  
  <pre><code> public static void main(String[] args) throws Exception
      {
          MessageSystem ms = new MessageSystem();
          Frontend frontend = new Frontend(ms);
  
          (new Thread(frontend)).start();
  
          Server server = new Server(8080);
          server.setHandler(frontend);
  
          server.start();
          server.join();
  
      }
  </code></pre>
  
  <p>-- Frontend.class</p>
  
  <pre><code>public class Frontend extends AbstractHandler implements Runnable, Abonent {
      ... constructor and others methods...
  
      public void handle(String target, Request baseRequest,
                        HttpServletRequest request,
                        HttpServletResponse response)
              throws IOException, ServletException
      {
          setResponseSettings(baseRequest,response);
          PrintWriter out = response.getWriter();
  
          try {
              int id;
              HttpSession session = request.getSession();
              if( session.isNew()){
                  id = setSessionId(session);
                  pageContent = "Hello new user! Your id: "+id;
                  out.println(new Page().enterName());
              }else{
                  id = getSessionId(session);
                  pageContent = "Hi! I remember you. You are: " +id;
                  out.println(new Page().normalContent());
              }
          }
          catch (IllegalStateException ex){
              System.out.println("Exception!"+ex);
          }
          out.println("&lt;H1&gt;" + pageContent + "&lt;/H1&gt;");
          Iterator iterator = listStrings.iterator();
          while (iterator.hasNext()){
              out.println("&lt;br&gt;");
              out.println("Your text from TextField: "+iterator.next());
          }
          out.close();
      }
  </code></pre>
  
  <p>-- Сonsole</p>
  
  <pre><code>2013-11-01 04:06:24.273:INFO:oejs.Server:main: jetty-9.0.6.v20130930
  2013-11-01 04:06:24.309:INFO:oejs.ServerConnector:main: Started ServerConnector@358e0f79{HTTP/1.1}{0.0.0.0:8080}
  Exception!java.lang.IllegalStateException: No SessionManager
  Exception!java.lang.IllegalStateException: No SessionManager
  </code></pre>