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

Re: Virtual hosts with Jigsaw 2.0.2, JVM1.2, NT4+SP5

From: Anthony B. Coates, ESL +61 2 9373 7972 <tony.coates@reuters.com>
Date: Thu, 20 May 1999 19:27:51 -0400 (EDT)
Message-Id: <199905202327.TAA00011@www10.w3.org>
To: jigsaw Mailing List <www-jigsaw@w3.org>
I incorrectly posted this message to the www-jigsaw-request list (sorry), so am
sending it again to the www-jigsaw list.  Apologies to anyone who has already
seen it.
Thanks, Benoit, for the tips!  I am much closer now, but not quite there.  Let
me say that I want to set up my virtual server so that "http://localhost/"
takes me to the standard Jigsaw document tree, while I want "http://tonyc/" (my
DNS name is "tonyc") to take me to my own document tree, which is located
outside of the Jigsaw document tree.  By default, Jigsaw does a name lookup to
call itself "http://tonyc/", so I have to set the hostname to
"http://localhost/" on the Jigsaw command line.

I set up my VirtualHostResource and VirtualHostFrame as in the docs, and set
the server's root name to "virtual".  However, when I stopped and restarted
Jigsaw, it didn't work.  Instead, "Class.forName" threw a
ClassNotFoundException.  Checking "http-server.props", I found that it had the

org.w3c.jigsaw.root.class=org.w3c.jigsaw.resources.DirectoryResourc e

which seems to me to be a mismatch.  I tried changing
"org.w3c.jigsaw.root.class" to "org.w3c.jigsaw.resources.VirtualHostResource",
but still got the same "Class.forName" ClassNotFoundException.  Finally, I
changed the "http-server.props" file to be

org.w3c.jigsaw.root.class=org.w3c.jigsaw.resources.DirectoryResourc e

which allowed Jigsaw to run again, but with virtual hosting now disabled.

So, what I'm really after is any help anyone can give to me in suggesting what
might have gone wrong.

Je vous remercie beaucoup en avance pour toute information.

> The dnd doesn't work fine with swing, so there is another way to add
> resources / frames. Read the documentation at [1] and [2].
> [1] http://www.w3.org/Jigsaw/Doc/User/JigAdmin/docs_space.html#add
> [2] http://www.w3.org/Jigsaw/Doc/User/JigAdmin/edit.html#menu

Any views expressed in this message are those of the individual  sender,
except  where  the  sender  specifically  states them to be the views of
Reuters Ltd.
Received on Thursday, 20 May 1999 19:41:05 UTC

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