Bug in AuthRealm.java! (2.0alpha1)

 I found a bug in AuthRealm.java (And ResourceStoreManager.java). It is caused
 by a change made in StoreEntry.java during the week before the release.
 If you have configured some realms in the http server, this bug cause a server
 crash when you stop it and try to start it again.
 So you can choose to fix this bug or you can choose not to test realms before
 the next release.

 To fix this bug:

1) in org.w3c.jigsaw.auth.AuthRealm add an initialize method :

 public void initialize(Object values[]) {
   super.initialize(values);
   if (repository == null)
      repository = new File(getServer().getAuthDirectory(), 
			    getIdentifier()+".db");
 }

2) in org.w3c.tools.resources.store.ResourceStoreManager remove this line:

 salvage();

 (at the end of the file)

 Benoit Mahe.


- Benoît Mahé -------------------------------------------------------
                      World Wide Web Consortium (W3C)
                    Architecture domain - Jigsaw Team           

  http://www.w3.org/People/Mahe - bmahe@w3.org - +33.4.92.38.79.89 
---------------------------------------------------------------------



- Benoît Mahé -------------------------------------------------------
                      World Wide Web Consortium (W3C)
                    Architecture domain - Jigsaw Team           

  http://www.w3.org/People/Mahe - bmahe@w3.org - +33.4.92.38.79.89 
---------------------------------------------------------------------

Received on Tuesday, 3 February 1998 03:27:47 UTC