I haven't done the full log idea yet,  but here is one line from the
standard log that looks interesting
2002-11-05 12:32:38,083 INFO  [org.mortbay.j2ee.session.JGStore] could not
retrieve current sessions from JavaGroups

I'll do your enhancement to the logs next.

> -----Original Message-----
> From: Jules Gosnell [mailto:jules@;mortbay.com] 
> Sent: Tuesday, November 05, 2002 6:40 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Httpsession clustering synch?
> 
> 
> I think it is simply that a new node is not correctly 
> initialising it's 
> state from the existing state of the cluster. - Rick ?
> 
> I use the native JG setState()? stuff to do this, but it is a while 
> since I looked at it...
> 
> Hopefully the server logs should throw some light on it.
> 
> Jules
> 
> 
> 
> Sacha Labourey wrote:
> 
> >Ah, ok, I thought he was using the JBoss' one. Anyway, I was 
> interested in
> >the problem and wasn't able to understand the scenario. Did you? ;)
> >
> >>-----Message d'origine-----
> >>De : [EMAIL PROTECTED]
> >>[mailto:jboss-user-admin@;lists.sourceforge.net]De la part de Jules
> >>Gosnell
> >>Envoy� : mardi, 5 novembre 2002 11:38
> >>� : [EMAIL PROTECTED]
> >>Objet : Re: [JBoss-user] Httpsession clustering synch?
> >>
> >>
> >>Sacha,
> >>
> >>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 at
> >>>>>>
> >>>>the
> >>>>
> >>>>>>point where I'm not sure of the intended operation. As for
> >>>>>>
> >>>>more detail,
> >>>>I'm
> >>>>
> >>>>>>not sure what would be useful. I have it rigged so I can
> >>>>>>
> >>>>switch between
> >>>>two
> >>>>
> >>>>>>servers, the only two together. Going to server B won't 
> get me the
> >>>>>>
> >>>>session
> >>>>
> >>>>>>info. 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 one
> >>>>>>>>
> >>>>condition. If
> >>>>
> >>>>>>>>server a is in use, then I start server b, server b 
> won't have the
> >>>>>>>>
> >>>>>>session
> >>>>>>
> >>>>>>>>info (I guess it wasn't around to hear it). Is this just the
> >>>>>>>>
> >>>>limits of
> >>>>
> >>>>>>the
> >>>>>>
> >>>>>>>>javagroups 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
> >>
> >
> >
> >
> >-------------------------------------------------------
> >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
> 


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

Reply via email to