You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by HERALD <he...@avenues.info> on 2010/06/22 13:15:55 UTC

[users@httpd] Help required for Configuring Apache Web Server For High Availibility

Hi 

We are having issues configuring our servers for High Traffic. We receive
502 Bad gateway Error after a specified number of Hits, it persists for a
while and then resumes normal operation after a while. We would appreciate
any help and thanks in advance.  Configuration Files would be shared if
required.

Module used : Apache 2.2.14 with mod_jk -- Jboss 4.2.3

 

Best Regards

Herald Jose

Ph: - 91 22 67425555 Ext :-( 906)

 

 


Re: [users@httpd] Help required for Configuring Apache Web Server For High Availibility

Posted by alin vasile <al...@yahoo.com>.
put your apache error log  to debug and check what it says...




________________________________
From: Karthik Nanjangude <ka...@xius-bcgi.com>
To: "users@httpd.apache.org" <us...@httpd.apache.org>
Sent: Fri, June 25, 2010 1:38:38 PM
Subject: RE: [users@httpd] Help required for Configuring Apache Web Server For High Availibility

 
Hi
 
Ø       The 502 bad gateway error is
 
Sorry for  Hi-jacking up this Thread.
 
I too have some similar Issues with JBOSS /
Apache   LB process
 
I my case Apache is Displaying Bad Gateway  
[  http://wwww.application.com/aap1>
]
 
