Re: Session stickiness breaks in CF 8
I can do this in our test cluster. I'll try it tomorrow and wait for another incident. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/2/11 Jochem van Dieten joch...@gmail.com: On Tue, Feb 10, 2009 at 4:30 AM, James Holmes wrote: We have an issue with our CF8.01 clusters in that sticky sessions will intermittently break. The behaviour is very strange; the JSESSIONID cookie seems to be ignored and the request is sent to the wrong server by the Apache connector. A new session cookie is issued by the instance but it's again ignored on the next request, starting the cycle all over again. The way I see it the issue may be caused on two sides, the connector in the webserver or the bootstrap data from JRun. Do you have verbose logging from the connector? If not, could you bring up a new instance of Apache (could be on a different machine if this is occurring in production and you don't want to disturb the existing systems), connect it to the cluster, enable verbose logging on the connector and restart Apache? Jochem -- Jochem van Dieten http://jochem.vandieten.net/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319152 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Session stickiness breaks in CF 8
I finally found the cause of this issue. It wasn't the JRun internal webserver - it was a session cookie being set by our portal servers. The portal server cookie is set domain wide and even though it has a string prepended to JSESSIONID in its name it seems that occasionally JRun is getting confused by it. I've confirmed this by deleting the portal cookie; the CF cluster returns to normal operation immediately after this. Thanks for everyone's suggestions. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/2/10 James Holmes james.hol...@gmail.com: We have an issue with our CF8.01 clusters in that sticky sessions will intermittently break. The behaviour is very strange; the JSESSIONID cookie seems to be ignored and the request is sent to the wrong server by the Apache connector. A new session cookie is issued by the instance but it's again ignored on the next request, starting the cycle all over again. This will happen as long as the browser is open or until all session cookies are cleared. Clearing the session cookies in the browser results in the expected behaviour (session sticks to one instance). I've read this: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_18680 and we're trying to see if this occurs only after a graceful restart of Apache, but since clearing session cookies in the browser fixes the issue we're not convinced it's the same thing. The platform is CF8.01 Ent Multiserver (i.e. JRun) on SLES 10, Apache 2.2. Has anyone experienced this before? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319220 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Session stickiness breaks in CF 8
I wonder if this is only an issue on *nix operating systems? I've never had this happen on our Windows boxes... and we have clustering turned on for 7 different clusters across 11 different servers. Heck, it's been running just fine for those environs since we were on MX 6.1... we're currently at 8.01. This has worked on JRun 4 update 6 through JRun 4 update 7. Matthew Williams Geodesic GraFX ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319118 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Session stickiness breaks in CF 8
Stopping the JWS will not disrupt any loadbalancing setup. And it's possible to reach the individual instances in the cluster without JWS -Original Message- From: James Holmes [mailto:james.hol...@gmail.com] Sent: 10. februar 2009 7:35 To: cf-talk Subject: Re: Session stickiness breaks in CF 8 We still have the built-in webserver (JWS) enabled. It figures that the JWS could be the issue - session replication doesn't work for us at all and I saw a post a while ago that showed the JWS as the culplrit for that problem too. Now I have to weigh up the pain of turning off the JWS (if that's the problem) vs the pain of reorganising our system to do all the load balancing via our Cisco ACE instead. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/2/10 WebSite CFTalk cft...@website.no: Is the built in web server disabled? We were having a similar issue, the fix was to disable internal web server in jrun for each instance. (Then it's difficult to access the admin interfaces on the cluster instances, but it's possible by forcing the jsessionid..) -Helge -Original Message- From: James Holmes [mailto:james.hol...@gmail.com] Sent: 10. februar 2009 4:30 To: cf-talk Subject: Session stickiness breaks in CF 8 We have an issue with our CF8.01 clusters in that sticky sessions will intermittently break. The behaviour is very strange; the JSESSIONID cookie seems to be ignored and the request is sent to the wrong server by the Apache connector. A new session cookie is issued by the instance but it's again ignored on the next request, starting the cycle all over again. This will happen as long as the browser is open or until all session cookies are cleared. Clearing the session cookies in the browser results in the expected behaviour (session sticks to one instance). I've read this: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_18680 and we're trying to see if this occurs only after a graceful restart of Apache, but since clearing session cookies in the browser fixes the issue we're not convinced it's the same thing. The platform is CF8.01 Ent Multiserver (i.e. JRun) on SLES 10, Apache 2.2. Has anyone experienced this before? mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319121 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Session stickiness breaks in CF 8
Would you care to provide a link to how you get to an instance without going through the JWS? I'm really not trying to be a smart ass here, I truly want to know ;). Matthew Williams Geodesic GraFX ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319122 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Session stickiness breaks in CF 8
No prob :) Should have done that in the first place. The last comment on this page includes what we found. http://alagad.com/go/blog-entry/vertical-and-horizontal-clustering-with-coldfusion#comments -Helge -Original Message- From: Matthew Williams [mailto:mai...@geodesicgrafx.com] Sent: 10. februar 2009 5:08 To: cf-talk Subject: Re: Session stickiness breaks in CF 8 Would you care to provide a link to how you get to an instance without going through the JWS? I'm really not trying to be a smart ass here, I truly want to know ;). Matthew Williams Geodesic GraFX ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319123 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Session stickiness breaks in CF 8
That's simpler than I thought. I'll give it a go with our clusters and see what happens. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/2/11 WebSite CFTalk cft...@website.no: No prob :) Should have done that in the first place. The last comment on this page includes what we found. http://alagad.com/go/blog-entry/vertical-and-horizontal-clustering-with-coldfusion#comments -Helge -Original Message- From: Matthew Williams [mailto:mai...@geodesicgrafx.com] Sent: 10. februar 2009 5:08 To: cf-talk Subject: Re: Session stickiness breaks in CF 8 Would you care to provide a link to how you get to an instance without going through the JWS? I'm really not trying to be a smart ass here, I truly want to know ;). ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319142 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Session stickiness breaks in CF 8
On Tue, Feb 10, 2009 at 4:30 AM, James Holmes wrote: We have an issue with our CF8.01 clusters in that sticky sessions will intermittently break. The behaviour is very strange; the JSESSIONID cookie seems to be ignored and the request is sent to the wrong server by the Apache connector. A new session cookie is issued by the instance but it's again ignored on the next request, starting the cycle all over again. The way I see it the issue may be caused on two sides, the connector in the webserver or the bootstrap data from JRun. Do you have verbose logging from the connector? If not, could you bring up a new instance of Apache (could be on a different machine if this is occurring in production and you don't want to disturb the existing systems), connect it to the cluster, enable verbose logging on the connector and restart Apache? Jochem -- Jochem van Dieten http://jochem.vandieten.net/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319151 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Session stickiness breaks in CF 8
We have an issue with our CF8.01 clusters in that sticky sessions will intermittently break. The behaviour is very strange; the JSESSIONID cookie seems to be ignored and the request is sent to the wrong server by the Apache connector. A new session cookie is issued by the instance but it's again ignored on the next request, starting the cycle all over again. This will happen as long as the browser is open or until all session cookies are cleared. Clearing the session cookies in the browser results in the expected behaviour (session sticks to one instance). I've read this: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_18680 and we're trying to see if this occurs only after a graceful restart of Apache, but since clearing session cookies in the browser fixes the issue we're not convinced it's the same thing. The platform is CF8.01 Ent Multiserver (i.e. JRun) on SLES 10, Apache 2.2. Has anyone experienced this before? mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319103 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Session stickiness breaks in CF 8
Is the built in web server disabled? We were having a similar issue, the fix was to disable internal web server in jrun for each instance. (Then it's difficult to access the admin interfaces on the cluster instances, but it's possible by forcing the jsessionid..) -Helge -Original Message- From: James Holmes [mailto:james.hol...@gmail.com] Sent: 10. februar 2009 4:30 To: cf-talk Subject: Session stickiness breaks in CF 8 We have an issue with our CF8.01 clusters in that sticky sessions will intermittently break. The behaviour is very strange; the JSESSIONID cookie seems to be ignored and the request is sent to the wrong server by the Apache connector. A new session cookie is issued by the instance but it's again ignored on the next request, starting the cycle all over again. This will happen as long as the browser is open or until all session cookies are cleared. Clearing the session cookies in the browser results in the expected behaviour (session sticks to one instance). I've read this: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_18680 and we're trying to see if this occurs only after a graceful restart of Apache, but since clearing session cookies in the browser fixes the issue we're not convinced it's the same thing. The platform is CF8.01 Ent Multiserver (i.e. JRun) on SLES 10, Apache 2.2. Has anyone experienced this before? mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319109 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Session stickiness breaks in CF 8
We still have the built-in webserver (JWS) enabled. It figures that the JWS could be the issue - session replication doesn't work for us at all and I saw a post a while ago that showed the JWS as the culplrit for that problem too. Now I have to weigh up the pain of turning off the JWS (if that's the problem) vs the pain of reorganising our system to do all the load balancing via our Cisco ACE instead. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/2/10 WebSite CFTalk cft...@website.no: Is the built in web server disabled? We were having a similar issue, the fix was to disable internal web server in jrun for each instance. (Then it's difficult to access the admin interfaces on the cluster instances, but it's possible by forcing the jsessionid..) -Helge -Original Message- From: James Holmes [mailto:james.hol...@gmail.com] Sent: 10. februar 2009 4:30 To: cf-talk Subject: Session stickiness breaks in CF 8 We have an issue with our CF8.01 clusters in that sticky sessions will intermittently break. The behaviour is very strange; the JSESSIONID cookie seems to be ignored and the request is sent to the wrong server by the Apache connector. A new session cookie is issued by the instance but it's again ignored on the next request, starting the cycle all over again. This will happen as long as the browser is open or until all session cookies are cleared. Clearing the session cookies in the browser results in the expected behaviour (session sticks to one instance). I've read this: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_18680 and we're trying to see if this occurs only after a graceful restart of Apache, but since clearing session cookies in the browser fixes the issue we're not convinced it's the same thing. The platform is CF8.01 Ent Multiserver (i.e. JRun) on SLES 10, Apache 2.2. Has anyone experienced this before? mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319110 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4