Skip to main content

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

Hi Jason,

Thanks for pointing this out. The page is mostly updated, just fixing the link to the clustering remains to be sorted out.


On 21 October 2011 09:48, Jason Dillon <jason@xxxxxxxxxxxx> wrote:
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:

jetty-users mailing list

Back to the top