https://bz.apache.org/bugzilla/show_bug.cgi?id=58626

Konstantin Kolinko <knst.koli...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

--- Comment #4 from Konstantin Kolinko <knst.koli...@gmail.com> ---
You should be able to patch the script that calls catalina.sh to wrap that call
with a nohup. Such a recipe is already mentioned in the FAQ

https://wiki.apache.org/tomcat/TomcatOnSolaris10
https://wiki.apache.org/tomcat/FAQ/Linux_Unix#Q3


It is also possible to consider switching from "catalina.sh start" to
"catalina.sh run".


In general, this is interesting. With nohup I have to redirect stdout and
stderr, or it will create its own nohup.out.  Here the redirection is already
on the command line, so it writes to catalina.out without a need for separate
log file.


Note that there is also bug 53930 (allowing to replace catalina.out with a
pipe) that also intends to change the launch command. I think it is not
committed yet, because it is too tricky.

> which turns:
> "$_RUNJAVA" "$LOGGING_CONFIG" $LOGGING_MANAGER $JAVA_OPTS $CATALINA_OPTS
> into
> $JAVA_WRAPPER "$_RUNJAVA" "$LOGGING_CONFIG" $LOGGING_MANAGER $JAVA_OPTS 
> $CATALINA_OPTS

1. The above line is from Tomcat 6. It does not match catalina.sh in current
trunk which uses "eval".

2. There are more that one variant of "start" command. There are different
commands with Security Manager enabled ("-security") and without one.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

Reply via email to