try {
port = Integer.getInteger("java.rmi.activation.port",
ActivationSystem.SYSTEM_PORT).intValue();
actURL = "//:" + port + "/java.rmi.activation.ActivationSystem";
currSystem = (ActivationSystem) Naming.lookup(actURL);
currSystem.shutdown();
} catch (SecurityException e) {
throw e; // configuration problem
} catch (Exception e) {
return; // assume not be running
}