I'll be watching this quite closely. We run thousands of TC6 instances onsite
here, and are a daemontools shop. This change breaks daemontools, as the
"svc" command will attempt to stop the tomcat service by sending a TERM to
the catalina.sh process, which leaves the child java process still running.

For one customer who insists on TC7, I've had to take the measure of
changing the catalina.sh script to use the old method for now. This is not
maintainable, however. Should there be a bug filed somewhere for this?

Cheers,
Bradley McCrorey


Rainer Jung-3 wrote:
> 
> Since Mladens change r918873 in March 2010 we use eval instead of exec
> in the shell scripts. The svn log says:
> 
> "Use eval instead direct call or exec command so that arguments with
> spaces are properly handled"
> 
> Eval leaves a copy of the shell process hanging around until Tomcat
> shutdown. I want to experiment with different solutions, but have no
> idea, what kind of whitespace use the switch from exec to eval was
> supposed to change.
> 
> Mladen or whoever else understood this: can you give an example which
> didn't work with the exec based scripts?
> 
> Regards,
> 
> Rainer
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Using-eval-vs.-exec-in-shell-scripts-tp31884910p31928774.html
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


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

Reply via email to