4445464748495051
break; } } catch(Exception e) { throw new ASLauncherException("Error trying to stop server.", e); } }
115116117118119120121122
break; } } catch(Exception e) { throw new ASLauncherException("Error attempting to create Repository Config", e); } }
127128129130131132133134135136137
{ serverDir = new File(getEnvironmentVariable(ENV_INSTANCE_ROOT)); if(!serverDir.isDirectory()) { throw new ASLauncherException("Server root directory, " + serverDir + ", doesn't exist."); } // JDK bug with getAbsoluteFile ???? try {
196197198199200201202203204205206
// check the OS environment envValue = System.getenv(envProp); if(!ok(envValue)) { throw new ASLauncherException("The environmental variable or System Property, " + envProp + ", must be set."); } } return envValue; }