From 3af4e07c6abfeb03d2746d12ba6df258e8da8ce4 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Tue, 08 May 2007 16:44:01 +0000
Subject: [PATCH] Add the option -Xrs to java when we start the server as a service.  This is required to avoid the server to be shutdown when is run as a service and the user logs off. 

---
 opends/resource/bin/_server-script.bat |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/opends/resource/bin/_server-script.bat b/opends/resource/bin/_server-script.bat
index 07b66fa..d57b5c1 100644
--- a/opends/resource/bin/_server-script.bat
+++ b/opends/resource/bin/_server-script.bat
@@ -38,6 +38,7 @@
 
 :noInvokeClass
 echo Error:  OPENDS_INVOKE_CLASS environment variable is not set.
+pause
 goto end
 
 :checkJavaBin
@@ -59,6 +60,7 @@
 :noSetJavaHome
 echo Error: JAVA_HOME environment variable is not set.
 echo        Please set it to a valid Java 5 (or later) installation.
+pause
 goto end
 
 :setClassPath

--
Gitblit v1.10.0