cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch" <blorit...@infoplanning.com>
Subject Re: Default page
Date Mon, 23 Oct 2000 13:43:37 GMT
It is good to note that if I have Cocoon as the ROOT
context, it functions correctly.  It only happens when
Cocoon is not in the ROOT context.

----- Original Message ----- 
From: "Berin Loritsch" <bloritsch@infoplanning.com>
To: <cocoon-dev@xml.apache.org>
Sent: Thursday, October 19, 2000 2:36 PM
Subject: Default page


> I just noticed that when I access the root page I get
> an error if I don't include the ending '/'.  I am running
> JDK 1.3, Cocoon2 (most recent--post Avalon/Xalan2 integration),
> Tomcat 4.0m3 on WinNT 4.0 sp 5.
> 
> In other words, this URL works:
> 
> http://localhost/cocoon/
> 
> But this URL does not work:
> 
> http://localhost/cocoon
> 
> I get the following error:
> 
> MESSAGE: String index out of range: 0
> DESCRIPTION: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
> SENDER: org.apache.cocoon.servlet.CocoonServlet
> SOURCE: Cocoon servlet
> REQUEST_URI: /cocoon
> PATH-INFO:
> STACKTRACE:
> java.lang.StringIndexOutOfBoundsException: String index out of range: 0
>  at java.lang.String.charAt(String.java:507)
>  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(ApplicationFilterWrapper.java:159)
>  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:265)
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
>  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:165)
>  at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
>  at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:174)
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
>  at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:1785)
>  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:785)
>  at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:902)
>  at java.lang.Thread.run(Thread.java:484)
> 
> ---------------------------------------
> If you lust for Ham and Eggs, you have
> committed breakfast in your heart
> already.   -- C. S. Lewis


Mime
View raw message