lock = new Object();
thread = new Thread() {
public void run() {
RhinoConsoleMain rhinoConsoleMain = new RhinoConsoleMain();
try {
rhinoConsoleMain.setErr(errorStream.internalOutputStream);
rhinoConsoleMain.setOut(outputStream.internalOutputStream);
rhinoConsoleMain.startXmlRpcServer(port);
} catch (IOException e) {
Log.log(e);
}
};
};