Allow Helma to run without listening to any server ports.

This commit is contained in:
hns 2005-04-11 15:29:47 +00:00
parent 2ab0f17678
commit a021cbf791
2 changed files with 0 additions and 9 deletions

View file

@ -32,10 +32,6 @@ public class Config {
File propFile = null; File propFile = null;
File homeDir = null; File homeDir = null;
public boolean hasPortSetting() {
return (websrvPort != null || ajp13Port != null || rmiPort != null || xmlrpcPort != null);
}
public boolean hasPropFile() { public boolean hasPropFile() {
return (propFile != null); return (propFile != null);
} }

View file

@ -125,11 +125,6 @@ public class Server implements IPathElement, Runnable {
System.exit(1); System.exit(1);
} }
if (!config.hasPortSetting()) {
printUsageError("no server ports set");
System.exit(1);
}
checkRunning(config); checkRunning(config);
// create new server instance // create new server instance