So does jconsole start up under apache's id "www-data", j602's profile expects a
directory at 2!:5 'HOME' of the current user that user should be "www-data" in cgi.
Joey K Tuttle wrote:
Which is why I decided to shorten the example, the catch block etc. was
a red herring... stdout is the system default (1!:2&4) putting that in
explicitly doesn't change anything - but being paranoid, I changed my
last example to:
#! /usr/local/lib/j602/bin/jconsole
(1!:2&4) 'Content-type: text/html',(10 10{a.), 'j602 says - Hello
World!', 10 10 { a.
2!:55 ] 0
and verified that 601 works while 602 fails....
At 01:14 +0800 2008/06/08, bill lam wrote:
I guess it raise error inside the catch block. And the catch block is
executed because there is error in the try block. Is the verb stdout
defined? Insert lines like
(<'/tmp/err1') 1!:3~ LF,~ ": 4!:0 <'stdout'
before the try block to confirm verbs/nouns are defined.
HTH
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm