Ah so, much more clear. Thanks. Being able to configure on a per web app basis is very good.
Greg Jules Gosnell wrote: > Here is how it is meant to work : > > the <distributable/> tag in WEB-INF/web.xml selects whether or not a > webapp is distributable. > > adding the tag will cause Jetty to use a DistributableSessionManager. > > This Manager will default to using an InterceptorStack and > DistributableStore that is specified in > jbossweb.sar/META-INF/jboss-service.xml - along with other parameters. > > This setting will be used for EVERY webapp. > > In order to select a different implementation on a per-webapp basis, you > may override the jboss-service.xml settings in WEB-INF/jetty-web.xml, so > that each webapp can select an implementation tailored to itself, or > even deployed with it. > > If you have removed the <distributable/> tag from your web.xml, but > included a jetty-web.xml in your webapp and distributable support is > being used, then you have probably uncommented the line : > > <Set name="DistributableHttpSession">true</Set> > > This will force the <distributable/> flag, regardless of the setting in > web.xml. This is really intended for debugging or running a > non-distributable app in distributable mode for one reason or another. > > In conclusion, > > If you want to keep things simple - the Jetty impl works exactly the > same way as Catalina's - you simply set the <distributable/> tag. > > If you want to configure exactly what setting this flag enables, then > you start playing with your jboss-service.xml or jetty-web.xml. > > Is that clear ? > > Jules > > Greg Turner wrote: > > This question concerns clustering http session with the > > JBoss3.0.1/Tomcat and JBoss3.0.1/Jetty combos. > > > > With Tomcat, it is very straight forward. Turning distributable on in > > the web.xml file turns it on and it works, turning distributable off in > > the web.xml file makes it not work. > > > > With the Jetty combo, I have 3 scenarios which work. Can someone > > precisely explain the differences. > > > > 1. distributable turned on, no jetty-web.xml file > > 2. distributable turned on, jetty-web.xml present with Extended session > > clustering > > 3. distributable turned off, jetty-web.xml present with Extended session > > clustering > > > > What extra is Extended session clustering providing ? > > > > Greg > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: Dice - The leading online job board > > for high-tech professionals. Search and apply for tech jobs today! > > http://seeker.dice.com/seeker.epl?rel_code=31 > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ------------------------------------------------------- > This sf.net email is sponsored by: Dice - The leading online job board > for high-tech professionals. Search and apply for tech jobs today! > http://seeker.dice.com/seeker.epl?rel_code=31 > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- Greg Turner, JBoss Authorized Consultant Tiburon Enterprise Systems http://www.tiburon-e-systems.com Box 1171 Tiburon, CA 94920 415-332-3363 ------------------------------------------------------- This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=31 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
