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

Solved: Local Jigsaw under OS/2 Warp 4

From: Trent Payne <Trent@paradise.net.nz>
Date: Mon, 08 Jun 1998 23:39:17 +1100
Message-Id: <199806081153.XAA27668@rachel.paradise.net.nz>
To: "www-jigsaw@w3.org" <www-jigsaw@w3.org>
Cc: "Christian Langanke" <cla@oerag.de>
Thanks to Christian Langanke <cla@oerag.de>, i managed to solve my previous difficulties.

Apparently to use Jigsaw under OS/2 it is necessary to specify the -Djava.compiler= flag to the java interpreter (i 
have provided a REXX script below to show how i did it). I haven't researched this flag yet, but it does seem to work 
fine.

The second part of my problem was to get it working locally so i didn't need to pay ISP charges while i was developing 
my pages. The ICAT documentation provided the hint that helped solve that one - "ifconfig lo 127.0.0.1 up". I don't 
know the precise details of ifconfig, but again it works ;).

The authors do point out both of the following notes, however it took me a while to notice them, so i'll restate them 
here:

Note 1: Do read the documentation (if you run the script below, they will be served on http://127.0.0.1:8001). In 
particular the administration passwords are hidden in there ;).
Note 2: You can't browse the administrator's address - you need to use the administration client (e.g. started in the 
script below)

Below is the REXX script that i use to start up the server and administration client. If you have any comments at all, 
i would appreciate them. This is my first foray into this domain, so i am far from expert. I will also try to answer 
any questions along these lines (the fact that i am not expert is of course relevant here as well ;).

---------------
/* Local.cmd

   Start up Jigsaw as a local webserver i.e. Internet _not_ required

   trent@paradise.net.nz */

Call RxFuncAdd 'Delay', 'RexxUtil', 'Sleep'

/* Setup stack for loopback */
'ifconfig lo 127.0.0.1 up'

/* Start up the server */
'start "Jigsaw Server" /fg /c /pgm java -Djava.compiler= org.w3c.jigsaw.Main -root F:\Jigsaw\Jigsaw -host 127.0.0.1'

/* Let it get settled in
   if you know of a nicer way to do this, please let me know! */
Call Delay 10

/* Start up the administration client */
'start "Jigsaw Administration" /inv /c /pgm java -Djava.compiler= org.w3c.jigadm.Main -root F:\Jigsaw\Jigsaw -host 
http://127.0.0.1:8009'
---------------

*************************************************************************
  Other relevant addresses: eMpTy@paradise.net.nz, Monica@paradise.net.nz

              1 Percy Dyett Drive, Karori, Wellington, NZ

   And because Raymond keeps forgetting it:  +64 4 4767088 (fax/phone)
*************************************************************************
Received on Monday, 8 June 1998 07:39:03 GMT

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