I'm running the command as follows:
sudo nohup /apps/Config/usr/local/bin/ec2-init dev start > /dev/null 2>&1 &
After this command runs I call another that is calling the application and
waiting to get a 200 http status code back. After a few minutes of getting
"503", I eventually get a "200" and the build step terminates, then I can see
the catalina.out file indicate that the application is shutting down.
On Wednesday, January 21, 2015 2:54 PM, Eric Pyle
<[email protected]> wrote:
Perhaps you need to start the tomcat server with nohup?
On 1/21/2015 1:46 PM, Eric Wood wrote:
I'm using a ssh plugin to start a tomcat server.
I call a command that ends up calling the tomcat startup shell script. Once
the call to the startup script is made I call an additional script in the same
ssh execution that goes out and runs a curl command to see when the server is
responding with a 200 status code. Once that happens, I terminate the ssh
connection. At this point it seems to kill the tomcat server. I can tail the
catalina.out file and see when the server starts and then shuts down.
What is the proper process for keeping this process alive?
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/44378829.2770454.1421866017276.JavaMail.yahoo%40jws10036.mail.ne1.yahoo.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/54C00391.3090505%40cd-adapco.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/1786158747.2808388.1421875501075.JavaMail.yahoo%40jws10064.mail.ne1.yahoo.com.
For more options, visit https://groups.google.com/d/optout.