Hi,
  Sorry to post this to tomcat-dev, it was originall a posting to
tomcat-user but.... I just want to know if you read
through the below is this more than likely a config/jsdk issue or if
it is worth attacking the mod_jk source?

  I have had a problem over the last week or so with a binary download of              
                                                              
Tomcat 4.1.12.  If the system was run under jdk1.4.1_01 no jsp would be
served at all.  Here is an extract from the log:

2002-12-05 12:09:54 StandardContext[]:  Mapped to servlet 'jsp' with servlet
path '/test.jsp' and path info 'null' and update=true
2002-12-05 12:09:54 Ajp13Processor[8010][4] done invoking, finishing
request/response....
2002-12-05 12:09:54 Ajp13Processor[8010][4] [Ajp13] [RequestHandler]
sendHeaders()
2002-12-05 12:09:54 Ajp13Processor[8010][4] [Ajp13] [RequestHandler] status
is:  200(OK)
2002-12-05 12:09:54 Ajp13Processor[8010][4] [Ajp13] send()
2002-12-05 12:09:54 Ajp13Processor[8010][4] [Ajp13] [RequestHandler]
finish()
2002-12-05 12:09:54 Ajp13Processor[8010][4] [Ajp13] send()
2002-12-05 12:09:54 Ajp13Processor[8010][4] finished handling request.
2002-12-05 12:09:54 Ajp13Processor[8010][4] recyling objects ...
2002-12-05 12:09:54 Ajp13Processor[8010][4] [Ajp13] recycle()

 So I dropped the install back to a 1.3 series SDK (1.3.1_01).  Everything
was fine and happy until I added more than 7 Host entries.  At this point we
get exactly the same bug and log output as before.  Remove 1 host entry, any
host entry, and it is happy again.

 As far as I can see the system is compiling the java source correctly and
internally tomcat has the data, however somewhere along the line ajp13 is
sending the header fine and then never doing the doWrite() calls to send the
bodies.  Here is a healthy log output for a jsp:

2002-12-05 12:08:54 StandardContext[]:  Mapped to servlet 'jsp' with servlet
path '/test.jsp' and path info 'null' and update=true
2002-12-05 12:08:54 Ajp13Processor[8010][4] [Ajp13] [RequestHandler]
sendHeaders()
2002-12-05 12:08:54 Ajp13Processor[8010][4] [Ajp13] [RequestHandler] status
is:  200(OK)
2002-12-05 12:08:54 Ajp13Processor[8010][4] [Ajp13] send()
2002-12-05 12:08:54 Ajp13Processor[8010][4] [Ajp13] [RequestHandler]
doWrite(byte[], 0, 250)
2002-12-05 12:08:54 Ajp13Processor[8010][4] [Ajp13] send()
2002-12-05 12:08:54 Ajp13Processor[8010][4] done invoking, finishing
request/response....
2002-12-05 12:08:54 Ajp13Processor[8010][4] [Ajp13] [RequestHandler]
finish()
2002-12-05 12:08:54 Ajp13Processor[8010][4] [Ajp13] send()
2002-12-05 12:08:54 Ajp13Processor[8010][4] finished handling request.
2002-12-05 12:08:54 Ajp13Processor[8010][4] recyling objects ...

 Any hints gratefully appreciated, I haven't started hacking around in ajp13
yet but I will do soon.  Next thing to do is a source build of the system to
see if that suffers too! :-)

TIA,

Paul

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to