[jboss-user] [Clustering/JBoss] - Re: Strange behavior replicated session (Error)

rengar do-not-reply at jboss.com
Wed Jan 28 02:48:03 EST 2009


anonymous wrote : Do you mean with AS 4.2.3 it's always xxxxxxxxxxxx.node1? Even after you shut down node1?

Yes

anonymous wrote : 
  | If so, do you have "UseJK" set to "true" in your 4.2.3 deploy/jboss-web-deployer/META-INF/jboss-service.xml file? You should. 
  | 

I have useJK="true".

anonymous wrote : 
  | If you can make that happen in 4.2.3 and then you see the same "bad" behavior that tells me it is an issue with how mod_proxy deals with the jvmRoute suffix.
  | 

I use the same apache-mod_proxy at 4.2.3 and 5.0.0.

My configuration:

1.- Apache


  | <VirtualHost *:80>
  | 
  |      <Proxy balancer://portalcluster>
  |        Order deny,allow
  |           Allow from all
  | 
  |          BalancerMember ajp://10.20.2.110:8009 route=node1
  |          BalancerMember ajp://10.20.2.111:8009 route=node2
  |          BalancerMember ajp://10.20.2.112:8009 route=node3
  |      </Proxy>
  | 
  |    ProxyPass / balancer://portalcluster/ stickysession=JSESSIONID nofailover=Off
  | </VirtualHost>
  | 

2.- JBoss web (at 3 nodes - node1,node2,node3)

-"/opt/java/jboss/server/all/deploy/jboss-web.deployer/server.xml"


  |  <Engine .... jvmRoute="node1">
  | 

  |  <Engine .... jvmRoute="node2">
  | 

  |  <Engine .... jvmRoute="node3">
  | 

-"/opt/java/jboss/server/all/deploy/jboss-web.deployer/META-INF/jboss-service.xml" (this step only 4.2.3, not at 5.0.0 (don't necessary))


  | <attribute name="UseJK">true</attribute>
  | 

At 5.0.0 have a strange behaviour when it returns node1 because change session to yyyyyyyyyyyyyyy.node1 (New session). Before session were xxxxxxxxxxxxxxx.node1. Don't reused the same session.

Thanks.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205133#4205133

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205133



More information about the jboss-user mailing list