Hi,

No problem. Here is the debug logging from Tomcat. 

 DEBUG TP-Processor3 org.apache.jk.common.ChannelSocket - read() [EMAIL 
PROTECTED] 8192 0 4 = 4
 DEBUG TP-Processor3 org.apache.jk.common.MsgAjp - Received 723 18
 DEBUG TP-Processor3 org.apache.jk.common.ChannelSocket - read() [EMAIL 
PROTECTED] 8192 4 723 = 723
 DEBUG TP-Processor3 org.apache.jk.common.ChannelSocket - Call next 0 [EMAIL 
PROTECTED]
 DEBUG TP-Processor3 org.apache.jk.common.HandlerRequest - Handling 2
 DEBUG TP-Processor3 org.apache.jk.common.HandlerRequest - R( /nosuchjsp.jsp)
 DEBUG TP-Processor3 org.apache.jk.common.HandlerRequest - Calling next 
container org.apache.jk.server.JkCoyoteHandler
 DEBUG TP-Processor3 org.apache.jk.server.JkCoyoteHandler - Invoke R( 
/nosuchjsp.jsp) [EMAIL PROTECTED] /nosuchjsp.jsp
 DEBUG TP-Processor3 org.apache.catalina.connector.CoyoteAdapter -  Requested 
cookie session id is 6BDBFA4CF3E0A578CCAEC8CBD66F74DA
 DEBUG TP-Processor3 org.apache.catalina.connector.CoyoteAdapter -  Requested 
cookie session id is 6BDBFA4CF3E0A578CCAEC8CBD66F74DA
 DEBUG TP-Processor3 org.apache.catalina.core.StandardWrapper -   Returning 
non-STM instance
 DEBUG TP-Processor3 org.apache.catalina.core.StandardWrapper -   Returning 
non-STM instance
 DEBUG TP-Processor3 org.apache.jk.server.JkCoyoteHandler - ACK 
 DEBUG TP-Processor3 org.apache.jasper.servlet.JspServlet - JspEngine --> 
/nosuchjsp.jsp
 DEBUG TP-Processor3 org.apache.jasper.servlet.JspServlet -          
ServletPath: /nosuchjsp.jsp
 DEBUG TP-Processor3 org.apache.jasper.servlet.JspServlet -             
PathInfo: null
 DEBUG TP-Processor3 org.apache.jasper.servlet.JspServlet -             
RealPath: d:\jakarta-tomcat\webapps\ROOT\nosuchjsp.jsp
 DEBUG TP-Processor3 org.apache.jasper.servlet.JspServlet -           
RequestURI: /nosuchjsp.jsp
 DEBUG TP-Processor3 org.apache.jasper.servlet.JspServlet -          
QueryString: null
 DEBUG TP-Processor3 org.apache.jasper.servlet.JspServlet -       Request 
Params: 
 DEBUG TP-Processor3 org.apache.jk.server.JkCoyoteHandler - COMMIT 
 DEBUG TP-Processor3 org.apache.jk.server.JkCoyoteHandler - COMMIT sending 
headers [EMAIL PROTECTED] === MimeHeaders ===

 DEBUG TP-Processor3 org.apache.jk.common.ChannelSocket - send() 90 4
 DEBUG TP-Processor3 org.apache.jk.server.JkCoyoteHandler - doWrite 0 992 0
 DEBUG TP-Processor3 org.apache.jk.common.ChannelSocket - send() 1000 3
 DEBUG TP-Processor3 org.apache.jk.server.JkCoyoteHandler - CLOSE 
 DEBUG TP-Processor3 org.apache.jk.common.ChannelSocket - send() 6 5
 DEBUG TP-Processor3 org.apache.jk.REQ_TIME - Time pre=0/ service=0 992 
