From 7782bbfd46380d9cc0e2d20f3df54acc1269ebd4 Mon Sep 17 00:00:00 2001 From: jvergara <jvergara@localhost> Date: Wed, 01 Jul 2009 10:11:28 +0000 Subject: [PATCH] Fix for issue 4081 (start-ds and stop-ds fails on Mac OS X with latest JVM) --- opends/resource/bin/stop-ds.bat | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/opends/resource/bin/stop-ds.bat b/opends/resource/bin/stop-ds.bat index 2379540..8cfe6a0 100644 --- a/opends/resource/bin/stop-ds.bat +++ b/opends/resource/bin/stop-ds.bat @@ -64,7 +64,7 @@ echo %SCRIPT%: CLASSPATH=%CLASSPATH% >> %LOG% -"%OPENDS_JAVA_BIN%" -Xms8M -Xmx8M %SCRIPT_NAME_ARG% org.opends.server.tools.StopDS --checkStoppability %* +"%OPENDS_JAVA_BIN%" %SCRIPT_NAME_ARG% org.opends.server.tools.StopDS --checkStoppability %* if %errorlevel% == 98 goto serverAlreadyStopped if %errorlevel% == 99 goto startUsingSystemCall @@ -110,16 +110,16 @@ :stopAsWindowsService echo %SCRIPT%: stop as windows service >> %LOG% -"%OPENDS_JAVA_BIN%" -Xms8M -Xmx8M org.opends.server.tools.StopWindowsService +"%OPENDS_JAVA_BIN%" org.opends.server.tools.StopWindowsService goto end :restartAsWindowsService echo %SCRIPT%: restart as windows service, stopping >> %LOG% -"%OPENDS_JAVA_BIN%" -Xms8M -Xmx8M org.opends.server.tools.StopWindowsService +"%OPENDS_JAVA_BIN%" org.opends.server.tools.StopWindowsService if not %errorlevel% == 0 goto end echo %SCRIPT%: restart as windows service, starting >> %LOG% -"%OPENDS_JAVA_BIN%" -Xms8M -Xmx8M org.opends.server.tools.StartWindowsService -"%OPENDS_JAVA_BIN%" -Xms8M -Xmx8M org.opends.server.tools.WaitForFileDelete --targetFile "%INSTANCE_ROOT%\logs\server.startingservice" +"%OPENDS_JAVA_BIN%" org.opends.server.tools.StartWindowsService +"%OPENDS_JAVA_BIN%" org.opends.server.tools.WaitForFileDelete --targetFile "%INSTANCE_ROOT%\logs\server.startingservice" rem Type the contents the winwervice.out file and delete it. if exist "%INSTANCE_ROOT%\logs\winservice.out" type "%INSTANCE_ROOT%\logs\winservice.out" if exist "%INSTANCE_ROOT%\logs\winservice.out" erase "%INSTANCE_ROOT%\logs\winservice.out" -- Gitblit v1.10.0