tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject commons-sandbox/daemon
Date Fri, 20 Jun 2003 04:33:28 GMT
Ok, yes I know that this should go to commons-dev, but I don't monitor that
list as closely and all of the active developers hang-out here.

I would like to make some changes to native/unix/native, and (keeping with
commons conventions) should ask first.  I already have commons-sandbox
karma, so that's not an issue.

1) I want to call setsid (on platforms that support it) after the detach,
since evil things happen if I don't (at least on RH Linux).
2) I want to add a -outfile and -errfile to the config options (consistant
with procrun, and both defaulting to /dev/null).  stdin will get redirected
to /dev/null, and stdout & stderr will get redirected to the values of the
variables.  If I can get it to work, I'd also like to add the special values
"&1" and "&2" to simulate "2>&1".  As it stands now, manually stopping and
starting Tomcat with jsvc hangs my ssh session on logout, since it still has
open files to the pty.
3) Modify Tomcat.sh to reflect the changes in 2) (e.g. add:
    -outfile $CATALINA_HOME/logs/catalina.out \
    -errfile &1 \
    ).




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message