Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: Tomcat error with Apache 2 - Connection Error

Yang Xiao

2004-04-27

Replies:

Hi,
What does your jk2.properties file say?
Yang

-----Original Message-----
From: Chan Ho [mailto:chanho@(protected)]
Sent: Tuesday, April 27, 2004 11:32 AM
To: Tomcat Users List
Subject: Re: Tomcat error with Apache 2 - Connection Error

Here is my workers2.properties file

[shm]
file=/usr/local/apache2/logs/shm.file
size=1048576

[workerEnv:]
info=Global server options
timing=1
debug=0

# socket channel
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1

# worker for the connector
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

# Uri mapping

[uri:/*.jsp]
worker=ajp13:localhost:8009

[uri:/*.do]
worker=ajp13:localhost:8009

[uri:/servlet/*]
worker=ajp13:localhost:8009

[uri:/services/*]
worker=ajp13:localhost:8009

please advice and help~~~

----- Original Message -----
From: <chanho@(protected)>
To: "Tomcat Users List" <tomcat-user@(protected)>
Sent: Tuesday, April 27, 2004 7:28 PM
Subject: Tomcat error with Apache 2 - Connection Error


>
>
> I have setup Tomact running on Apache 2. At the beginning, everything is
OK.
> But however, it suddenly error and in the error log there shows
>
> [Tue Apr 27 19:20:51 2004] [error] channelSocket.open() connect failed
> 127.0.0.1:8009 111 Connection refused
> [Tue Apr 27 19:20:51 2004] [error] ajp13.connect() failed
> ajp13:localhost:8009
> [Tue Apr 27 19:20:51 2004] [error] ajp13.service() failed to connect
> endpoint errno=111 Connection refused
> [Tue Apr 27 19:20:51 2004] [error] ajp13.service() Error forwarding
> ajp13:localhost:8009 1 1
> [Tue Apr 27 19:20:51 2004] [error] mod_jk.handler() Error connecting to
> tomcat 120000
>
>
> Please help
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.