W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 1997

re: realms.db portability

From: darrell starnes <Darrell=Starnes%AppSrv%Sys=Hou@bangate.compaq.com>
Date: Tue, 28 Jan 97 0:00:44 CST
Message-ID: <vines.JkH8+AMNvmA@bangate.compaq.com>
To: <www-jigsaw@www10.w3.org>
guess what?? I discovered that you can use relative path names where ever a 
path
is required. The relative path originates  from where java is executed. By 
using a batch file
to start jigsaw and ensuring that the current directory when java is 
executed is always the same,
i can use relative paths and everything works fine. I've gotten my 
portability back.

Darrell Starnes
Internet Solutions Division, Compaq Computer
email: starnes@netgate.compaq.com
voice: 713-518-3812
-------------
Original Text
From: www-jigsaw@www10.w3.org, on 1/23/97 7:36 PM:
To: <www-jigsaw@www10.w3.org>

FROM too long. Original FROM is '"darrell starnes" 
<Darrell=Starnes%AppSrv%Sys=Hou@bangate.compaq.com>'

----------------------  Original Message Follows  ----------------------

I packaged up a configured jigsaw and sent it off to a business associate. 
When he installed it,
he placed it in a different drive and directory than my package. He 
modified the startup script, the classpath, and the httpd.props file to 
correct all of the path changes. However, it seems that
config\auth\realms.db has a hard coded path to the relams db files for the 
realms supported by
Jigsaw. He could not perform authorizations. He tried removing the files 
and jigsaw got a
null pointer exception. Eventually he was able to get it corrected by using 
a HEX editor and
modifying the realms.db file. 

Is there a way to place relative paths in realms.db so that a user
does not have to edit this file? 

Should Jigsaw do something appropriate if all of the auth files
are missing? 

By failing, you cannot use a browser to re-configure the authorizations if 
the files are deleted or damaged. 

Is there a better way to do this that I haven't figured out yet?

Darrell Starnes
Internet Solutions Division, Compaq Computer
email: starnes@netgate.compaq.com
voice: 713-518-3812
Received on Tuesday, 28 January 1997 01:24:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:25 GMT