cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mircea Toma <mirceat...@mail.com>
Subject Re: [C2] StringIndexOutOfBounds exception
Date Thu, 12 Oct 2000 20:09:32 GMT
Hi,

If you put "/" at the end of "host:[port]/cocoon" it should work. I don't
know if is deliberated or not.

----- Original Message -----
From: Ross Burton <ross.burton@mail.com>
To: <cocoon-dev@xml.apache.org>
Sent: Thursday, October 12, 2000 1:47 PM
Subject: [C2] StringIndexOutOfBounds exception


> Hi,
>
> Fed up with Tomcat 3.x, I took the plunge and installed Tomcat 4M2.
> Following the instructions on how to install Tomcat + Cocoon
> ("./build.sh .... install" didn't work, btw) I managed to install C2,
> and get another exception.  This time even earlier!
>
> The offending line is looking at the URI passed from Tomcat - which
> appears to be an empty string.  Is this a known bug with Tomcat 4M2?  Or
> is  everything broken?
>
> Ross Burton
>
> java.lang.StringIndexOutOfBoundsException: String index out of range: 0
>         at java.lang.Throwable.(Throwable.java:96)
>         at java.lang.Exception.(Exception.java:44)
>         at java.lang.RuntimeException.(RuntimeException.java:49)
>         at
> java.lang.IndexOutOfBoundsException.(IndexOutOfBoundsException.java:46)
>         at
>
java.lang.StringIndexOutOfBoundsException.(StringIndexOutOfBoundsException.j
ava:59)
>         at java.lang.String.charAt(String.java(Compiled Code))
>         at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:162)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
>
org.apache.catalina.core.ApplicationFilterWrapper.doFilter(ApplicationFilter
Wrapper.java:159)
>         at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:265)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
>         at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:165)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
>         at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:1765)
>         at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161
)
>         at
> org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
>         at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:343)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
>         at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:159)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
>         at
>
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
787)
>         at
>
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:904)
>         at java.lang.Thread.run(Thread.java:498)


______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup

Mime
View raw message