Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Invalid docs on sessionids

I was trying to configure the sessionid via jetty.xml (second example) and its clearly not meant to be used like this in jetty 7.

http://wiki.eclipse.org/Jetty/Howto/SessionIds

Appears this example needs to be updated.  WebAppContext has not setInitParams method and mixed use of org.mortbay.jetty and org.eclipse.jetty class names.

jvm 1    | 2011-10-20 15:42:11.077:WARN:oejx.XmlConfiguration:Config error at <Set name="initParams">|    <Map><Entry><Item>org.eclipse.jetty.servlet.SessionCookie</Item><Item>XSESSIONID</Item></Entry><Entry><Item>org.eclipse.jetty.servlet.SessionIdPathParameterName</Item><Item>xsessionid</Item></Entry></Map>|  </Set> java.lang.NoSuchMethodException: class org.eclipse.jetty.webapp.WebAppContext.setInitParams(class java.util.HashMap)

The "Additional Resources" link below is also strange, href for "Session Clustering" is:

http://wiki.eclipse.org/index.php?title=Jetty/Feature/Session_Clustering&action=edit

and probably should be:

http://wiki.eclipse.org/Jetty/Tutorial/Session_Clustering

--jason

Back to the top