JBoss/Jetty's current default session distribution is an attribute-by-attribute native JG based impl, not the whole-session-at-a-time jbossha-based one. So this is a problem in my code - you can relax :-)
Rick,
Could you send me the server.logs for both servers showing startup, deployment of the app and the failed session access.
If you are running 3.0.4, find the configuration of the session interceptor stack in your jbossweb.sar/META-INF/jboss-service.xml and insert, near the top, an org.mortbay.j2ee.session.DebugInterceptor before you create these logs. This will echo out all session interactions and give me a much better chance of seeing what is going on.
Cheers,
Jules
Sacha Labourey wrote:
OK, now that we know what is your environment, can you explain a little bit more your problem i.e. "if server a is in use, then I start server b, server b won't have the session" ;)Cheers, Sacha-----Message d'origine----- De : [EMAIL PROTECTED] [mailto:jboss-user-admin@;lists.sourceforge.net]De la part de Rick LaBanca Envoyé : mardi, 5 novembre 2002 02:35 À : [EMAIL PROTECTED] Objet : Re: [JBoss-user] Httpsession clustering synch? redhat 7.3, jdk 1.4 (sun), jboss 3.0.4 Clustering enabled per the clustering doc (copy the cluster xml file, jbossha sar, javagroups jar, <distributed/> tag added) The test is with precompiled jsp's (so essentially servlets). What I am doing now for my simple test is this. I have two servers clustered this way. On a third windows box, I have a little utility that lets me map a local port to another ip:port, that allows me to switch over manually. So I use server A, kick the utility over to B and test. Everything seems fine except for this one case. Again, it's not clear how it's supposed to work, is it supposed to synch up servers coming online after activity has already occurred? rick ----- Original Message ----- From: "Jules Gosnell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 7:51 PM Subject: Re: [JBoss-user] Httpsession clustering synch?OS JVM JBoss version What have you done to enable httpsession clustering How are you load-balancing/failing-over between the http nodes Are you testing using servlets or JSPs etc.... Jules Rick LaBanca wrote:Sorry, thought the clustering was abstracted, using jetty. I'm just atthepoint where I'm not sure of the intended operation. As formore detail, I'mnot sure what would be useful. I have it rigged so I canswitch between twoservers, the only two together. Going to server B won't get me thesessioninfo. If I instead start both, then fool with a's session, b is OK. ----- Original Message ----- From: "Jules Gosnell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 4:43 PM Subject: Re: [JBoss-user] Httpsession clustering synch?Jetty or Tomcat - more detail please. Jules LaBanca, Rick wrote:It appears clustering session works well, except for onecondition. Ifserver a is in use, then I start server b, server b won't have thesessioninfo (I guess it wasn't around to hear it). Is this just thelimits ofthejavagroups type session persistence? (Or maybe I still have a setting botched somewhere) Rick ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user