tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Millson <mmill...@meritonlinesystems.com>
Subject Re: JK2 in server.xml with 4.1.29
Date Wed, 26 Nov 2003 18:10:29 GMT
I'm using Red Hat Linux 9, and my experience has been the opposite. When
I used CoyoteConnector I got errors like this in catalina.out:

java.net.SocketException: Broken pipe

Also, I got this:

INFO: Jk running ID=0 time=2/85 
config=/usr/local/jakarta-tomcat/conf/jk2.properties

Why the heck am I getting messages about jk2.properties when I'm using
mod_jk?

In mod_jk.log I saw things like this:

jk_connect.c (233)]: jk_open_socket, connect() failed errno = 111

When I use Ajp13Connector, I get no errors in any of the logs and
everything operates smoothly. 

Granted, my application did work with CoyoteConnector, so maybe the
errors were not important, but seeing them didn't give me any confidence
in it. 

I have had no problem shutting down Tomcat.

My intuition is that the connector made for mod_jk is more compatible
than the one made for mod_jk2. If I were to use CoyoteConnector, I would
use mod_jk2. It just makes more sense to me to match old with old and
new with new.

Maybe a TC developer can jump in and provide some clarity?

Mike

On Wed, 2003-11-26 at 12:37, Jeff Tulley wrote:
> Really?
> 
> With all due respect, I have to totally disagree.  You can use the
> Coyote Connector with mod_jk, and really should do so.  The
> Ajp13Connector has had an exception at startup time and problems
> shutting down since about 4.1.18.  It is an easy fix - I submitted a
> patch for it, only a simple change to an XML document.  But, I was told
> at the time that since the connector is deprecated and that the Coyote
> connector works quite well, that it would not be fixed.
> 
> Our experience with the Coyote Connector and mod_jk has been fine so
> far.  We are using Apache as the web server.
> 
> >>> mmillson@meritonlinesystems.com 11/26/03 9:48:14 AM >>>
> If you are going to use the mod_jk connector, I would stick with the
> old
> AJP connector. If you are going to use the mod)jk2 connector, use the
> newer Coyote connector.
> 
> On Wed, 2003-11-26 at 08:44, Antony Paul wrote:
> > Hi,
> >     I am trying configure Tomcat 4.1.27 + IIS on win2k. In server.xml
> there
> > are two entries namely
> > <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --> and <!--
> Define
> > an AJP 1.3 Connector on port 8009 -->
> > which one is to uncommented.
> > 
> > rgds
> > Antony Paul.
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org 
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org 
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org 
> 
> 
> Jeff Tulley  (jtulley@novell.com)
> (801)861-5322
> Novell, Inc., The Leading Provider of Net Business Solutions
> http://www.novell.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message