atom feed9 messages in org.apache.tomcat.usersRe: open_socket, connect() failed err...
FromSent OnAttachments
mike niemazJan 16, 2001 8:37 am.conf, .Other, .xml, 1 more
mike niemazJan 17, 2001 12:01 am 
mike niemazJan 17, 2001 2:44 am 
Andreas NeuenschwanderJan 17, 2001 3:01 am 
GOMEZ HenriJan 17, 2001 3:11 am 
Andreas NeuenschwanderJan 17, 2001 3:22 am 
GOMEZ HenriJan 17, 2001 3:29 am 
Andreas NeuenschwanderJan 17, 2001 3:34 am 
GOMEZ HenriJan 17, 2001 3:44 am 
Subject:Re: open_socket, connect() failed errno = 111
From:Andreas Neuenschwander (an@andi.ch)
Date:Jan 17, 2001 3:22:17 am
List:org.apache.tomcat.users

server.xml:

... <!-- Apache AJP12 support. This is also used to shut down tomcat. --> <Connector className="org.apache.tomcat.service.PoolTcpConnector"> <Parameter name="handler" value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/> <Parameter name="port" value="8007"/> </Connector>

<!-- Apache AJP13 support. --> <Connector className="org.apache.tomcat.service.PoolTcpConnector"> <Parameter name="handler" value="org.apache.tomcat.service.connector.Ajp13ConnectionHandler" /> <Parameter name="port" value="8009"/> </Connector> ... <Host name="domain.com" > <Context path="" docBase="/www/server/doc/domain/xml" debug="0"> </Context> </Host>

httpd.conf:

include /opt/jakarta-tomcat-3.2.1/conf/mod_jk.conf

mod_jk.conf:

################################################################### # Auto generated configuration. Dated: Tue Jan 09 20:42:14 CET 2001 ###################################################################

# # The following line instructs Apache to load the jk module # LoadModule jk_module libexec/mod_jk.so AddModule mod_jk.c

JkWorkersFile /opt/jakarta-tomcat-3.2.1/conf/workers.properties JkLogFile /opt/jakarta-tomcat-3.2.1/logs/mod_jk.log

# # Log level to be used by mod_jk # JkLogLevel error

<VirtualHost 100.100.100.100:80> DocumentRoot /www/server/doc/domain/xml ServerName domain.com ServerAlias www.domain.com ServerAdmin webm@domain.com <Location "WEB-INF/"> AllowOverride None deny from all </Location> <Location "META-INF/"> AllowOverride None deny from all </Location> JkMount /*.jsp ajp13 JkMount /*.xml ajp13 JkMount /servlet/* ajp13 </VirtualHost>

<VirtualHost 100.100.100.100:80> ... </VirtualHost>

----- Original Message ----- From: "GOMEZ Henri" <hgo@slib.fr> To: <tomc@jakarta.apache.org> Sent: Wednesday, January 17, 2001 12:11 PM Subject: RE: open_socket, connect() failed errno = 111

Are you sure of your adress/port/protocol.

Could you send part of httpd.conf and server.xml ;-)

"Pour la plupart des hommes, se corriger consiste à changer de défauts." -- Voltaire

-----Original Message----- From: Andreas Neuenschwander [mailto:an@andi.ch] Sent: Wednesday, January 17, 2001 12:01 PM To: tomc@jakarta.apache.org Subject: open_socket, connect() failed errno = 111

I compiled and installed mod_jk and connect with ajp13 to the apache server (ver. 1.3.11)

Everything works fine, but when I make a load test the connector stops after some time and prints out the following messages to the mod_jk.log file.

I changed the jdk version and recompiled the mod_jk module, but with no success...

Did anyone had the same problem?

-andi

[jk_ajp13_worker.c (619)]: Error reading request [jk_ajp13_worker.c (203)]: connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 111 [jk_ajp13_worker.c (619)]: Error reading request [jk_ajp13_worker.c (173)]: In jk_endpoint_t::connect_to_tomcat, failed errno = 111 [jk_ajp13_worker.c (584)]: Error connecting to the Tomcat process. [jk_ajp13_worker.c (203)]: connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 111 [jk_ajp13_worker.c (619)]: Error reading request [jk_ajp13_worker.c (173)]: In jk_endpoint_t::connect_to_tomcat, failed errno = 111 [jk_ajp13_worker.c (584)]: Error connecting to the Tomcat process. [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 111 [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 111 [jk_ajp13_worker.c (173)]: In jk_endpoint_t::connect_to_tomcat, failed errno = 111 [jk_ajp13_worker.c (173)]: In jk_endpoint_t::connect_to_tomcat, failed errno = 111 [jk_ajp13_worker.c (584)]: Error connecting to the Tomcat process.

----- Original Message ----- From: "mike niemaz" <nie@xrce.xerox.com> To: <tomc@jakarta.apache.org> Sent: Wednesday, January 17, 2001 11:45 AM Subject: SOLVED: open_socket, connect() failed errno = 146 (WAS upgrading to mod_jk & ajp13 won't work)

I solved my problem by removing the work/* directories before launching tomcat & apache.

Just to add I kepp getting this error in tail mod_jk.log: [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1

Maybe I should recompile my mod_jk.so ....