File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 733733 cat >> " $1 " << 'EOI '
734734 unset OPENJ9_JAVA_OPTIONS; \
735735 SCC_SIZE="50m"; \
736- SCC_GEN_RUNS_COUNT=3 ; \
736+ SCC_GEN_RUNS_COUNT=2 ; \
737737 DOWNLOAD_PATH_TOMCAT=/tmp/tomcat; \
738738 INSTALL_PATH_TOMCAT=/opt/tomcat-home; \
739739 TOMCAT_CHECKSUM="0db27185d9fc3174f2c670f814df3dda8a008b89d1a38a5d96cbbe119767ebfb1cf0bce956b27954aee9be19c4a7b91f2579d967932207976322033a86075f98"; \
751751 do \
752752 "${INSTALL_PATH_TOMCAT}"/bin/startup.sh; \
753753 sleep 5; \
754- "${INSTALL_PATH_TOMCAT}"/bin/shutdown.sh ; \
754+ kill -9 $(ps -ef | grep 'catalina' | tr -s ' ' | cut -d ' ' -f 2 | head -n 2 | tail -n 1) ; \
755755 sleep 5; \
756756 done; \
757757 \
769769 do \
770770 "${INSTALL_PATH_TOMCAT}"/bin/startup.sh; \
771771 sleep 5; \
772- "${INSTALL_PATH_TOMCAT}"/bin/shutdown.sh ; \
772+ kill -9 $(ps -ef | grep 'catalina' | tr -s ' ' | cut -d ' ' -f 2 | head -n 2 | tail -n 1) ; \
773773 sleep 5; \
774774 done; \
775775 \
You can’t perform that action at this time.
0 commit comments