* Add start and shutdown calls for embedded XML-RPC web server.
This commit is contained in:
parent
25fd8cb805
commit
8a30ebf693
1 changed files with 9 additions and 1 deletions
|
@ -531,6 +531,14 @@ public class Server implements IPathElement, Runnable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (xmlrpc != null) {
|
||||||
|
try {
|
||||||
|
xmlrpc.shutdown();
|
||||||
|
} catch (Exception x) {
|
||||||
|
// exception in xmlrpc server shutdown, ignore.
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (helmaLogging) {
|
if (helmaLogging) {
|
||||||
Logging.shutdown();
|
Logging.shutdown();
|
||||||
}
|
}
|
||||||
|
@ -622,7 +630,7 @@ public class Server implements IPathElement, Runnable {
|
||||||
xmlrpc.acceptClient(st.nextToken());
|
xmlrpc.acceptClient(st.nextToken());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
xmlrpc.start();
|
||||||
logger.info("Starting XML-RPC server on port " + (xmlrpcPort));
|
logger.info("Starting XML-RPC server on port " + (xmlrpcPort));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue