tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krishna_R._Naga...@HUD.GOV
Subject TOMCAT 4.18 + APACHE 2.0.43 + JK2 CONNECTOR ERROR
Date Wed, 08 Jan 2003 16:24:45 GMT





Was anyone able to crack this problem with TOMCAT 4.18  +  APACHE 2.0.43 +
JK2 CONNECTOR?

I am thinking of using JK instead JK2 since we have to implement this in
production soon. The only thing concerning me is - I have read that JK is
deprecated and may not/won't support future Tomcat and Apache releases. Is
that true?

Your help on this will be greatly appreciated.

TOMCAT 4.18  +  APACHE 2.0.43 + JK2 CONNECTOR ERROR DESCRIPTION (The
previous attachment's content)

If I try to browse a jpg file of size greater than 34KB then I get an image
which has a dark pattern from the middle of the image. This only happens if
the image is greater than 34KB.  I have also noticed that this is not
consistent. But this seems to happen when the file size is greater than
34KB. This is happening to another colleague of mine.

I also noticed that if I try to browse the same image (> 34KB) under the
subfolder of examples (i.e. jsp folder) I get the following errors (logged
in apache error.log file). This however happens to any file (No size
constraint)

[Fri Jan 03 17:40:28 2003] [error] Error ajp_process_callback - write
failed
[Fri Jan 03 17:40:28 2003] [error] ajp13.service() ajpGetReply recoverable
error 3
[Fri Jan 03 17:40:28 2003] [error] Error ajp_process_callback - write
failed
[Fri Jan 03 17:40:28 2003] [error] ajp13.service() ajpGetReply recoverable
error 3
[Fri Jan 03 17:40:28 2003] [error] ajp13.service() Error  forwarding
ajp13:localhost:8019 1 0
[Fri Jan 03 17:40:28 2003] [error] mod_jk.handler() Error connecting to
tomcat 3

Can someone please help me in solving this problem

I have the following settings in my config files.

Server.xml

 Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8019" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="20000"
               useURIValidationHack="false"

protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"

worker2.properties

[shm]
file=c:/apache/Apache2/logs/shm.file
size=1048576

# Example socket channel, override port and host.
[channel.socket:localhost:8019]
port=8019
host=127.0.0.1

# define the worker
[ajp13:localhost:8019]
channel=channel.socket:localhost:8019

# Uri mapping
[uri:/test/*]
worker=ajp13:localhost:8019

jk2.properties

# list of needed handlers.
handler.list=apr,channelSocket,request

# Override the default port for the channelSocket
channelSocket.port=8019

Thanks

Krishna Nagaraj
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message