Quantcast
Viewing all articles
Browse latest Browse all 110

Jboss 7.1.1 start/stop script

Could someone tell how to start/stop the Jboss-7.1.1 server in MAC using Shell Script.

stop_viewer(){echo "********* Stopping JBoss Server by killing the process **********";ps | grep domain.sh | grep -v grep | awk '{print $1}' | xargs killps | grep java | grep -v grep | awk '{print $1}' | xargs killps -ef | grep superuser | grep java | grep -v grep | awk '{print $2}'| xargs killecho "********* Stopped JBoss Server by killing the process **********";}

The above script is working fine in Jboss-7.0.2 to stop the server. But in Jboss-7.1.1, it doesn't stop the server. Please someone help to solve this.


Viewing all articles
Browse latest Browse all 110

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>