[jboss-cvs] JBossAS SVN: r111969 - trunk/server/src/bin.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Aug 9 11:26:56 EDT 2011
Author: smcgowan at redhat.com
Date: 2011-08-09 11:26:56 -0400 (Tue, 09 Aug 2011)
New Revision: 111969
Modified:
trunk/server/src/bin/README-service.txt
trunk/server/src/bin/jboss_init_suse.sh
trunk/server/src/bin/service.bat
Log:
JBAS-9335 plus other minor script edits
Modified: trunk/server/src/bin/README-service.txt
===================================================================
--- trunk/server/src/bin/README-service.txt 2011-08-09 15:12:56 UTC (rev 111968)
+++ trunk/server/src/bin/README-service.txt 2011-08-09 15:26:56 UTC (rev 111969)
@@ -11,7 +11,7 @@
$Id$
---------------------------------------------------------------------
-The JBoss(R)* app server is Copyright 2000-2008, Red Hat Middleware LLC
+The JBoss(R)* app server is Copyright 2000-2011, Red Hat Middleware LLC
and individual contributors, and is licensed under the GNU LGPL.
@@ -28,7 +28,7 @@
To install the JBoss Application Server as Windows service use
the provided service.bat batch file.
-C:\> cd c:\jboss-6.0.0\bin
+C:\> cd c:\jboss-6.1.0\bin
C:\> service.bat install
To start the JBoss Application Server as Windows service use Control pannel
@@ -37,9 +37,9 @@
during service startup.
-C:\> net start JBAS60SVC
- The JBoss Application Server 6.0 service is starting.
- The JBoss Application Server 6.0 service was started successfully.
+C:\> net start JBAS61SVC
+ The JBoss Application Server 6.1 service is starting.
+ The JBoss Application Server 6.1 service was started successfully.
To stop the JBoss Application Server as Windows service use Control pannel
@@ -48,8 +48,8 @@
any errors during service shutdown.
-C:\> net stop JBAS60SVC
- The JBoss Application Server 6.0 service was stopped successfully.
+C:\> net stop JBAS61SVC
+ The JBoss Application Server 6.1 service was stopped successfully.
To restart the JBoss Application Server as Windows service use Control pannel.
@@ -58,7 +58,7 @@
service.bat batch file.
-C:\> cd c:\jboss-6.0.0\bin
+C:\> cd c:\jboss-6.1.0\bin
C:\> service.bat uninstall
Modified: trunk/server/src/bin/jboss_init_suse.sh
===================================================================
--- trunk/server/src/bin/jboss_init_suse.sh 2011-08-09 15:12:56 UTC (rev 111968)
+++ trunk/server/src/bin/jboss_init_suse.sh 2011-08-09 15:26:56 UTC (rev 111969)
@@ -27,7 +27,7 @@
JBOSS_HOME=${JBOSS_HOME:-"/opt/jboss"}
#make java is on your path
-JAVAPTH=${JAVAPTH:-"/usr/java/j2sdk1.4.1/bin"}
+JAVAPTH=${JAVAPTH:-"/usr/java/jdk1.6.0/bin"}
#define the classpath for the shutdown class
JBOSSCP=${JBOSSCP:-"$JBOSS_HOME/bin/shutdown.jar:$JBOSS_HOME/client/jnet.jar"}
Modified: trunk/server/src/bin/service.bat
===================================================================
--- trunk/server/src/bin/service.bat 2011-08-09 15:12:56 UTC (rev 111968)
+++ trunk/server/src/bin/service.bat 2011-08-09 15:26:56 UTC (rev 111969)
@@ -26,10 +26,10 @@
REM during the build with ant filter.
REM
if "x%SVCNAME%" == "x" (
- set "SVCNAME=JBAS60SVC"
+ set "SVCNAME=JBAS61SVC"
)
-set SVCDISP=JBoss Application Server 6.0
-set SVCDESC=JBoss Application Server 6.0.0 GA/Platform: Windows %PROCESSOR_ARCHITECTURE%
+set SVCDISP=JBoss Application Server 6.1
+set SVCDESC=JBoss Application Server 6.1.0 Final/Platform: Windows %PROCESSOR_ARCHITECTURE%
set NOPAUSE=Y
REM Suppress killing service on logoff event
@@ -59,10 +59,10 @@
REM ERR_RET_MODE 6
:errExplain
-if errorlevel 1 echo Invalid command line parameters
-if errorlevel 2 echo Failed installing %SVCDISP%
-if errorlevel 4 echo Failed removing %SVCDISP%
-if errorlevel 6 echo Unknown service mode for %SVCDISP%
+if %errorlevel% EQU 1 echo Invalid command line parameters
+if %errorlevel% EQU 2 echo Failed installing %SVCDISP%
+if %errorlevel% EQU 4 echo Failed removing %SVCDISP%
+if %errorlevel% EQU 6 echo Unknown service mode for %SVCDISP%
goto cmdEnd
:cmdInstall
More information about the jboss-cvs-commits
mailing list