geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r1067585 - /geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/testharness/GeronimoConnector.java
Date Sun, 06 Feb 2011 04:59:40 GMT
Author: genspring
Date: Sun Feb  6 04:59:40 2011
New Revision: 1067585

URL: http://svn.apache.org/viewvc?rev=1067585&view=rev
Log:
fix a server startup issue on windows, add more server startup log.

Modified:
    geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/testharness/GeronimoConnector.java

Modified: geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/testharness/GeronimoConnector.java
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/testharness/GeronimoConnector.java?rev=1067585&r1=1067584&r2=1067585&view=diff
==============================================================================
--- geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/testharness/GeronimoConnector.java
(original)
+++ geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/testharness/GeronimoConnector.java
Sun Feb  6 04:59:40 2011
@@ -136,11 +136,11 @@ public class GeronimoConnector implement
         if (osName.startsWith("Windows")) {
             cmd.add("cmd.exe");
             cmd.add("/C");
-            cmd.add("set JAVA_OPTS=" + javaOpts + " & set JRE_HOME=" + jrehome +" &
cd /D " + geronimoHome + " & " + "bin\\geronimo.bat run -l");
+            cmd.add("set JAVA_OPTS=" + javaOpts + " & set JRE_HOME=" + jrehome +"&
cd /D " + geronimoHome + " & " + "bin\\geronimo.bat run -c -v -l >console.log");
         } else {
             cmd.add("sh");
             cmd.add("-c");
-            cmd.add("cd " + geronimoHome + "; JAVA_OPTS=\"" + javaOpts + "\"; JRE_HOME=\""
+ jrehome + "\"; ./bin/geronimo run -l");
+            cmd.add("cd " + geronimoHome + "; JAVA_OPTS=\"" + javaOpts + "\"; JRE_HOME=\""
+ jrehome + "\"; ./bin/geronimo run -c -v -l >console.log");
         }
         
         LOG.info("Starting server. Executing {} ", cmd);



Mime
View raw message