cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <>
Subject Re: ServletConfig.getRealPath
Date Tue, 29 Jan 2002 17:31:08 GMT
"shenoy, nitin" wrote:
> After spending quite some time trying to get rid of getRealPath (or work
> around it), I came across these problems.
> 1) In war format, under Weblogic 6.1, library jars under WEB-INF/lib arent
> accessible directly the file system. The URI to a war file is similar to
> zip:D:/bea/wlserver6.1/config/mydomain/applications/.wlnotdelete/wl_comp5101
> 8.war!/
> That doesnt help much because only Weblogic knows how to interpret its
> implementation of the zip: URI.

Makes sense.

> 2) Creation of Sitemap fails because all the libraries are in the war file
> and inaccessible (atleast via File API).
> I am out of ideas w.r.t Cocooon working in a war file. Please advice.

My past experience tells me that javac is the problem.

Have you tried running Cocoon with the interpreted sitemap instead of
the compiled one? in that case, nobody needs to reference the libraries
directly since it would be weblogic's classloader to give them to
Cocoon's classes.

Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<>                             Friedrich Nietzsche

To unsubscribe, e-mail:
For additional commands, email:

View raw message