cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Butler, Mark H (Labs Bristol)" <mark-h.but...@hp.com>
Subject RE: Question about the best way to locate the path to WEB-INF
Date Thu, 21 Oct 2004 13:57:05 GMT
Hi Stefano

Actually Patrick logged it as a server bug with the Apache Tomcat team,
but they weren't very impressed see 

http://issues.apache.org/bugzilla/show_bug.cgi?id=31806

I suspect its not so much a bug, more a feature of two different teams
interpreting the servlet specs differently :)

My code is messy, because it tries to have fallbacks to overcome these
differences, but it clearly isn't working at the moment

cheers,

Mark 

-----Original Message-----
From: Stefano Mazzocchi [mailto:stefano@apache.org] 
Sent: 21 October 2004 14:52
To: dev@cocoon.apache.org
Subject: Re: Question about the best way to locate the path to WEB-INF

Butler, Mark H (Labs Bristol) wrote:

> Hi team,
> 
> I need your advice on the best way to fix a problem when using Cocoon 
> on Tomcat caused by DELI that I do not encounter when running Cocoon 
> on Jetty. Therefore I would like your advice as solving the problem 
> seems to require an understanding of the differences between servlet 
> engines that I'm afraid I do not possess. Patrick Melo has reported 
> this
> exception:
> 
> java.net.MalformedURLException: Path
> \\server\share\webappname\webappname\WEB-INF/deli/config/deliConfig.xm
> l
> does not start with a "/" character
> java.net.MalformedURLException: Path
> \\server\share\webappname\webappname\WEB-INF/deli/config/deliConfig.xm
> l
> does not start with a "/" character

hmmm, it looks like a servlet container bug to me. Is the guy running
this over an SMB remote disk? My guess would be that jetty normalizes
the "/\" and maybe java doesn't complain there. Bah, I really don't
know, your code looks fine to me.

--
Stefano, scratching head.


Mime
View raw message