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

--- Comment #20 from Michael Osipov <1983-01...@gmx.net> ---
(In reply to Konstantin Kolinko from comment #19)
> I think this may change the meaning of pid value in $CATALINA_PID file. I
> think that it will be the process id of nohup process instead of java one.
> 
> Known uses of pid value:
> 
> - forcibly terminating Tomcat with shutdown.sh -force
> 
>   echo "Killing Tomcat with the PID: $PID"
>   kill -9 $PID
> 
> - asking java for a thread dump
> 
>   echo "To aid diagnostics a thread dump has been written to standard out."
>   kill -3 `cat "$CATALINA_PID"`

Are you certain about this?

Here is the output of HP-UX:

> root@blnn728x - /
> 243 # ps -fu root | grep nohup
>     root 29012 17788  0 15:06:04 pts/3     0:00 grep nohup
> 
> root@blnn728x - /
> 244 # echo $USER
> root
> 
> root@blnn728x - /
> 245 # ps -fu root | grep nohup
>     root 29088 17788  0 15:07:38 pts/3     0:00 grep nohup
> 
> root@blnn728x - /
> 246 # ps -fu smartld | grep nohup
> 
> root@blnn728x - /
> 247 # ps -fu smartld | grep java
>  smartld 17619     1  0  Mai 22  ?        59:14 /opt/java7/bin/java 
> -Djava.util.logging.config.file=/var/opt/tomcat/conf/logging.properties 
> -Djava.util.logging.manager=org.apa
>  smartld 28268     1  0 12:03:17 pts/2     3:48 /opt/java7/bin/java 
> -Djava.util.logging.config.file=/var/opt/tomcat-services/conf/logging.properties
>  -Djava.util.logging.manage
>

-- 
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