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.
> First, I think it would be easier to simply forget the backslashes and convert
> everything with forward slashes (It works perfectly on on Win32/java systems).
>
> Second, I get InvalidHostname exceptions in my log because the JVM tries to
> resolv
> the host "C:". I don't know if the issue is in the JDK 1.2.2 or JRun but it
> seems
> safer to me to write the file URLs as:
>
> file:///c:/TEMP/the.cached.url.for.the.protlet
>
> (with 3 slashes in the beginning to indicate localhost...)
Actually the 2 slashes means "ftp the file from the host 'C:'". Where
as the second means don't use FTP and obtain it from the local file
system. On of the RFCs defines it like this and is pretty
interesting...
--
Kevin A Burton
http://relativity.yi.org
Linux - You *will* be assimilated.
--
--------------------------------------------------------------
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]