/nosuchjsp.jsp
 DEBUG TP-Processor3 org.apache.jk.common.HandlerRequest - Invoke returned 0
 DEBUG TP-Processor3 org.apache.jk.common.ChannelSocket - receive() 
 DEBUG TP-Processor3 org.apache.jk.common.ChannelSocket - read() [EMAIL 
PROTECTED] 8192 0 4 = 4
 DEBUG TP-Processor3 org.apache.jk.common.MsgAjp - Received 328 18
 DEBUG TP-Processor3 org.apache.jk.common.ChannelSocket - read() [EMAIL 
PROTECTED] 8192 4 328 = 328
 DEBUG TP-Processor3 org.apache.jk.common.ChannelSocket - Call next 0 [EMAIL 
PROTECTED]
 DEBUG TP-Processor3 org.apache.jk.common.HandlerRequest - Handling 2
 ERROR TP-Processor3 org.apache.jk.common.HandlerRequest - Error decoding 
request 
 java.lang.NumberFormatException
        at org.apache.tomcat.util.buf.Ascii.parseInt(Ascii.java:145)
        at org.apache.tomcat.util.buf.ByteChunk.getInt(ByteChunk.java:491)
        at org.apache.tomcat.util.buf.MessageBytes.getInt(MessageBytes.java:645)
        at 
org.apache.jk.common.HandlerRequest.decodeHeaders(HandlerRequest.java:682)
        at 
org.apache.jk.common.HandlerRequest.decodeRequest(HandlerRequest.java:504)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:361)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:745)
        at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
        at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:868)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)
DEBUG TP-Processor3 org.apache.jk.common.MsgAjp - Incomming message: [EMAIL 
PROTECTED] 98/332
 DEBUG TP-Processor3 org.apache.jk.common.MsgAjp - 12 34 01 48 02 02 00 08 48 
54 54 50 2f 31 2e 31  | .4.H....HTTP/1.1
 DEBUG TP-Processor3 org.apache.jk.common.MsgAjp - 00 00 0e 2f 6e 6f 73 75 63 
68 6a 73 70 2e 6a 73  | .../nosuchjsp.js
 DEBUG TP-Processor3 org.apache.jk.common.MsgAjp - 70 00 00 0f 31 35 30 2e 31 
35 30 2e 31 35 33 2e  | p...150.150.153.
 DEBUG TP-Processor3 org.apache.jk.common.MsgAjp - 31 32 32 00 00 0f 31 35 30 
2e 31 35 30 2e 31 35  | 122...150.150.15
 DEBUG TP-Processor3 org.apache.jk.common.MsgAjp - 33 2e 31 32 32 00 00 0c 69 
6e 74 72 61 74 65 73  | 3.122...intrates
 DEBUG TP-Processor3 org.apache.jk.common.MsgAjp - 74 67 62 72 00 00 50 00 00 
08 a0 01 00 03 2a 2f  | tgbr..P...?...*/
 DEBUG TP-Processor3 org.apache.jk.common.MsgAjp - 2a 00 a0 04 00 05 65 6e 2d 
67 62 00 a0 06 00 0a  | *.?...en-gb.?...
 DEBUG TP-Processor3 org.apache.jk.common.MsgAjp - 4b 65 65 70 2d 41 6c 69 76 
65 00 a0 0b 00 0c 69  | Keep-Alive.?...i
 DEBUG TP-Processor3 org.apache.jk.common.MsgAjp - 6e 74 72 61 74 65 73 74 67 
62 72 00 a0 0e 00 32  | ntratestgbr.?..2
 DEBUG TP-Processor3 org.apache.jk.common.MsgAjp - 4d 6f 7a 69 6c 6c 61 2f 34 
2e 30 20 28 63 6f 6d  | Mozilla/4.0 (com
 DEBUG TP-Processor3 org.apache.jk.common.MsgAjp - 70 61 74 69 62 6c 65 3b 20 
4d 53 49 45 20 36 2e  | patible; MSIE 6.
 DEBUG TP-Processor3 org.apache.jk.common.MsgAjp - 30 3b 20 57 69 6e 64 6f 77 
73 20 4e 54 20 35 2e  | 0; Windows NT 5.
 DEBUG TP-Processor3 org.apache.jk.common.MsgAjp - 30 29 00 a0 09 00 42 49 6e 
74 72 61 64 6f 63 41  | 0).?..BIntradocA
 DEBUG TP-Processor3 org.apache.jk.common.MsgAjp - 75 74 68 3d 49 6e 74 65 72 
