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.

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:

and probably should be:


Back to the top