"Kevin A. Burton" wrote:
>
> Rapha�l Luta wrote:
> >
> > I've downloaded JetSpeed 1.0b2 on friday and after a fashion managed to
> > compile and get it running.
> >
> > Kevin, you really did a great job... :)
>
> Thanks.
>
> > I noticed a small trouble with the cache system at least on my NT test box
> > (Apache 1.3.9 + Jrun 2.3.3 + JDK 1.2.2)
> >
> > The URL returned by PersistentDocument.getURL() fails to be fetched from cache
> > because of the url syntax used:
> >
> > file://c:\TEMP\/the.cached.url.for.the.protlet
>
> So the version in CVS doesn't attempt to resolve your tmpdir. The
> Persistent cache is obtained via a property in
> JetSpeedResources.properties.
>
> This avoids any platform specific problems and allows the user to point
> it to a HD with faster access. Maybe a RAID drive. On large JetSpeed
> installations where things are cached on disk this will probably
> increase performance.
>
> If you run in that this problem will totally disapeer.
>
Yes, the message above was obtained with last Friday CVS image. With today CVS
it uses the setting in the properties file.
Since I believe that using '///' in the file URLs will break the cache mechanism
on Unix machines, I've settled with keeping the PersistentDocument with '//' and
defining my cache dir with a initial forward slash:
cache.directory=/d:/tmp/cache
This works correctly for me even with the file manipulation functions (such as
mkdirs() ).
--
Rapha�l Luta - [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]