But  when the same page is being  direct
call  [ http://application:8081/aap1 ] internal direct hit to JBOSS server displays the  page properly
 
 
Between 2 instance of JBOSS
4.2.1 and Apache 2.x we use mod_jk [ available from Apache Tomcat Connector Web
site ]
 
http://tomcat.apache.org/connectors-doc/news/20100101.html#1%20March%20-%20JK-1.2.30%20released
 
 
 
 
with regards
Karthik
 

________________________________
 
From:HERALD
[mailto:herald.jose@avenues.info] 
Sent: Tuesday, June 22, 2010 6:57
PM
To: users@httpd.apache.org
Subject: RE: [users@httpd] Help
required for Configuring Apache Web Server For High Availibility
 
Hi 
 
Thanks again, will
check the logs for any errors and get back to you. 
 
 
Best
Regards
Herald
Jose
Ph: - 91
22 67425555 Ext :-( 906)
 
 
From:alin vasile
[mailto:alinachegalati@yahoo.com] 
Sent: Tuesday, June 22, 2010 6:09
PM
To: users@httpd.apache.org
Cc: aniruddha; Ankit@avenues.info;
anupama@avenues.info; nandkumar.menon@avenues.info
Subject: Re: [users@httpd] Help
required for Configuring Apache Web Server For High Availibility
 
Clearly
those exceptions appear in jboss. Check if you have a stacktrace associated and
try to determine exactly which peer is involved when they appear.
 

________________________________
 
From:HERALD
<he...@avenues.info>
To: users@httpd.apache.org
Cc: aniruddha
<an...@avenues.info>; Ankit@avenues.info; anupama@avenues.info;
nandkumar.menon@avenues.info
Sent: Tue, June 22, 2010 2:56:56
PM
Subject: RE: [users@httpd] Help
required for Configuring Apache Web Server For High Availibility
Hi
Thanks  Alin
 
The 502 bad gateway error is  followed
by these error
 
·         java.net.SocketException: Connection reset
·         Blank request
·         java.net.SocketException: Unexpected end of file from server
 
Due you think all these are due to Jboss
server.
 
Best
Regards
Herald
Jose
Ph: - 91 22
67425555 Ext :-( 906)
 
 
From:alin vasile [mailto:alinachegalati@yahoo.com] 
Sent: Tuesday, June 22, 2010 5:08
PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Help
required for Configuring Apache Web Server For High Availibility
 
This
response suggest more that your jboss setup doesn't handle the load
 

________________________________
 
From:HERALD <he...@avenues.info>
To: users@httpd.apache.org
Cc: aniruddha
<an...@avenues.info>; Ankit@avenues.info; anupama@avenues.info;
nandkumar.menon@avenues.info
Sent: Tue, June 22, 2010 2:15:55
PM
Subject: [users@httpd] Help
required for Configuring Apache Web Server For High Availibility
Hi 
We
are having issues configuring our servers for High Traffic. We receive 502 Bad
gateway Error after a specified number of Hits, it persists for a while and
then resumes normal operation after a while. We would appreciate any help and
thanks in advance.  Configuration Files would be shared if required.
Module
used : Apache 2.2.14 with mod_jk -- Jboss 4.2.3
 
Best Regards
Herald Jose
Ph: - 91 22
67425555 Ext :-( 906)


      

RE: [users@httpd] Help required for Configuring Apache Web Server For High Availibility

Posted by Karthik Nanjangude <ka...@xius-bcgi.com>.
Hi

?       The 502 bad gateway error is

Sorry for  Hi-jacking up this Thread.

I too have some similar Issues with JBOSS / Apache   LB process

I my case Apache is Displaying Bad Gateway   [  http://wwww.application.com/aap1 ]

But  when the same page is being  direct call  [ http://application:8081/aap1 ] internal direct hit to JBOSS server displays the  page properly


Between 2 instance of JBOSS 4.2.1 and Apache 2.x we use mod_jk [ available from Apache Tomcat Connector Web site ]

http://tomcat.apache.org/connectors-doc/news/20100101.html#1%20March%20-%20JK-1.2.30%20released




with regards
Karthik

________________________________
From: HERALD [mailto:herald.jose@avenues.info]
Sent: Tuesday, June 22, 2010 6:57 PM
To: users@httpd.apache.org
Subject: RE: [users@httpd] Help required for Configuring Apache Web Server For High Availibility

Hi

Thanks again, will check the logs for any errors and get back to you.


Best Regards
Herald Jose
Ph: - 91 22 67425555 Ext :-( 906)


From: alin vasile [mailto:alinachegalati@yahoo.com]
Sent: Tuesday, June 22, 2010 6:09 PM
To: users@httpd.apache.org
Cc: aniruddha; Ankit@avenues.info; anupama@avenues.info; nandkumar.menon@avenues.info
Subject: Re: [users@httpd] Help required for Configuring Apache Web Server For High Availibility

Clearly those exceptions appear in jboss. Check if you have a stacktrace associated and try to determine exactly which peer is involved when they appear.

________________________________
From: HERALD <he...@avenues.info>
To: users@httpd.apache.org
Cc: aniruddha <an...@avenues.info>; Ankit@avenues.info; anupama@avenues.info; nandkumar.menon@avenues.info
Sent: Tue, June 22, 2010 2:56:56 PM
Subject: RE: [users@httpd] Help required for Configuring Apache Web Server For High Availibility
Hi
Thanks  Alin

The 502 bad gateway error is  followed by these error


*         java.net.SocketException: Connection reset

*         Blank request

*         java.net.SocketException: Unexpected end of file from server

Due you think all these are due to Jboss server.

Best Regards
Herald Jose
Ph: - 91 22 67425555 Ext :-( 906)


From: alin vasile [mailto:alinachegalati@yahoo.com]
Sent: Tuesday, June 22, 2010 5:08 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Help required for Configuring Apache Web Server For High Availibility

This response suggest more that your jboss setup doesn't handle the load

________________________________
From: HERALD <he...@avenues.info>
To: users@httpd.apache.org
Cc: aniruddha <an...@avenues.info>; Ankit@avenues.info; anupama@avenues.info; nandkumar.menon@avenues.info
Sent: Tue, June 22, 2010 2:15:55 PM
Subject: [users@httpd] Help required for Configuring Apache Web Server For High Availibility
Hi
We are having issues configuring our servers for High Traffic. We receive 502 Bad gateway Error after a specified number of Hits, it persists for a while and then resumes normal operation after a while. We would appreciate any help and thanks in advance.  Configuration Files would be shared if required.
Module used : Apache 2.2.14 with mod_jk -- Jboss 4.2.3

Best Regards
Herald Jose
Ph: - 91 22 67425555 Ext :-( 906)





RE: [users@httpd] Help required for Configuring Apache Web Server For High Availibility

Posted by HERALD <he...@avenues.info>.
Hi 

 

Thanks again, will check the logs for any errors and get back to you. 

 

 

Best Regards

Herald Jose

Ph: - 91 22 67425555 Ext :-( 906)

 

 

From: alin vasile [mailto:alinachegalati@yahoo.com] 
Sent: Tuesday, June 22, 2010 6:09 PM
To: users@httpd.apache.org
Cc: aniruddha; Ankit@avenues.info; anupama@avenues.info;
nandkumar.menon@avenues.info
Subject: Re: [users@httpd] Help required for Configuring Apache Web Server
For High Availibility

 

Clearly those exceptions appear in jboss. Check if you have a stacktrace
associated and try to determine exactly which peer is involved when they
appear.

 

  _____  

From: HERALD <he...@avenues.info>
To: users@httpd.apache.org
Cc: aniruddha <an...@avenues.info>; Ankit@avenues.info;
anupama@avenues.info; nandkumar.menon@avenues.info
Sent: Tue, June 22, 2010 2:56:56 PM
Subject: RE: [users@httpd] Help required for Configuring Apache Web Server
For High Availibility

Hi

Thanks  Alin

 

The 502 bad gateway error is  followed by these error

 

.         java.net.SocketException: Connection reset

.         Blank request

.         java.net.SocketException: Unexpected end of file from server

 

Due you think all these are due to Jboss server.

 

Best Regards

Herald Jose

Ph: - 91 22 67425555 Ext :-( 906)

 

 

From: alin vasile [mailto:alinachegalati@yahoo.com] 
Sent: Tuesday, June 22, 2010 5:08 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Help required for Configuring Apache Web Server
For High Availibility

 

This response suggest more that your jboss setup doesn't handle the load

 

  _____  

From: HERALD <he...@avenues.info>
To: users@httpd.apache.org
Cc: aniruddha <an...@avenues.info>; Ankit@avenues.info;
anupama@avenues.info; nandkumar.menon@avenues.info
Sent: Tue, June 22, 2010 2:15:55 PM
Subject: [users@httpd] Help required for Configuring Apache Web Server For
High Availibility

Hi 

We are having issues configuring our servers for High Traffic. We receive
502 Bad gateway Error after a specified number of Hits, it persists for a
while and then resumes normal operation after a while. We would appreciate
any help and thanks in advance.  Configuration Files would be shared if
required.

Module used : Apache 2.2.14 with mod_jk -- Jboss 4.2.3

 

Best Regards

Herald Jose

Ph: - 91 22 67425555 Ext :-( 906)

 

 

 

 


Re: [users@httpd] Help required for Configuring Apache Web Server For High Availibility

Posted by alin vasile <al...@yahoo.com>.
Clearly those exceptions appear in jboss. Check if you have a stacktrace associated and try to determine exactly which peer is involved when they appear.




________________________________
From: HERALD <he...@avenues.info>
To: users@httpd.apache.org
Cc: aniruddha <an...@avenues.info>; Ankit@avenues.info; anupama@avenues.info; nandkumar.menon@avenues.info
Sent: Tue, June 22, 2010 2:56:56 PM
Subject: RE: [users@httpd] Help required for Configuring Apache Web Server For High Availibility

 
Hi
Thanks
 Alin
 
The
502 bad gateway error is  followed by these error
 
·         java.net.SocketException: Connection reset
·         Blank request
·         java.net.SocketException: Unexpected end
of file from server
 
Due
you think all these are due to Jboss server.
 
Best Regards
Herald Jose
Ph: - 91 22 67425555 Ext :-( 906)
 
 
From:alin vasile
[mailto:alinachegalati@yahoo.com] 
Sent: Tuesday, June 22, 2010 5:08 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Help required for Configuring Apache Web
Server For High Availibility
 
This response suggest more that your jboss setup doesn't
handle the load
 

________________________________
 
From:HERALD <he...@avenues.info>
To: users@httpd.apache.org
Cc: aniruddha <an...@avenues.info>; Ankit@avenues.info;
anupama@avenues.info; nandkumar.menon@avenues.info
Sent: Tue, June 22, 2010 2:15:55 PM
Subject: [users@httpd] Help required for Configuring Apache Web Server
For High Availibility
Hi 
We are having issues configuring our servers for High
Traffic. We receive 502 Bad gateway Error after a specified number of Hits, it
persists for a while and then resumes normal operation after a while. We would
appreciate any help and thanks in advance.  Configuration Files would be
shared if required.
Module used : Apache 2.2.14 with mod_jk -- Jboss 4.2.3
 
Best
Regards
Herald
Jose
Ph: - 91 22 67425555 Ext :-( 906)


      

RE: [users@httpd] Help required for Configuring Apache Web Server For High Availibility

Posted by HERALD <he...@avenues.info>.
Hi

Thanks  Alin

 

The 502 bad gateway error is  followed by these error

 

.         java.net.SocketException: Connection reset

.         Blank request

.         java.net.SocketException: Unexpected end of file from server

 

Due you think all these are due to Jboss server.

 

Best Regards

Herald Jose

Ph: - 91 22 67425555 Ext :-( 906)

 

 

From: alin vasile [mailto:alinachegalati@yahoo.com] 
Sent: Tuesday, June 22, 2010 5:08 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Help required for Configuring Apache Web Server
For High Availibility

 

This response suggest more that your jboss setup doesn't handle the load

 

  _____  

From: HERALD <he...@avenues.info>
To: users@httpd.apache.org
Cc: aniruddha <an...@avenues.info>; Ankit@avenues.info;
anupama@avenues.info; nandkumar.menon@avenues.info
Sent: Tue, June 22, 2010 2:15:55 PM
Subject: [users@httpd] Help required for Configuring Apache Web Server For
High Availibility

Hi 

We are having issues configuring our servers for High Traffic. We receive
502 Bad gateway Error after a specified number of Hits, it persists for a
while and then resumes normal operation after a while. We would appreciate
any help and thanks in advance.  Configuration Files would be shared if
required.

Module used : Apache 2.2.14 with mod_jk -- Jboss 4.2.3

 

Best Regards

Herald Jose

Ph: - 91 22 67425555 Ext :-( 906)

 

 

 


Re: [users@httpd] Help required for Configuring Apache Web Server For High Availibility

Posted by alin vasile <al...@yahoo.com>.
This response suggest more that your jboss setup doesn't handle the load




________________________________
From: HERALD <he...@avenues.info>
To: users@httpd.apache.org
Cc: aniruddha <an...@avenues.info>; Ankit@avenues.info; anupama@avenues.info; nandkumar.menon@avenues.info
Sent: Tue, June 22, 2010 2:15:55 PM
Subject: [users@httpd] Help required for Configuring Apache Web Server For High Availibility

 
Hi 
We
are having issues configuring our servers for High Traffic. We receive 502 Bad
gateway Error after a specified number of Hits, it persists for a while and
then resumes normal operation after a while. We would appreciate any help and
thanks in advance.  Configuration Files would be shared if required.
Module
used : Apache 2.2.14 with mod_jk -- Jboss 4.2.3
 
Best
Regards
Herald
Jose
Ph: - 91 22 67425555 Ext :-( 906)