Tomcat6, to test 32-bit on 64-bit

This commit is contained in:
Doug MacEachern 2008-09-12 03:48:36 +00:00
parent 9b4dd7b263
commit 7ac30e778a
1 changed files with 13 additions and 0 deletions

View File

@ -89,6 +89,19 @@ public class TestRegistryKey extends SigarTestCase {
sql.close();
}
ms.close();
final String TC =
"SOFTWARE\\Apache Software Foundation\\Procrun 2.0\\Tomcat6\\Parameters\\Java";
try {
RegistryKey tc =
RegistryKey.LocalMachine.openSubKey(TC);
traceln("Tomcat6...");
ArrayList values = new ArrayList();
tc.getMultiStringValue("Options", values);
assertGtZeroTrace("Options.size()", values.size());
traceln("Options=" + values);
tc.close();
} catch (Exception e) {}
}
//dont want to be writing to the registry