Ascii.java is available in server\lib\tomcat-util.jar of TC4.0.x
distribution.

The exception could be due to mod_jk incorrectly passing of URL to the java
code or a bug in Java code of Tomcat util.

I have searched the mailing and seen few mails regarding Exception which is
close to what I have but not exactly the same.  e.g.
http://www.mail-archive.com/[email protected]/msg31712.html

Regards,
Thum

-----Original Message-----
From: Pae Choi [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 2:17 AM
To: Tomcat Users List
Subject: Re: mod_jk bug ?


Are sure you are running the TC v4.x? I only see the Ascii.java in the
TC v3.x.

Based on the exception, it has nothting to do with mod_jk. It is more
related to the TC v3.x utility class to me.


Pae



> Hi,
>
> I encountered the following error when accessing any java
> servlet(e.g.http://localhost/servlet/SnoopServlet) through Internet
Explorer
> of PocketPC :
>
> java.lang.NumberFormatException
>         at org.apache.tomcat.util.buf.Ascii.parseInt(Ascii.java:188)
>         at org.apache.tomcat.util.buf.ByteChunk.getInt(ByteChunk.java:439)
>         at
> org.apache.tomcat.util.buf.MessageBytes.getInt(MessageBytes.java:577)
>
>         at
> org.apache.ajp.RequestHandler.decodeRequest(RequestHandler.java:299)
>         at org.apache.ajp.Ajp13.handleMessage(Ajp13.java:310)
>         at org.apache.ajp.Ajp13.receiveNextRequest(Ajp13.java:278)
>         at
> org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:367
> )
>         at
> org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:476)
>         at java.lang.Thread.run(Thread.java:484)
>
> However, there is no problem to access the servlet with IE or Netscape on
> Windows.
>
> Tested platform :
> OS : Solaris 8, Windows 2000
> Web server : Apache 1.3.22
> Tomcat version : 4.0.1 and 4.0.2b2
> mod_jk version : 1.0 and 1.1 come with Tomcat 3.3 and Tomcat 3.2.4 with
> AJP13
>
> Is this a bug in Tomcat ?
>
> WebApp module on Solaris is working fine and doesn't have this problem.
> However, I couldn't test WebApp module on Windows as the only available
> binary of webapp-module-1.0.0 doesn't run on my windows 2000 and is known
to
> be buggy on Windows.
>
> Thanks in advance for any help.
>
> Best Regards,
> Thum
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to