You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ke...@convergys.com on 2002/02/19 16:01:41 UTC

ArrayIndexOutOfBoundsException in catalina code...

I am using Tomcat4.0.2, JDK1.4, Windows2000
I load up Tomcat in console, and restart Apache.
I go to http://127.0.0.1:8080/examples/jsp/index.html and everything is
fine, I can run the examples without problem.  Then I go to
http://127.0.0.1:80/examples/jsp/index.html and the following exception is
thrown from Tomcat4.0.2:

Starting service Tomcat-Standalone
Apache Tomcat/4.0.2
Starting service Tomcat-Apache
Apache Tomcat/4.0.2
java.lang.ArrayIndexOutOfBoundsException: No data available
        at org.apache.catalina.connector.warp.WarpPacket.readUnsignedShort(WarpP
acket.java:183)
        at org.apache.catalina.connector.warp.WarpPacket.readString(WarpPacket.j
ava:218)
        at org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequ
estHandler.java:184)
        at org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.
java:194)
        at java.lang.Thread.run(Thread.java:536)

JAVA_HOME=C:\j2sdk1.4.0
CATALINA_HOME=C:\Progra~1\Apache~2
CLASSPATH=C:\IBMCON~1\classes;C:\IBMCON~1\CICS\Classes\CTGCLI~1.JAR;.;C:\Program~1\SQLLIB\java\db2java.zip;C:\Progra~1\SQLLIB\java\runtime.zip;C:
\Progra~1\SQLLIB\java\sqlj.zip;C:\Progra~1\SQLLIB\bin

     -Kevin Schmidt


--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: ArrayIndexOutOfBoundsException in catalina code...

Posted by Remy Maucherat <re...@apache.org>.
> I am using Tomcat4.0.2, JDK1.4, Windows2000
> I load up Tomcat in console, and restart Apache.
> I go to http://127.0.0.1:8080/examples/jsp/index.html and everything is
> fine, I can run the examples without problem.  Then I go to
> http://127.0.0.1:80/examples/jsp/index.html and the following exception is
> thrown from Tomcat4.0.2:
>
> Starting service Tomcat-Standalone
> Apache Tomcat/4.0.2
> Starting service Tomcat-Apache
> Apache Tomcat/4.0.2
> java.lang.ArrayIndexOutOfBoundsException: No data available
>         at
org.apache.catalina.connector.warp.WarpPacket.readUnsignedShort(WarpP
> acket.java:183)
>         at
org.apache.catalina.connector.warp.WarpPacket.readString(WarpPacket.j
> ava:218)
>         at
org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequ
> estHandler.java:184)
>         at
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.
> java:194)
>         at java.lang.Thread.run(Thread.java:536)
>
> JAVA_HOME=C:\j2sdk1.4.0
> CATALINA_HOME=C:\Progra~1\Apache~2
>
CLASSPATH=C:\IBMCON~1\classes;C:\IBMCON~1\CICS\Classes\CTGCLI~1.JAR;.;C:\Pro
gram~1\SQLLIB\java\db2java.zip;C:\Progra~1\SQLLIB\java\runtime.zip;C:
> \Progra~1\SQLLIB\java\sqlj.zip;C:\Progra~1\SQLLIB\bin

Please file a bug with that information.

Thanks,
Remy


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>