W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 2002

Re: Jigsaw outputs to stderr and stdout

From: Stephane Nicoll <stephane.nicoll@skynet.be>
Date: Fri, 1 Mar 2002 09:42:25 +0100
Message-ID: <001101c1c0fd$03714ba0$19a388d9@bettyboop>
To: "Craig L. Ching" <cching@mqsoftware.com>
Cc: <www-jigsaw@w3.org>

You can start jigsaw in your own classe this way:

String[] pa  = new String[2];
pa[0] = "-root";
pa[1] = proxyHome;

where proxyHome is the home directory where JigSaw is installed. BEFORE that
you can redirect standard output / error to a stream you've defined. Like

PrintStream out = new PrintWriter(new FileOutputStream(outFile));
PrintStream err = new PrintWriter(new FileOutputStream(errFile));

wher outFile and errFile is some file log you've defined somewhere in your

Hope it helps,

----- Original Message -----
From: "Craig L. Ching" <cching@mqsoftware.com>
To: <www-jigsaw@w3.org>
Sent: Friday, March 01, 2002 12:25 AM
Subject: Jigsaw outputs to stderr and stdout

> Hi,
> Is there any way to tell Jigsaw to not print anything to stderr and
stdout?  We're wrapping up jigsaw in a daemon on Solaris, AIX, and Linux and
we need to close stderr and stdout before daemonizing.  Because of some 3rd
party software that we're using, we need to not have jigsaw write to either
stderr or stdout after daemonizing.  Any way to do that?
> Cheers,
> Craig
Received on Friday, 1 March 2002 03:42:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:37 UTC