W3C home > Mailing lists > Public > www-jigsaw@w3.org > November to December 1996

Re: Multiple Jigsaw's as user processes

From: Anselm Baird_Smith <abaird@www43.inria.fr>
Date: Tue, 12 Nov 1996 13:00:53 +0100 (MET)
Message-Id: <199611121200.NAA21197@www43.inria.fr>
To: Harco de Hilster <harcoh@caos.kun.nl>
Cc: www-jigsaw@w3.org
Harco de Hilster writes:
 > I would like to serve the same documents to all the 'different'
 > instances of Jigsaw in a read-only mode. The problem is that
 > 'SimpleResourceStore.java' opens the stores with:
 > "SimpleResourceStore.java" line 178 of 614
 >         RandomAccessFile fd = new RandomAccessFile(repository, "rw") ;
 > If I change that to:
 >         RandomAccessFile fd = new RandomAccessFile(repository, "r") ;
 > I get the behaviour I want. Users without write access to
 > Jigsaw/Jigsaw/config
 > can start Jigsaw but they cannot e.g. save the properties, but I with rw
 > access
 > can.
 > I think there is no need for "rw" access in 'loadResource'.

Wow! Certainly there is a need (otherwise I would have state "r"
:-). Jigsaw needs write access to these files. What you can do
however, is have each Jigsaw have its own config (in fact, from my
point of view, that would be the only legitimate reason for running
multiple Jigsaw in the same space, but maybe I am missing something

Received on Tuesday, 12 November 1996 07:01:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:41:21 UTC