hi 

I've configured serve1 jboss3.2.3 with apache 1.3.x and mod_jk2 connector on Redhat9,
and server2 configured only jboss3.2.3 on RedHat9.

The load balancing works correctly, but i'm having a few problems getting the sticky 
sessions to work.

I'll post my workers2.properties below

Thanks in advance for any assistance! 


workers2.properties 
----------------------------
#Log file, replace APACHE_HOME by your Apache installation directory
[shm]
file= /var/logs/httpd/mod_jk2.log
size=1048576

# The load balancer
[lb:lb]

# Server 1, override port and host.
[channel.socket:IP of server1's:8009]
port=8009
host=IP of server1's
tomcatId=IP of server1's:8009

# Server 2, override port and host.
[channel.socket:IP of server2's:8009]
port=8009
host=IP of server2's
tomcatId=IP of server2's:8009

#define worker for server1
[ajp13:IP of server1's:8009]
channel=channel.socket:IP of server1's:8009
group=lb

#define worker for server2
[ajp13:IP of server2's:8009]
channel=channel.socket:IP of server2's:8009
group=lb

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

and I add jvmRoute=IP of server1's at jboss-server.xml


I'll post to errorlog
----------------------
[月  3月 29 12:53:24 2004]  (error) [jk_worker_lb.c (415)]: lb.service() 
unrecov
erable error...
[月  3月 29 12:53:24 2004]  (error) [mod_jk2.c (427)]: mod_jk.handler() 
Error co
nnecting to tomcat 21000
[月  3月 29 13:23:07 2004]  (error) [jk_endpoint.c (90)]: workerEnv.init() 
creat
e slot epStat.7 failed
[月  3月 29 13:23:07 2004]  (error) [jk_worker_lb.c (402)]: lb.service() 
worker
failed 21000 for ajp13:IP of server1's:8009
[月  3月 29 13:23:07 2004]  (error) [jk_worker_lb.c (415)]: lb.service() 
unrecov
erable error...
[月  3月 29 13:23:07 2004]  (error) [mod_jk2.c (427)]: mod_jk.handler() 
Error co
nnecting to tomcat 21000
----------------------




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

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827890>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_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to