how to kill glassfish
authorPhilip Durbin <philipdurbin@gmail.com>
Fri, 22 Feb 2013 14:56:11 +0000 (09:56 -0500)
committerPhilip Durbin <philipdurbin@gmail.com>
Fri, 22 Feb 2013 14:56:11 +0000 (09:56 -0500)
java/glassfish.mdwn

index c3c5918341ac8794dedfb821153e953c89051283..220fde00cf74baca778bdf01faa744e9419c8a29 100644 (file)
@@ -9,6 +9,10 @@
 
 See also: Subcommands for the asadmin Utility - Oracle GlassFish Server 3.1 Administration Guide - http://docs.oracle.com/cd/E18930_01/html/821-2416/gcode.html
 
+## To kill Glassfish
+
+    jps | grep ASMain | awk '{print $1}' | xargs kill -9
+
 ## Increasing the Glassfish logging level
 
     murphy:~ pdurbin$ cd /Applications/NetBeans/glassfish-3.1.2.2/glassfish