월요일, 3월 17, 2025
HomeLinuxHUDSON Excute Shell 에서 tomcat를 리스타트시 종료되는현상

[liunx]HUDSON Excute Shell 에서 tomcat를 리스타트시 종료되는현상

linux 기반의 허드슨 jobs에서
Excute Shell 에서 tomcat를 리스타트 시키려고 하는데
start 는 되지 않는 것입니다.
start 가 정상적으로 되었다고 로그에는 나오지만
Hudson 의 build process 가 종료되면서 같이 종료 되는 현상이 있어
아래와 같이 수정후 정상기동됩니다.

수정전

/sservice/instance/webPortal/start.sh
/sservice/instance/webPortal/viewtail.sh

수정후

nohup /sservice/instance/webPortal/start.sh >/dev/null 2>&1 &
nohup /sservice/instance/webPortal/viewtail.sh
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular