cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "roy huang" <lingererhu...@hotmail.com>
Subject Fw: [HELP]If real directory exist,tomcat 5 will automatic add ending slash to the request URL.
Date Thu, 14 Oct 2004 03:33:28 GMT
  I posted this to user mail list and get no reply yet,so I repost in dev mail list again ,sorry
but I am quite confused and urgent.
Roy Huang

> Hi,all:
>     When I move my application form tomcat 4 to tomcat 5,I found if real directory exist,tomcat
5 will automatic add ending slash to the request URL.
>     You can follow this steps:
>     1.compile cocoon 2.1.5.1
>     2.copy webapp directory to tomcat's webapps directory
>     3.create a empty directory under webapp like "fortest"
>     4.start tomcat 5
>     5.using http://localhost:8080/webapp to access ,it will direct to http://localhost:8080/webapp/
.that's ok.
>     Here's the problem    
>     6.using http://localhost:8080/webapp/fortesting error is : No pipeline matched request:
fortesting ,It's the right error.
>     7.using http://localhost:8080/webapp/fortest ,it will direct to http://localhost:8080/webapp/fortest/
and the error will be:
>  
> Resource not found.
> 
> org.apache.cocoon.ResourceNotFoundException: Resource not found.: org.apache.excalibur.source.SourceNotFoundException:
file:/D:/Tomcat 5.0/webapps/webapp/fortest/sitemap.xmap doesn't exist.
> 
>     This error won't happen in tomcat 4 or jetty.
> 
>     Is this tomcat 5 configuration or bugs?Or it's cocoon's own bug?
> 
> Roy Huang
>
Mime
View raw message