tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derrick Koes" <Derrick_K...@skillsoft.com>
Subject RE: JK throws java.lang.NumberFormatException when JSP is not found.
Date Wed, 15 Dec 2004 18:43:58 GMT
 
JK 1.2.7 beta 3

I am running with other isapi filters (coldfusion/jrun and a home grown one), but I haven't
seen anything like this in previous versions of JK or JK2.

Requesting a URL from my browser produces:

Microsoft Visual C++ Debug Library

Debug Assertion Failed!

Program: C:\WINDOWS\System32\inetsrv\inetinfo.exe
File: isctype.c
Line: 68

Expression: (unsigned)(c + 1) <= 256

For information on how your program can cause an assertion
Failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)







-----Original Message-----
From: Allistair Crossley [mailto:Allistair.Crossley@QAS.com] 
Sent: Wednesday, December 15, 2004 1:07 PM
To: tomcat-dev@jakarta.apache.org
Subject: JK throws java.lang.NumberFormatException when JSP is not found.

Hi Mladen,

Just a follow-up on this decoding issue in JK. I have just this moment accidentally come upon
a scenario where I can generate this error.

You can generate it by requesting a JSP that does not exist, so long as you have a /*.jsp
mapping in urimapping.properties.

I don't know if this is an error with JK or not, but I assume that not finding a JSP should
not cause a NumberFormatException?

SEVERE: 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)
Dec 15, 2004 5:59:31 PM org.apache.jk.common.ChannelSocket processConnection
WARNING: processCallbacks status 2
Dec 15, 2004 5:59:31 PM org.apache.jk.server.JkCoyoteHandler action
INFO: Response already commited
com.qas.proweb.QasException@-5115,0,java.lang.UnsatisfiedLinkError: setActiveDataNative [-5115]
Dec 15, 2004 5:59:32 PM org.apache.jk.common.HandlerRequest invoke
SEVERE: 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)
Dec 15, 2004 5:59:32 PM org.apache.jk.common.ChannelSocket processConnection
WARNING: processCallbacks status 2
Dec 15, 2004 5:59:32 PM org.apache.jk.server.JkCoyoteHandler action
INFO: Response already commited
com.qas.proweb.QasException@-5115,0,java.lang.UnsatisfiedLinkError: setActiveDataNative [-5115]
Dec 15, 2004 5:59:33 PM org.apache.jk.common.HandlerRequest invoke
SEVERE: 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)
Dec 15, 2004 5:59:33 PM org.apache.jk.common.ChannelSocket processConnection
WARNING: processCallbacks status 2
Dec 15, 2004 5:59:33 PM org.apache.jk.server.JkCoyoteHandler action
INFO: Response already commited
com.qas.proweb.QasException@-5115,0,java.lang.UnsatisfiedLinkError: setActiveDataNative [-5115]
Dec 15, 2004 5:59:34 PM org.apache.jk.common.HandlerRequest invoke
SEVERE: 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)
Dec 15, 2004 5:59:34 PM org.apache.jk.common.ChannelSocket processConnection
WARNING: processCallbacks status 2
Dec 15, 2004 5:59:34 PM org.apache.jk.server.JkCoyoteHandler action
INFO: Response already commited 

Cheers, Allistair



<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>


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





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


Mime
View raw message