6e 65 74 3b 20 4a 53  | uth=Internet; JS
 DEBUG TP-Processor3 org.apache.jk.common.MsgAjp - 45 53 53 49 4f 4e 49 44 3d 
36 42 44 42 46 41 34  | ESSIONID=6BDBFA4
 DEBUG TP-Processor3 org.apache.jk.common.MsgAjp - 43 46 33 45 30 41 35 37 38 
43 43 41 45 43 38 43  | CF3E0A578CCAEC8C
 DEBUG TP-Processor3 org.apache.jk.common.MsgAjp - 42 44 36 36 46 37 34 44 41 
00 a0 03 00 0d 67 7a  | BD66F74DA.?...gz
 DEBUG TP-Processor3 org.apache.jk.common.MsgAjp - 69 70 2c 20 64 65 66 6c 61 
74 65 00 00 0e 43 6f  | ip, deflate...Co
 DEBUG TP-Processor3 org.apache.jk.common.MsgAjp - 6e 74 65 6e 74 2d 4c 65 6e 
67 74 68 00 00 01 30  | ntent-Length...0
 DEBUG TP-Processor3 org.apache.jk.common.MsgAjp - 00 03 00 0e 51 41 53 5c 61 
6c 6c 69 73 74 61 69  | ....QAS\allistai
 DEBUG TP-Processor3 org.apache.jk.common.MsgAjp - 72 63 00 04 00 04 4e 54 4c 
4d 00 ff              | rc....NTLM.?
 WARN TP-Processor3 org.apache.jk.common.ChannelSocket - processCallbacks 
status 2
 DEBUG TP-Processor4 org.apache.jk.common.ChannelSocket - Accepted socket 
Socket[addr=/127.0.0.1,port=3241,localport=8009]
 DEBUG TP-Processor3 org.apache.jk.common.ChannelSocket - receive() 
 DEBUG TP-Processor3 org.apache.jk.common.ChannelSocket - read() [EMAIL 
PROTECTED] 8192 0 4 = 4
 DEBUG TP-Processor3 org.apache.jk.common.MsgAjp - Received 328 18
 DEBUG TP-Processor3 org.apache.jk.common.ChannelSocket - read() [EMAIL 
PROTECTED] 8192 4 328 = 328
 DEBUG TP-Processor3 org.apache.jk.common.ChannelSocket - Call next 0 [EMAIL 
PROTECTED]
 DEBUG TP-Processor3 org.apache.jk.common.HandlerRequest - Handling 2
 DEBUG TP-Processor3 org.apache.jk.common.HandlerRequest - R( /nosuchjsp.jsp)
 DEBUG TP-Processor3 org.apache.jk.common.HandlerRequest - Calling next 
container org.apache.jk.server.JkCoyoteHandler
 DEBUG TP-Processor3 org.apache.jk.server.JkCoyoteHandler - Invoke R( 
/nosuchjsp.jsp) [EMAIL PROTECTED] /nosuchjsp.jsp
 DEBUG TP-Processor3 org.apache.catalina.connector.CoyoteAdapter -  Requested 
cookie session id is 6BDBFA4CF3E0A578CCAEC8CBD66F74DA
 DEBUG TP-Processor3 org.apache.catalina.connector.CoyoteAdapter -  Requested 
cookie session id is 6BDBFA4CF3E0A578CCAEC8CBD66F74DA
 DEBUG TP-Processor3 org.apache.catalina.core.StandardWrapper -   Returning 
non-STM instance
 DEBUG TP-Processor3 org.apache.catalina.core.StandardWrapper -   Returning 
non-STM instance
 DEBUG TP-Processor3 org.apache.jk.server.JkCoyoteHandler - ACK 
 DEBUG TP-Processor3 org.apache.jasper.servlet.JspServlet - JspEngine --> 
/nosuchjsp.jsp
 DEBUG TP-Processor3 org.apache.jasper.servlet.JspServlet -          
ServletPath: /nosuchjsp.jsp
 DEBUG TP-Processor3 org.apache.jasper.servlet.JspServlet -             
