On Thu, 2009-06-11 at 06:12 -0700, nilesh p wrote:
> :)
> Its like this, 
> 
> My workers.properties file is as below
> 
> worker.list=loadbalancer
> 
> 
> worker.loadbalancer.type=lb
> #worker.loadbalancer.balance_workers=server1,server2,server3
> worker.loadbalancer.balance_workers=server2,server3,server4,server5
> worker.loadbalancer.sticky_session=true
> 
> # Set properties for worker 'server1' (ajp13)
> #worker.server1.type=ajp13
> #worker.server1.host=IP1
> #worker.server1.port=8009
> 
> #worker.server1.cachesize=10
> #worker.server1.cache_timeout=600
> #worker.server1.socket_keepalive=1
> #worker.server1.reclycle_timeout=300
> 
> # 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
> 
> # Set properties for worker 'server5' (ajp13)
> worker.server5.type=ajp13
> worker.server5.host=IP4
> worker.server5.port=8009
> 
> worker.server5.cachesize=10
> worker.server5.cache_timeout=600
> worker.server5.socket_keepalive=1
> worker.server5.reclycle_timeout=300
> 
> 
> As you can see, Server4 and Server5 have the same IP (IP4) and both are
> jboss instances.
> On the IP4 server(linux box), i have copied two exactly same instances of
> Jboss.
> In the server.xml file of 1st jboss instance all configurations are default
> config (8080)
> whereas in the server.xml of 2nd jboss instance, i have changed port to
> 9080.Thats it.
> now when i start only 1st Jboss instance, it works pretty fine but when i
> start the 2nd instance, the application starts to crash. I have given
> XMX=XMS=1024m for both the instances and the server has 4 gb of physical
> memory.
> 
> I can view the WEB-CONSOLE of 1st jboss instance and find 10 connections.
> I am not very clear if apache is actually using the 2nd instance and why
> does the application crash
> the error that i get is "Your Application session has expired or an
> unexpected error has occured!!!"
> 
> Can anyone help me out ? :(
> 

I thought you were asking about apache httpd server configuration? Those
all look like JBoss configuration - JBoss configuration/application
crashes are best debugged on the JBoss lists btw. 

Please provide your apache configuration, or at least some indication of
what it is.

Cheers

Tom




---------------------------------------------------------------------
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