I set up 2 jboss3.2.3 in one cluster,and use apache2 as web server,use jk2 as connector
I config the worker.properties like 
[config:]
file=C:/Program Files/Apache Group/Apache2/conf/workers2.properties
debug=0
debugEnv=0

[shm]
file=C:/Program Files/Apache Group/Apache2/logs/jk2.shm
size=1048576

# The load balancer
[lb:lb]
stickySession=0

# Server 1, override port and host.
[channel.socket:penpc06:8009]
port=8009
host=penpc06
tomcatId=penpc06
graceful=0
disabled=0

# Server 2, override port and host.
[channel.socket:penpc30:8009]
port=8009
host=penpc30
tomcatId=penpc30
graceful=0
disabled=0

# define worker for server 1
[ajp13:penpc06:8009]
channel=channel.socket:penpc06:8009
group=lb

# define worker for server 2
[ajp13:penpc30:8009]
channel=channel.socket:penpc30:8009
group=lb

# Uri mapping
[uri:/webflex/*]
group=lb

also,on each jboss server,I set
<Engine jvmRoute=ÃÂpenpc06ÃÂ name=ÃÂMainEngineÃÂ defaultHost=ÃÂlocalhostÃÂ>

or 
<Engine jvmRoute=ÃÂpenpc30ÃÂ name=ÃÂMainEngineÃÂ defaultHost=ÃÂlocalhostÃÂ>

every thing works fine,I can see both server hit if I open 2 browsers

but once I shut down one jboss by close the window,the web application r which connect 
to this jboss doesn't work if the page need session.looks like the session didn't 
replicated to another jboss server.I have to ask the user login again.
how can I make the session failover work?

<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827134#3827134";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827134>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to