18 10:58 PM
>To: users@tomcat.apache.org
>Subject: Re: Tomcat stop and start using bash script
>
>Hi.
>
>I have not followe3d this thread since the beginning, but
>
>The standard tomcat distribution comes with a series of shell scripts in the
>"bin"
>director
Hi.
I have not followe3d this thread since the beginning, but
The standard tomcat distribution comes with a series of shell scripts in the "bin"
directory, which do just that : start or stop tomcat. They are conveniently called
"startup.sh" and "shutdown.sh". You could get inspiration from tho
Hello Danesh
Perhaps you could look for any of your tomcat connector ports, ask for the
process that is listening and kill it:
$ ppid=`lsof -i:8080 -Fp | grep p`
$ pid=`echo ${ppid#p*}`
$ kill $pid
Probably you can find something more elegant but the idea could be this
one...
Hope it helps,
Lu
use -force option
bin/shutdown.sh -force
regards
Leon
On Wed, Jun 27, 2018 at 5:51 PM dhanesh1212121212
wrote:
> Hi All,
>
> Trying to stop and start tomcat in production using bash script for war
> deployment.
>
> If tomcat not stopped properly then how we can kill the correct process and
> ma