The sections:
<ul>
<li><a href="#params">Global Parameters</a></li>
+ <li><a href="#sessions">Daemon Management</a></li>
<li><a href="#queries">Queries</a></li>
<li><a href="#stylesheets">Stylesheet Management</a></li>
<li><a href="#process">Processing</a></li>
</table>
</div>
+<br />
+
+<a name="sessions"/>
+<table border="0" width="100%" cellpadding="4" cellspacing="0">
+<tr>
+ <td class="head" align="left"><big>Daemon Management</big></td>
+ <td class="back" align="right"><a href="#top">top</a></td>
+</tr>
+</table>
+
+<br />
+
+<div id="indent">
+<p>You can start a new daemon on a given port. The new daemon will have
+ an empty list of processed stylesheets.
+</p>
+<table border="0">
+ <tr>
+ <th colspan="2" align="left">Port</th>
+ </tr>
+ <tr>
+ <td>
+ <form name="sessions">
+ <script>
+ document.write('<input type="text" value="' + getInitialPort() + '" size="5"/>');
+ </script>
+ </form>
+ </td>
+ <td>
+ <form>
+ <input type="button" value="Start New Daemon" onClick="top.result.location.replace(getUwoboURL() + 'newsession?port=' + document.sessions.elements[0].value)"/>
+ </form>
+ </td>
+ </tr>
+</table>
+</div>
+
+<br />
+
+<div id="indent">
+<p>You can also kill the daemon. The log file will be mantained.</p>
+<table border="0">
+ <tr>
+ <td>
+ <form>
+ <input type="button" value="Stop Daemon" onClick="top.result.location.replace(getUwoboURL() + 'kill')"/>
+ </form>
+ </td>
+ </tr>
+</table>
+</div>
+
+<br />
<a name="queries"/>
<table border="0" width="100%" cellpadding="4" cellspacing="0">
<tr>
return value;
}
+function getInitialPort()
+{
+ return "68080";
+}
+
function getInitialProcessorURL()
{
- return getParam("processorURL", "http://phd.cs.unibo.it:8080/helm/servlet/uwobo/");
+ return getParam("processorURL", "http://localhost:58080/");
}
function getInitialGetterURL()
{
- return getParam("getterURL", "http://phd.cs.unibo.it:8081/");
+ return getParam("getterURL", "http://localhost:58081/");
}
function getUwoboURL()
if (ss.selectedIndex == 0) {
document.uwoboURL.elements[0].value = "";
} else {
- document.uwoboURL.elements[0].value = "http://" + ss.options[ss.selectedIndex].value + ":8080/helm/servlet/uwobo/";
+ document.uwoboURL.elements[0].value = "http://" + ss.options[ss.selectedIndex].value + ":58080/";
}
}
if (ss.selectedIndex == 0) {
document.getterURL.elements[0].value = "";
} else {
- document.getterURL.elements[0].value = "http://" + ss.options[ss.selectedIndex].value + ":8081/";
+ document.getterURL.elements[0].value = "http://" + ss.options[ss.selectedIndex].value + ":58081/";
}
}