(Ajp13) can’t receive the response message from tomcat

datePosted on 13:03, maio 14th, 2010 by Carlos Eugênio

Fiz um teste de stress em meu tomcat utilizando threads e foi apresentada a seguinte mensagem:

(ajp13) Tomcat is down or refused connection. No response has been sent to the client (yet)

gerando o famoso erro de bad gateway ao acessar meu ambiente web , a primeira atitude foi reinicializar o tomcat para matar todos os processos ativos e posteriormente setar as seguintes configurações no server.xml

/opt/tomcat/conf/server.xml


<Connector protocol="AJP/1.3" port="8009" maxThreads="600"
minSpareThreads="5" maxSpareThreads="100" acceptCount="500" debug="0"
 connectionTimeout="60000" enableLookups="false"
 disableUploadTimeout="true" useURIValidationHack="false"
 redirectPort="4443" />

Funcionou direitinho , indico esta alteração nas aplicações.

Related Posts:

Leave a Reply

Name: (required)
Email: (required) (will not be published)
Website:
Comment:

Twitter Users
Enter your personal information in the form or sign in with your Twitter account by clicking the button below.

Spam Protection by WP-SpamFree