title: Jetty JDBCSessionManager not serializable
body: <p>I have a bit of a problem using the <code>JDBCSessionManager</code> in Jetty 7. For some reason the it tries to persist the SessionManager when persisting the SessionAuthentication :</p>
  
  <pre><code>16:46:02,455  WARN org.eclipse.jetty.util.log - Problem persisting changed session data id=b75j2q0lak5s1o2zuryj05h9y
  java.io.NotSerializableException: org.eclipse.jetty.server.session.JDBCSessionManager
  </code></pre>
  
  <p>Setup code:</p>
  
  <pre><code>server.setSessionIdManager(getSessionIdManager());
  final SessionManager jdbcSessionManager = new JDBCSessionManager();
  jdbcSessionManager.setIdManager(server.getSessionIdManager());
  context.setSessionHandler(new SessionHandler(jdbcSessionManager));
  
  server.setHandler(context);
  
  private SessionIdManager getSessionIdManager() {
      JDBCSessionIdManager idMan = new JDBCSessionIdManager(server);
      idMan.setDriverInfo("com.mysql.jdbc.Driver", "jdbc:mysql://localhost/monty?user=xxxx&amp;password=Xxxx");
      idMan.setWorkerName("monty");
      return idMan;
  }
  </code></pre>
  
  <p>Has anyone experienced something similar?</p>