Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 340250

Summary: org.eclipse.jetty.server.session.AbstractSessionManager missing setSessionPath
Product: [RT] Jetty Reporter: Bob Obringer <bobringer>
Component: serverAssignee: Greg Wilkins <gregw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: bobringer, janb, jetty-inbox
Version: 8.0.0   
Target Milestone: 7.2.x   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Bob Obringer CLA 2011-03-16 17:34:40 EDT
Jetty 8.0.0.M2 AbstractSessionManager is missing the setSessionPath() function that was added in 7.0.x (not sure which version and I can no longer find the bug report).

After the 7.0.x fix, we were using .xml files to configure jetty.  The session path was configured by setting the context-param:  org.eclipse.jetty.servlet.SessionPath

In 8.0, we're embedding jetty and configuring the session path programmatically.  setSessionPath() is missing preventing us from sharing a session id across contexts.

Temporarily, I've extended JdbcSessionManager to add setSessionPath().  This seems to have done the trick.
Comment 1 Greg Wilkins CLA 2011-04-01 00:08:06 EDT
I will check this after 7.4 is merged with jetty-8
Comment 2 Jan Bartel CLA 2011-07-04 02:46:21 EDT
AbstractSessionManager.setSessionPath() was sync'ed across to jetty-8 in time for jetty-8.0.0.M3.