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.

cheers
Jan

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.

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="">

and probably should be:

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

--jason
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top