wood burning stoves*
The moose likes Performance and the fly likes Apache Web Server returns Connection Refused Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Apache Web Server returns Connection Refused" Watch "Apache Web Server returns Connection Refused" New topic
Author

Apache Web Server returns Connection Refused

Swapneel Killekar
Greenhorn

Joined: Jun 22, 2011
Posts: 14
I am using the setup as defined below,

1. Apache (HTTP) Web Server (AWS) + Mod_JK
Port : 8080
Acts as a load balancer, which has 2 Workers as given below.

2. Jboss AS (Running My Application)
Worker 1
Port : 8180
Port AJP : 8109

3. Jboss AS (Running My Application)
Worker 2
Port : 8280
Port AJP : 8209

Here all the clients send the request to AWS which internally distributes the load between Worker1 and Worker 2.
In performance labs when i hit the AWS with 2000 request simultaneously, the AWS returns Connection refused. JBOSS AS is configured and tested with 1000 request at once and was working fine, so i am sure its not related to JBOSS.

Kindly let me know what performance related attributes can be set in AWS to handle this load.

Regards,
Swapneel Killekar.
 
Consider Paul's rocket mass heater.
 
subject: Apache Web Server returns Connection Refused
 
Similar Threads
understanding load balancing with mod_jk and tomcat
JBOSS 4.3.0 EAP Clustering with Apache HTTP Server 2.2.11
Simulate HTTPS in Tomcat connector or Apache config?
Apache/Jboss issue
AJP conenction error under high load