wprker.properties is shown below
****************************************************
worker.list=loadbalancer


worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=server2,server3,server4
worker.loadbalancer.sticky_session=true




# Set properties for worker 'server2' (ajp13)
worker.server2.type=ajp13
worker.server2.host=ip2
worker.server2.port=8009

worker.server2.cachesize=10
worker.server2.cache_timeout=600
worker.server2.socket_keepalive=1
worker.server2.reclycle_timeout=300

# Set properties for worker 'server3' (ajp13)
worker.server3.type=ajp13
worker.server3.host=ip3
worker.server3.port=8009

worker.server3.cachesize=10
worker.server3.cache_timeout=600
worker.server3.socket_keepalive=1
worker.server3.reclycle_timeout=300

# Set properties for worker 'server4' (ajp13)
worker.server4.type=ajp13
worker.server4.host=ip4
worker.server4.port=8009

worker.server4.cachesize=10
worker.server4.cache_timeout=600
worker.server4.socket_keepalive=1
worker.server4.reclycle_timeout=300

*******************************************************************

Also my jboss server.xml does NOT have an entry for <jvmroute=server1/2>
Is it necessary? because i have seen through jboss web console that
connections are being made to the second server

PS: server 2 is shutdown, so server3 and server4 are the 2 jboss servers













nilesh p wrote:
> 
> Dear Friends,
> 
> Using apache i am trying to load balance JBOSS.There are 2 JBOSS instances
> on 2 different servers.Now if only one JBOSS is started , the application
> works perfectly. However, when i start the other JBOSS, my application
> starts giving "service temporarily unavailable" or "session expired"
> errors intermittently.
> 
> Both the JBOSS instances are exact replicas listening on same AJP port
> 8009 and HTTP port 8080.
> 
> Also if the application is accessed by directly connecting to the JBOSS
> instances, then it works normal.Only through APACHE i get this error. Is
> there some load balancing issue? Has anybody faced such an issue???
> 
> Regards,
> Nilesh
> 

-- 
View this message in context: 
http://www.nabble.com/Apache-load-balancing-tp24969245p24969559.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to