[jboss-jira] [JBoss JIRA] (AS7-3529) mod_cluster stickySessionForce should default to false if running a HA profile

Radoslav Husar (JIRA) jira-events at lists.jboss.org
Tue Jan 31 19:07:48 EST 2012


    [ https://issues.jboss.org/browse/AS7-3529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12663204#comment-12663204 ] 

Radoslav Husar edited comment on AS7-3529 at 1/31/12 7:05 PM:
--------------------------------------------------------------

+ docs update.

{noformat}
Index: docs/userguide/src/main/docbook/modules/java/properties.xml
===================================================================
--- docs/userguide/src/main/docbook/modules/java/properties.xml	(revision 706)
+++ docs/userguide/src/main/docbook/modules/java/properties.xml	(working copy)
@@ -197,7 +197,7 @@
            </row>
           <row>
             <entry>stickySessionForce</entry>
-            <entry>true</entry>
+            <entry>true (false in AS7)</entry>
             <entry>Balancer</entry>
             <entry>
               <para>Indicates whether the httpd proxy should return an error in the event that the balancer is unable to route a request to the node to which it is stuck. This property is ignored if <link linkend="stickySession">stickySession</link> is false.</para>
{noformat}
                
      was (Author: rhusar):
    + docs update.

Index: docs/userguide/src/main/docbook/modules/java/properties.xml
===================================================================
--- docs/userguide/src/main/docbook/modules/java/properties.xml	(revision 706)
+++ docs/userguide/src/main/docbook/modules/java/properties.xml	(working copy)
@@ -197,7 +197,7 @@
            </row>
           <row>
             <entry>stickySessionForce</entry>
-            <entry>true</entry>
+            <entry>true (false in AS7)</entry>
             <entry>Balancer</entry>
             <entry>
               <para>Indicates whether the httpd proxy should return an error in the event that the balancer is unable to route a request to the node to which it is stuck. This property is ignored if <link linkend="stickySession">stickySession</link> is false.</para>

                  
> mod_cluster stickySessionForce should default to false if running a HA profile
> ------------------------------------------------------------------------------
>
>                 Key: AS7-3529
>                 URL: https://issues.jboss.org/browse/AS7-3529
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: Clustering
>            Reporter: Radoslav Husar
>            Assignee: Radoslav Husar
>
> Having stickySessionForce* mod_cluster set to true by default IMHO defeats the whole purpose of using HA, if the client is going to end up with error returned anyway. 
> I propose if we are running AS7 the default should be false and failover should be just transparent and with ASYNC having a stale session is better than returning an error. I guess the configuration should keep in mind that mod_cluster is primarily used with HA clusters. This makes most sense with standalone Tomcat only.
> *Return an error when the request cannot be routed to the right node. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list