PathInfo: null
 DEBUG TP-Processor3 org.apache.jasper.servlet.JspServlet -             
RealPath: d:\jakarta-tomcat\webapps\ROOT\nosuchjsp.jsp
 DEBUG TP-Processor3 org.apache.jasper.servlet.JspServlet -           
RequestURI: /nosuchjsp.jsp
 DEBUG TP-Processor3 org.apache.jasper.servlet.JspServlet -          
QueryString: null
 DEBUG TP-Processor3 org.apache.jasper.servlet.JspServlet -       Request 
Params: 
 DEBUG TP-Processor3 org.apache.jk.server.JkCoyoteHandler - COMMIT 
 DEBUG TP-Processor3 org.apache.jk.server.JkCoyoteHandler - COMMIT sending 
headers [EMAIL PROTECTED] === MimeHeaders ===

 DEBUG TP-Processor3 org.apache.jk.common.ChannelSocket - send() 90 4
 DEBUG TP-Processor3 org.apache.jk.server.JkCoyoteHandler - doWrite 0 992 0
 DEBUG TP-Processor3 org.apache.jk.common.ChannelSocket - send() 1000 3
 DEBUG TP-Processor3 org.apache.jk.server.JkCoyoteHandler - CLOSE 
 DEBUG TP-Processor3 org.apache.jk.common.ChannelSocket - send() 6 5
 DEBUG TP-Processor3 org.apache.jk.REQ_TIME - Time pre=0/ service=0 992 
/nosuchjsp.jsp
 DEBUG TP-Processor3 org.apache.jk.common.HandlerRequest - Invoke returned 0
 DEBUG TP-Processor3 org.apache.jk.common.ChannelSocket - receive() 

Hope this helps some more! ;p Allistair.

> -----Original Message-----
> From: Bill Barker [mailto:[EMAIL PROTECTED]
> Sent: 16 December 2004 20:23
> To: Tomcat Developers List
> Subject: Re: JK throws java.lang.NumberFormatException when JSP is not
> found. (trace logging)
> 
> 
> 
> ----- Original Message -----
> From: "Allistair Crossley" <[EMAIL PROTECTED]>
> To: "Tomcat Developers List" <[EMAIL PROTECTED]>
> Sent: Thursday, December 16, 2004 8:18 AM
> Subject: RE: JK throws java.lang.NumberFormatException when JSP is not
> found. (trace logging)
> 
> 
> > Hi,
> >
> > OK, just generated it again, and taken more trace ... I can 
> see this ERROR
> ...
> >
> > [Thu Dec 16 16:14:22 2004] [2196:1556] [error]
> ajp_connection_tcp_get_message::jk_ajp_common.c (857): ERROR: 
> can't receive
> the response message from tomcat, network problems or tomcat is down
> (127.0.0.1:8009), err=-1
> >
> > Tomcat is *not* down though ;)
> >
> 
> The "tomcat is down" is IIS's response to Tomcat dropping the 
> connection
> after the exception.
> 
> It's strange that the 'bad' message and the 'good' retry 
> message seem to be
> identical (and perfectly valid AJP/1.3 packets).  Of course,  
> JK1.2.8-RC1
> will send different packets now that Mladen has fixed header 
> parsing, but
> both forms are valid.  In particular, the Content-Length is 
> the string "0".
> 
> I'd love to see the dump from the Tomcat side if you get a chance.
> 
> 
> 
> 
> 
> This message is intended only for the use of the person(s) 
> listed above as the intended recipient(s), and may contain 
> information that is PRIVILEGED and CONFIDENTIAL.  If you are 
> not an intended recipient, you may not read, copy, or 
> distribute this message or any attachment. If you received 
> this communication in error, please notify us immediately by 
> e-mail and then delete all copies of this message and any attachments.
> 
> In addition you should be aware that ordinary (unencrypted) 
> e-mail sent through the Internet is not secure. Do not send 
> confidential or sensitive information, such as social 
> security numbers, account numbers, personal identification 
> numbers and passwords, to us via ordinary (unencrypted) e-mail.
> 
> 
> 


<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> 
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com";>www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>

Reply via email to