From: Scott M S. <st...@us...> - 2004-01-01 01:20:41
|
User: starksm Date: 03/12/31 17:20:39 Modified: src/bin Tag: Branch_3_2 run.sh Log: Get rid of the useless profiler stuff Revision Changes Path No revision No revision 1.9.2.5 +15 -30 jboss-system/src/bin/run.sh Index: run.sh =================================================================== RCS file: /cvsroot/jboss/jboss-system/src/bin/run.sh,v retrieving revision 1.9.2.4 retrieving revision 1.9.2.5 diff -u -r1.9.2.4 -r1.9.2.5 --- run.sh 26 Dec 2003 20:31:09 -0000 1.9.2.4 +++ run.sh 1 Jan 2004 01:20:38 -0000 1.9.2.5 @@ -5,7 +5,7 @@ ## ## ### ====================================================================== ### -### $Id: run.sh,v 1.9.2.4 2003/12/26 20:31:09 starksm Exp $ ### +### $Id: run.sh,v 1.9.2.5 2004/01/01 01:20:38 starksm Exp $ ### DIRNAME=`dirname $0` PROGNAME=`basename $0` @@ -85,17 +85,6 @@ fi fi -# Setup Profiler -useprofiler=false -if [ "x$PROFILER" != "x" ]; then - if [ -r "$PROFILER" ]; then - . $PROFILER - useprofiler=true - else - die "Profiler file not found: $PROFILER" - fi -fi - # Setup the JVM if [ "x$JAVA" = "x" ]; then if [ "x$JAVA_HOME" != "x" ]; then @@ -159,7 +148,7 @@ fi # Display our environment -echo "================================================================================" +echo "=========================================================================" echo "" echo " JBoss Bootstrap Environment" echo "" @@ -171,22 +160,18 @@ echo "" echo " CLASSPATH: $JBOSS_CLASSPATH" echo "" -echo "================================================================================" +echo "=========================================================================" echo "" -if $useprofiler; then - # Hand over control to profiler - runProfiler -else - STATUS=10 - while [ $STATUS -eq 10 ] - do - # Execute the JVM - "$JAVA" $JAVA_OPTS \ - -classpath "$JBOSS_CLASSPATH" \ - org.jboss.Main "$@" - STATUS=$? - # if it doesn't work, you may want to take a look at this: - # http://developer.java.sun.com/developer/bugParade/bugs/4465334.html - done -fi +STATUS=10 +while [ $STATUS -eq 10 ] +do +# Execute the JVM + "$JAVA" $JAVA_OPTS \ + -classpath "$JBOSS_CLASSPATH" \ + org.jboss.Main "$@" + STATUS=$? + # if it doesn't work, you may want to take a look at this: + # http://developer.java.sun.com/developer/bugParade/bugs/4465334.html +done + |