Re: Apache with multiple instance of jboss on same server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



:)
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 ? :(

-- 
View this message in context: http://www.nabble.com/Apache-with-multiple-instance-of-jboss-on-same-server-tp23979597p23981040.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-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux