W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 1996

Jigsaw/Mac JDK 1.0.2 - root resource?

From: Peter M. Jansson <petej@clickvision.com>
Date: Tue, 25 Jun 1996 23:22:10 -0500
Message-Id: <v01540b01adf66792cf11@[198.69.37.167]>
To: www-jigsaw@w3.org
I have been able to get Jigsaw running with the Mac JDK, but then I get an
error.  First, I've seen several questions about how to get it to run.
Here's how:

1. Untar the Jigsaw distribution (I get a large number of bad file names
here; does anyone else?  Almost all are .html files under Jigsaw/WWW)

2. Make a copy of the Java Runner from the JDK and place it in the root of
the Jigsaw installation and rename if "Jigsaw app" (or something else that
makes sense)

3. Using resedit, open the "Jigsaw app" file you just made, and the
"Standalone.rsrc" in the "Standalone Apps->Examples->Ex. #5- Standalone w/
Zip" folder from the JDK distribution

4. Copy and paste all of the resources from the Standalone.rsrc file to the
Jigsaw app file.  There are some extras here, but don't worry about it.
Close the Standalong.rsrc file.  All the rest of the operations happen on
the Jigsaw app file.

5. Still in ResEdit, open the STR resource.  Change resource ID 1 to
contain the string
"/$INSTALLATION_CLAS/JDK-1.0.2:/$APPLICATION/classes/jigsaw.zip"

6. Still in resedit, still in the STR resource, change resource ID 2 to
contain the string "w3c/jigsaw/http/httpd" (I'm new at this -- why slashes
as opposed to periods?  I had to use slashes to get it to work)

7. Still in resedit, open the STR# resource and resource ID 1.  Delete all
of the strings there, and add the string "-root" followed by the string
"Jigsaw".

8. Save and close the Jigsaw app file.

Having done all of that, I can double-click on the Jigsaw app file and
watch the app launch.  Then, I get the following in standard output:

  Loading properties from: ./Jigsaw/config/httpd.props
  ***Fatal error, aborting
  w3c.jigsaw.http.httpd: Unable to restore root resource [root] from
repository [Jigsaw/WWW/.jigidx]
  *** [httpd]: fatal error, exiting !

Here's what shows up in standard error:

  java.lang.RuntimeException: Unable to restore root resource [root] from
repository [Jigsaw/WWW/.jigidx]
       at w3c.jigsaw.http.httpd.fatal(httpd.java)
       at w3c.jigsaw.http.httpd.initialize(httpd.java)
       at w3c.jigsaw.http.httpd.<init>(httpd.java)
       at w3c.jigsaw.http.httpd.main(httpd.java)

I don't know how to proceed in figuring out what went wrong.  There is a
Jigsaw directory at the same level as the Jigsaw app file, and it contains
a WWW directory, which contains a .jigidx file (and a .jigidx.bak).  I
don't know if filenaming conventions are happening here; it sort of looks
as if the properties are being read, so I gather that it can see files.
What should I look for next?

Thanks,
    Pete.
Received on Tuesday, 25 June 1996 23:23:21 GMT

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