You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by cw...@apache.org on 2013/01/08 20:30:48 UTC

svn commit: r1430454 [1/3] - in /uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp: etc/ root/ root/js/

Author: cwiklik
Date: Tue Jan  8 19:30:48 2013
New Revision: 1430454

URL: http://svn.apache.org/viewvc?rev=1430454&view=rev
Log:
UIMA-2491

Added:
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/etc/
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/ducc.css   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/index.html   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/index.jsp   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/job.details.html   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/job.details.jsp   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/jobs.html   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/jobs.jsp   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/js/
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/js/ducc.js   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/js/scroll-to-bottom.js   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/login.html   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/logout.html   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/reservations.html   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/reservations.jsp   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/service.details.html   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/service.details.jsp   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/services.definitions.html   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/services.definitions.jsp   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/services.deployments.html   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/services.deployments.jsp   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/site.jsp   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/submit.reservation.html   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.administration.html   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.administration.jsp   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.classes.html   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.classes.jsp   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.daemons.html   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.daemons.jsp   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.machines.html   (with props)
    uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.machines.jsp   (with props)

Added: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/ducc.css
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/ducc.css?rev=1430454&view=auto
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/ducc.css (added)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/ducc.css Tue Jan  8 19:30:48 2013
@@ -0,0 +1,184 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+      http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+*/
+body {
+}
+
+div.page {
+	width: 1200px;
+}
+
+#ui-datepicker-div {
+	font-size: 12px;
+}
+
+tr.ducc-head {
+	background-color:#6699ff;
+}
+
+tr.ducc-header {
+	color:white;
+	background-color:#996633;
+}
+
+th.ducc-col-terminate {
+	background-color:#ffffff;
+}
+
+tr.ducc-row-odd {
+	background-color:#ffffff;
+}
+
+tr.odd {
+	background-color:#ffffff;
+}
+
+tr.ducc-row-even {
+	background-color:#eeeeee;
+}
+
+tr.even {
+	background-color:#eeeeee;
+}
+
+td.ducc-col-terminate {
+	background-color:#ffffff;
+}
+
+img.submit {
+	cursor:pointer;
+}
+
+span.title {
+    color: black;
+}
+
+span.title_acronym {
+    color: blue;
+    font-weight: bold;
+}
+
+span.subtitle {
+    color: blue;
+    font-style: italic;
+}
+
+span.idtitle {
+    color: green;
+    font-style: italic;
+}
+
+h2.subtitle {
+    color: blue;
+    font-style: italic;
+}
+
+span.health_green {
+	color: green;
+}
+
+span.health_yellow {
+	color: #ff9900;
+}
+
+span.health_red {
+	color: red;
+}
+
+span.status_on {
+	color: green;
+	font-weight: bold;
+}
+
+span.status_off {
+	color: red;
+	font-weight: bold;
+}
+
+span.completed_state {
+	font-weight: bold;
+}
+
+span.active_state {
+	color: green;
+	font-weight: bold;
+}
+
+span.alert {
+	color: blue;
+	text-decoration: blink
+}
+
+span.message {
+	color: blue;
+}
+
+span.noshow {
+	display: none;
+}
+
+tr.heading {
+	background-color: #ddddff;
+}
+
+table.heading {
+	width: 1200px;
+}
+
+#table_format div {
+	width: 100px;
+	height: 25px;
+	border: 1px solid #bbbbbb;
+	padding-left: 5px;
+	float: left;
+	background-color: #eeeeee;
+}
+
+.table_end {
+	clear: both;
+}
+
+
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * DataTables sorting
+ */
+
+.sorting_asc {
+	background: url('opensources/DataTables-1.9.1/media/images/sort_asc.png') no-repeat center right;
+}
+
+.sorting_desc {
+	background: url('opensources/DataTables-1.9.1/media/images/sort_desc.png') no-repeat center right;
+}
+
+.sorting {
+	background: url('opensources/DataTables-1.9.1/media/images/sort_both.png') no-repeat center right;
+}
+
+.sorting_asc_disabled {
+	background: url('opensources/DataTables-1.9.1/media/images/sort_asc_disabled.png') no-repeat center right;
+}
+
+.sorting_desc_disabled {
+	background: url('opensources/DataTables-1.9.1/mediaDataTables-1.9.1/media/images/sort_desc_disabled.png') no-repeat center right;
+}
+ 
+th:active {
+	outline: none;
+}
+

Propchange: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/ducc.css
------------------------------------------------------------------------------
    svn:eol-style = native

Added: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/index.html
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/index.html?rev=1430454&view=auto
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/index.html (added)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/index.html Tue Jan  8 19:30:48 2013
@@ -0,0 +1,29 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<html>
+<head>
+<script language="javascript">
+<!--
+location.replace("jobs.jsp"+location.search)
+//-->
+</script>
+</head>
+<body>
+</body>
+</html>

Propchange: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/index.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/index.jsp
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/index.jsp?rev=1430454&view=auto
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/index.jsp (added)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/index.jsp Tue Jan  8 19:30:48 2013
@@ -0,0 +1,26 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<html>
+<head>
+ <meta http-equiv="refresh" content="0;URL=jobs.html">
+ <link rel="shortcut icon" href="ducc.ico" />
+</head>
+<body>
+</body>
+</html>

Propchange: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/index.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/job.details.html
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/job.details.html?rev=1430454&view=auto
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/job.details.html (added)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/job.details.html Tue Jan  8 19:30:48 2013
@@ -0,0 +1,29 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<html>
+<head>
+<script language="javascript">
+<!--
+location.replace("job.details.jsp"+location.search)
+//-->
+</script>
+</head>
+<body>
+</body>
+</html>

Propchange: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/job.details.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/job.details.jsp
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/job.details.jsp?rev=1430454&view=auto
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/job.details.jsp (added)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/job.details.jsp Tue Jan  8 19:30:48 2013
@@ -0,0 +1,269 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<html>
+<head>
+  <link rel="shortcut icon" href="ducc.ico" />
+  <title>ducc-mon</title>
+  <meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
+  <script src="opensources/jquery-1.4.2.js" type="text/javascript"></script>
+  <script src="opensources/jgrowl/jquery.jgrowl.js" type="text/javascript"></script>
+  <link rel="stylesheet" href="opensources/jgrowl/jquery.jgrowl.css" type="text/css"/>
+  <link href="opensources/jquery-ui-1.8.4/gallery/jquery-ui-themes-1.8.4/themes/redmond/jquery-ui.css" rel="stylesheet" type="text/css"/>
+  <script src="opensources/jquery-ui-1.8.4/ui/minified/jquery-ui.min.js"></script>
+  <link href="opensources/navigation/menu.css" rel="stylesheet" type="text/css">
+  <script src="js/ducc.js"></script>
+  <script type="text/javascript" src="opensources/sorttable.js"></script>
+  <link href="ducc.css" rel="stylesheet" type="text/css">
+  <script type="text/javascript">
+	$(function() {
+		$("#tabs").tabs();
+	});
+  </script>
+  
+</head>
+<body onload="ducc_init('job-details');">
+
+<table>
+<tr>
+<td>
+<table class="heading">
+<!-- *********************** row *************************** -->
+<tr class="heading">
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+    <div>
+    <ul id="accordion">
+	  <li><a href="jobs.html">Jobs</a></li>
+	  <ul></ul>
+	  <li><a href="reservations.html">Reservations</a></li>
+	  <ul></ul>
+	  <li>Services</li>
+	  <ul>
+	  <li><a href="services.definitions.html">Definitions</a></li>
+	  <li><a href="services.deployments.html">Deployments</a></li>
+	  </ul>
+	  <li>System</li>
+	  <ul>
+	  <li><a href="system.administration.html">Administration</a></li>
+	  <li><a href="system.classes.html">Classes</a></li>
+	  <li><a href="system.daemons.html">Daemons</a></li>
+	  <li><a href="system.duccbook.html" target="_duccbook">DuccBook</a></li>
+	  <li><a href="system.machines.html">Machines</a></li>
+	  </ul>
+	  <%@ include file="site.jsp" %>
+    </ul>
+    </div>
+</td>
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<div id="refreshbutton">
+<input type="image" onClick="ducc_refresh('job-details')" title="Refresh" alt="Refresh" src="opensources/images/1284662827_refresh.png">
+</div>
+<br>
+<table>
+<tr>
+<td align="left">
+<form name="duccform">
+<fieldset>
+<legend>Refresh</legend>
+<input type="radio" name="refresh" value="manual"    checked onClick="ducc_put_cookie('ducc_refresh_mode','manual'   )" /> Manual
+<br>
+<input type="radio" name="refresh" value="automatic"         onClick="ducc_put_cookie('ducc_refresh_mode','automatic')" /> Automatic
+</fieldset>
+</form>
+</table>
+</td>
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<h2>
+<span class="idtitle" id="identity"></span>
+</h2>
+<form name="form_selectors">
+<table>
+<tr>
+<td valign="top" align="right">Updated:
+<td valign="top"><span class="timestamptitle" id="timestamp_area"></span>
+<tr>
+<td valign="top" align="right">Authentication:
+<td valign="top"><span class="authenticationtitle" id="authentication_area">?</span>
+<!--
+<tr>
+<td valign="top" align="right">Max Records:
+<td valign="top"><input type="text" size="8" id="maxrecs_input" value="default">
+<tr>
+<td valign="top" align="right">
+<select id="users_select">
+<option value="active+include">active+include</option>
+<option value="active+exclude">active+exclude</option>
+<option value="include">include</option>
+<option value="exclude">exclude</option>
+</select>
+Users:
+<td valign="top"><input type="text" size="16" id="users_input" value="default">
+-->
+<tr>
+<td>
+<input type="hidden" id="users_select_input" value="default">
+</table>
+</form>
+</td>
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<h2><span class="subtitle">Job Details</span></h2>
+<img src="opensources/images/120px-Anas_platyrhynchos_-United_Kingdom_-adult_female_and_ducklings-8.jpg" style="border:3px solid #ffff7a" alt="logo">
+</td>
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<table>
+<tr>
+<td valign="middle" align="right">
+<span id="login_link_area"></span>
+ |
+<span id="logout_link_area"><a href="logout.html" onclick="var newWin = window.open(this.href,'child','height=600,width=475,scrollbars'); newWin.focus(); return false;">Logout</a></span>
+ |
+<span id="duccbook_link_area"></span><a href="system.duccbook.html" target="_duccbook">DuccBook</a>
+<tr>
+<td valign="middle" align="center">
+<div>
+<br>
+<h2><span class="title">ducc-mon</span></h2>
+<span class="title_acronym">D</span><span class="title">istributed</span>
+<span class="title_acronym">U</span><span class="title">IMA</span>
+<span class="title_acronym">C</span><span class="title">luster</span>
+<span class="title_acronym">C</span><span class="title">omputing</span>
+<span class="title_acronym">Mon</span><span class="title">itor</span>
+<br>
+<i>Version: <span class="version" id="version"></span></i>
+<br>
+<br>
+<table>
+<tr>
+<td valign="middle" align="left">
+<small>Copyright &copy 2012 The Apache Software Foundation</small>
+<tr>
+<td valign="middle" align="left">
+<small>Copyright &copy 2011, 2012 International Business Machines Corporation</small>
+</table>
+</div> 
+</table>
+<br>
+</td>
+</table>
+<!-- *********************** row ************************ -->
+<tr>
+<td>
+<table class="body">
+<tr>
+<td valign="middle" colspan="5">
+<span id="job_workitems_count_area"></span>
+<tr>
+<td valign="middle" colspan="5">
+&nbsp
+<tr>
+<td valign="middle" colspan="5">
+
+		<div id="tabs"> 
+		<ul>
+			<li><a href="#tabs-1">Processes</a></li>
+			<li><a href="#tabs-2">Work Items</a></li>
+			<li><a href="#tabs-3">Performance</a></li>
+			<li><a href="#tabs-4">Specification</a></li>
+		</ul>
+			<div id="tabs-1">
+				<table>
+   	    			<caption><b>Processes List</b><br><i><small>click column heading to sort</small></i></caption>
+   	   				<tr>
+        			<td>
+      	  				<table class="sortable">
+						<thead>
+						<tr class="ducc-head">
+						<th title="The system assigned id for this process" class="sorttable_numeric">Id</th>
+						<th title="The log file name associated with this process">Log</th>
+						<th title="The log file size, in MB">Size</th>
+						<th title="The host for this process">Host<br>Name</th>
+						<!--
+						<th title="The host IP for this process">Host<br>ip</th>
+						-->
+						<th title="The OS assigned PID for this process"class="sorttable_numeric">PID</th>
+						<th title="Process scheduling state">State<br>Scheduler</th>
+						<th title="Process scheduling reason (for scheduling state)">Reason<br>Scheduler<br><small>or extraordinary status</small></th>
+						<th title="Process agent state">State<br>Agent</th>
+						<th title="Process agent reason (for agent state)">Reason<br>Agent</th>
+						<th title="Process initialization time, hh:mm:ss">Time<br>Init</th>
+						<th title="Process run time (not including process initialization time), hh:mm:ss">Time<br>Run</th>
+						<th title="Process total time spent performing garbage collections, hh:mm:ss">Time<br>GC</th>
+						<th title="Process total number of garbage collections that have occurred">Count<br>GC</th>
+						<th title="Process percentage of time spent in garbage collections, relative to total of initialization + run times">%GC</th>
+						<th title="Cumulative CPU time, hh:mm:ss">CPU</th>
+						<th title="Resident Storage Size, as a percentage of process memory requirement in job specification">%RSS</th>
+						<th title="Average seconds per work item">Time<br>Avg</th>
+						<th title="Maximum seconds for any work item">Time<br>Max</th>
+						<th title="Minimum seconds for any work item">Time<br>Min</th>
+						<th title="The number of work items that completed successfully">Done</th>
+						<th title="The number of work items that failed to complete successfully">Error</th>
+						<th title="The number of work items that were retried, excluding preemptions">Retry</th>
+						<th title="The number of work items that were preempted">Pre-<br>empt</th>
+						<th title="The JConsole URL for this process">JConsole<br>URL</th>
+						</tr>
+						</thead>
+						<tbody id="processes_list_area">
+   	  					</tbody>
+		 		 		</table>
+   	    		</table>
+			</div>
+			<div id="tabs-2">
+				<table>
+   	    			<caption><b>Work Items List</b><br><i><small>click column heading to sort</small></i></caption>
+   	    			<tr>
+        			<td>
+      	  			<table class="sortable">
+						<thead>
+						<tr class="ducc-head">
+						<th title="The system assigned work item sequence number" class="sorttable_numeric">SeqNo</th>
+						<th title="The user assigned work item identity">Id</th>
+						<th title="The work item status, normally operating or ended">Status</th>
+						<th title="The approx. number of seconds elapsed between work item (a) queued for processing and (b) dequeued for start of processing" class="sorttable_numeric">Queuing Time (sec)</th>
+						<th title="The approx. number of seconds elapsed between work item (a) dequeued for start of processing and (b) end of processing" class="sorttable_numeric">Processing Time (sec)</th>
+						<th title="The node for the work item, by address">Node (IP)</th>
+						<th title="The node for the work item, by name">Node (Name)</th>
+						<th title="The PID for the work item" class="sorttable_numeric">PID</th>
+						</tr>
+						</thead>
+						<tbody id="workitems_data_area">
+   	  					</tbody>
+			  			</table>
+   	    		</table>
+			</div>
+			<div id="tabs-3">
+				<div class="performance_data_div">
+   					<span id="performance_data_area"></span>
+   				</div>
+			</div>
+			<div id="tabs-4">
+   				<div class="specification_data_div">
+   					<span id="specification_data_area"></span>
+   				</div>
+			</div>
+		</div>
+</td>
+</table>
+</table>
+<script src="opensources/navigation/menu.js"></script>
+</body>
+</html>

Propchange: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/job.details.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/jobs.html
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/jobs.html?rev=1430454&view=auto
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/jobs.html (added)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/jobs.html Tue Jan  8 19:30:48 2013
@@ -0,0 +1,29 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<html>
+<head>
+<script language="javascript">
+<!--
+location.replace("jobs.jsp"+location.search)
+//-->
+</script>
+</head>
+<body>
+</body>
+</html>

Propchange: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/jobs.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/jobs.jsp
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/jobs.jsp?rev=1430454&view=auto
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/jobs.jsp (added)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/jobs.jsp Tue Jan  8 19:30:48 2013
@@ -0,0 +1,208 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<html>
+<head>
+  <link rel="shortcut icon" href="ducc.ico" />
+  <title>ducc-mon</title>
+  <meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
+  <script src="opensources/jquery-1.4.2.js" type="text/javascript"></script>
+  <script src="opensources/jgrowl/jquery.jgrowl.js" type="text/javascript"></script>
+  <link rel="stylesheet" href="opensources/jgrowl/jquery.jgrowl.css" type="text/css"/>
+  <link href="opensources/jquery-ui-1.8.4/gallery/jquery-ui-themes-1.8.4/themes/redmond/jquery-ui.css" rel="stylesheet" type="text/css"/>
+  <script src="opensources/jquery-ui-1.8.4/ui/minified/jquery-ui.min.js"></script>
+  <link href="opensources/navigation/menu.css" rel="stylesheet" type="text/css">
+  <script src="js/ducc.js"></script>
+  <script type="text/javascript" src="opensources/sorttable.js"></script>
+  <link href="ducc.css" rel="stylesheet" type="text/css">
+  <script src="opensources/cluetip/jquery.cluetip.js" type="text/javascript"></script>
+  <link href="opensources/cluetip/jquery.cluetip.css" rel="stylesheet" type="text/css">
+</head>
+<body onload="ducc_init('jobs');">
+
+<table>
+<tr>
+<td>
+<table class="heading">
+<!-- *********************** row *************************** -->
+<tr class="heading">
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+    <div>
+    <ul id="accordion">
+	  <li><a href="jobs.html">Jobs</a></li>
+	  <ul></ul>
+	  <li><a href="reservations.html">Reservations</a></li>
+	  <ul></ul>
+	  <li>Services</li>
+	  <ul>
+	  <li><a href="services.definitions.html">Definitions</a></li>
+	  <li><a href="services.deployments.html">Deployments</a></li>
+	  </ul>
+	  <li>System</li>
+	  <ul>
+	  <li><a href="system.administration.html">Administration</a></li>
+	  <li><a href="system.classes.html">Classes</a></li>
+	  <li><a href="system.daemons.html">Daemons</a></li>
+	  <li><a href="system.duccbook.html" target="_duccbook">DuccBook</a></li>
+	  <li><a href="system.machines.html">Machines</a></li>
+	  </ul>
+      <%@ include file="site.jsp" %>
+    </ul>
+    </div>
+</td>
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<div id="refreshbutton">
+<input type="image" onClick="ducc_refresh('jobs')" title="Refresh" alt="Refresh" src="opensources/images/1284662827_refresh.png">
+</div>
+<br>
+<table>
+<tr>
+<td align="left">
+<form name="duccform">
+<fieldset>
+<legend>Refresh</legend>
+<input type="radio" name="refresh" value="manual"    checked onClick="ducc_put_cookie('ducc_refresh_mode','manual'   )" /> Manual
+<br>
+<input type="radio" name="refresh" value="automatic"         onClick="ducc_put_cookie('ducc_refresh_mode','automatic')" /> Automatic
+</fieldset>
+</form>
+</table>
+</td>
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<h2>
+<span class="idtitle" id="identity"></span>
+</h2>
+<form name="form_selectors">
+<table>
+<tr>
+<td valign="top" align="right">Updated:
+<td valign="top"><span class="timestamptitle" id="timestamp_area"></span>
+<tr>
+<td valign="top" align="right">Authentication:
+<td valign="top"><span class="authenticationtitle" id="authentication_area">?</span>
+<tr>
+<td valign="top" align="right">Max Records:
+<td valign="top"><input type="text" size="8" id="maxrecs_input" value="default">
+<tr>
+<td valign="top" align="right">
+<select id="users_select">
+<option value="active+include">active+include</option>
+<option value="active+exclude">active+exclude</option>
+<option value="include">include</option>
+<option value="exclude">exclude</option>
+</select>
+Users:
+<td valign="top"><input type="text" size="16" id="users_input" value="default">
+<tr>
+<td>
+<input type="hidden" id="users_select_input" value="default">
+</table>
+</form>
+</td>
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<h2><span class="subtitle">Jobs</span></h2>
+<img src="opensources/images/ts-2.0x1.3.jpeg" style="border:3px solid #ffff7a" alt="logo">
+</td>
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<table>
+<tr>
+<td valign="middle" align="right">
+<span id="login_link_area"></span>
+ |
+<span id="logout_link_area"><a href="logout.html" onclick="var newWin = window.open(this.href,'child','height=600,width=475,scrollbars'); newWin.focus(); return false;">Logout</a></span>
+ |
+<span id="duccbook_link_area"></span><a href="system.duccbook.html" target="_duccbook">DuccBook</a>
+<tr>
+<td valign="middle" align="center">
+<div>
+<br>
+<h2><span class="title">ducc-mon</span></h2>
+<span class="title_acronym">D</span><span class="title">istributed</span>
+<span class="title_acronym">U</span><span class="title">IMA</span>
+<span class="title_acronym">C</span><span class="title">luster</span>
+<span class="title_acronym">C</span><span class="title">omputing</span>
+<span class="title_acronym">Mon</span><span class="title">itor</span>
+<br>
+<i>Version: <span class="version" id="version"></span></i>
+<br>
+<br>
+<table>
+<tr>
+<td valign="middle" align="left">
+<small>Copyright &copy 2012 The Apache Software Foundation</small>
+<tr>
+<td valign="middle" align="left">
+<small>Copyright &copy 2011, 2012 International Business Machines Corporation</small>
+</table>
+</div> 
+</table>
+<br>
+</td>
+</table>
+<!-- *********************** row ************************ -->
+<tr>
+<td>
+<table class="body">
+<tr>
+<td valign="middle" align="center" colspan="5">
+&nbsp
+<tr>
+<td valign="middle" align="center" colspan="5">
+   	    <table>
+   	    <caption><b>Jobs List</b><br><i><small>click column heading to sort</small></i></caption>
+   	    <tr>
+        <td>
+      	  <table class="sortable">
+			<thead>
+			<tr class="ducc-head">
+			<th class="ducc-col-terminate"></th>
+			<th title="The system assigned id for this job" class="sorttable_numeric">Id</th>
+			<th title="The time this job was submitted">Start</th>
+			<th title="The time this job was finished (or the projected time until finish if presently running)">End</th>
+			<th title="The user who submitted this job">User</th>
+			<th title="The user specified class of this job">Class</th>
+			<th title="The current state of this job">State</th>
+			<th title="The reason for the final state of this job, normally EndOfJob; or extraordinary runtime status">Reason<br><small>or extraordinary status</small></th>
+			<th title="The number of job processes currently running">Proc-<br>esses</th>
+			<th title="The number of job processes that failed during initialization">Init<br>Fails</th>
+			<th title="The number of job processes that failed during runtime (post-initialization)">Run<br>Fails</th>
+			<th title="Each job process size, in GB">Size</th>
+			<th title="The total number of work items for this job">Total</th>
+			<th title="The number of work items that completed successfully">Done</th>
+			<th title="The number of work items that failed to complete successfully">Error</th>
+			<th title="The number of work items currently dispatched (queued+operating)">Dis-<br>patch</th>
+			<th title="The number of work items that were retried, excluding preemptions">Retry</th>
+			<th title="Tne number of work items that were preempted">Pre-<br>empt</th>
+			<th title="The user specified description of this job">Description</th>
+			</tr>
+			</thead>
+			<tbody id="jobs_list_area">
+   	  		</tbody>
+		  </table>
+   	    </table>
+</td>
+</table>
+</table>
+<script src="opensources/navigation/menu.js"></script>
+</body>
+</html>

Propchange: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/jobs.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/js/ducc.js
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/js/ducc.js?rev=1430454&view=auto
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/js/ducc.js (added)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/js/ducc.js Tue Jan  8 19:30:48 2013
@@ -0,0 +1,2010 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements.  See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership.  The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License.  You may obtain a copy of the License at
+* 
+*      http://www.apache.org/licenses/LICENSE-2.0
+* 
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied.  See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*/
+/*!
+ * ducc.js
+ */
+
+var oTable;
+
+function ducc_cluetips() {
+	$('a.logfileLink').cluetip('destroy');
+	$('a.logfileLink').cluetip({
+		width: '600px',
+	    attribute: 'href',
+	    activation: 'click',
+	    sticky: true,
+	    closePosition: 'title',
+  		closeText: '<img src="opensources/cluetip/cross.png" alt="close" />',
+	    mouseOutClose: true
+	  });
+}
+
+function toggleById(id) {
+   	$("#"+id).toggle();
+}
+
+function ducc_error(loc, err)
+{
+	var txt;
+	txt="There was an error on this page.\n\n";
+	txt+="Error location: " + loc + "\n\n";
+	txt+="Error description: " + err.message + "\n\n";
+	txt+="Click OK to continue.\n\n";
+	alert(txt);
+}
+
+function ducc_identity()
+{
+	try {
+		$.ajax(
+		{
+			url : "/ducc-servlet/cluster-name",
+			success : function (data) 
+			{
+				$("#identity").html(data);
+				$(document).attr("title", "ducc-mon: "+data);
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_identity",err);
+	}
+}
+
+function ducc_version()
+{
+	try {
+		$.ajax(
+		{
+			url : "/ducc-servlet/version",
+			success : function (data) 
+			{
+				$("#version").html(data);
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_version",err);
+	}
+}
+
+function ducc_authenticator_version()
+{
+	try {
+		$.ajax(
+		{
+			url : "/ducc-servlet/authenticator-version",
+			success : function (data) 
+			{
+				$("#authenticator_version_area").html(data);
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_authenticator_version",err);
+	}
+}
+
+function ducc_links()
+{
+	try {
+		$.ajax(
+		{
+			url : "/ducc-servlet/login-link",
+			success : function (data) 
+			{
+				$("#login_link_area").html(data);
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_links",err);
+	}
+}
+
+function ducc_timestamp()
+{
+	try {
+		$.ajax(
+		{
+			url : "/ducc-servlet/timestamp",
+			success : function (data) 
+			{
+				$("#timestamp_area").html(data);
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_timestamp",err);
+	}
+}
+
+function ducc_authentication()
+{
+	try {
+		$.ajax(
+		{
+			url : "/ducc-servlet/authentication-status",
+			success : function (data) 
+			{
+				$("#authentication_area").html(data);
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_authentication",err);
+	}
+}
+
+function ducc_init_common()
+{
+	try {
+		data = "...?"
+		$("authenticator_version_area").html(data);
+		data = "...?"
+		$("#timestamp_area").html(data);
+		data = "...?"
+		$("#authentication_area").html(data);
+	}
+	catch(err) {
+		ducc_error("ducc_init_common",err);
+	}
+}
+
+function ducc_load_common()
+{
+	try {
+		ducc_authenticator_version()
+		ducc_timestamp();
+		ducc_authentication();
+	}
+	catch(err) {
+		ducc_error("ducc_load_common",err);
+	}
+}
+
+function ducc_load_jobs_data()
+{
+	try {
+		$.ajax(
+		{
+			url : "/ducc-servlet/jobs-data",
+			success : function (data) 
+			{
+				$("#jobs_list_area").html(data);
+				ducc_cluetips();
+				ducc_timestamp();
+				ducc_authentication();
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_load_jobs_data",err);
+	}	
+}
+
+function ducc_init_jobs_data()
+{
+	try {
+		data = "<img src=\"../images/ajax-loader.gif\" alt=\"waiting...\">"
+		$("#jobs_list_area").html(data);
+		data = "...?"
+		$("#timestamp_area").html(data);
+		data = "...?"
+		$("#authentication_area").html(data);
+	}
+	catch(err) {
+		ducc_error("ducc_init_jobs_data",err);
+	}	
+}
+
+function ducc_load_services_definitions_data()
+{
+	try {
+		ducc_timestamp();
+		ducc_authentication();
+		//oTable.fnClearTable();
+		oTable.fnReloadAjax();
+	}
+	catch(err) {
+		ducc_error("ducc_load_services_definitions_data",err);
+	}
+}
+
+function ducc_init_services_definitions_data()
+{
+	try {
+		data = "<img src=\"../images/ajax-loader.gif\" alt=\"waiting...\">"
+		data = "...?"
+		$("#timestamp_area").html(data);
+		data = "...?"
+		$("#authentication_area").html(data);
+	}
+	catch(err) {
+		ducc_error("ducc_init_services_definitions_data",err);
+	}
+}
+
+function ducc_load_services_deployments_data()
+{
+	try {
+		$.ajax(
+		{
+			url : "/ducc-servlet/services-deployments-data",
+			success : function (data) 
+			{
+				$("#services_list_area").html(data);
+				ducc_timestamp();
+				ducc_authentication();
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_load_services_deployments_data",err);
+	}	
+}
+
+function ducc_init_services_deployments_data()
+{
+	try {
+		data = "<img src=\"../images/ajax-loader.gif\" alt=\"waiting...\">"
+		$("#services_list_area").html(data);
+		data = "...?"
+		$("#timestamp_area").html(data);
+		data = "...?"
+		$("#authentication_area").html(data);
+	}
+	catch(err) {
+		ducc_error("ducc_init_services_deployments_data",err);
+	}	
+}
+
+function ducc_init_job_workitems_count_data()
+{
+	try {
+		data = "<img src=\"../images/ajax-loader.gif\" alt=\"waiting...\">"
+		$("#job_workitems_count_area").html(data);
+	}
+	catch(err) {
+		ducc_error("ducc_init_job_workitems_count_data",err);
+	}
+}
+
+function ducc_load_job_workitems_count_data()
+{
+	try {
+		server_url= "/ducc-servlet/job-workitems-count-data"+location.search;;
+		$.ajax(
+		{
+			url : server_url,
+			success : function (data) 
+			{
+				$("#job_workitems_count_area").html(data);
+				hide_show();
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_load_job_workitems_count_data",err);
+	}	
+}
+
+function ducc_init_job_workitems_data()
+{
+	try {
+		data = "<img src=\"../images/ajax-loader.gif\" alt=\"waiting...\">"
+		$("#workitems_data_area").html(data);
+	}
+	catch(err) {
+		ducc_error("ducc_init_job_workitems_data",err);
+	}
+}
+
+function ducc_load_job_workitems_data()
+{
+	try {
+		server_url= "/ducc-servlet/job-workitems-data"+location.search;
+		$.ajax(
+		{
+			url : server_url,
+			success : function (data) 
+			{
+				$("#workitems_data_area").html(data);
+				hide_show();
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_load_job_workitems_data",err);
+	}	
+}
+
+function ducc_init_job_performance_data()
+{
+	try {
+		data = "<img src=\"../images/ajax-loader.gif\" alt=\"waiting...\">"
+		$("#performance_data_area").html(data);
+	}
+	catch(err) {
+		ducc_error("ducc_init_job_performance_data",err);
+	}
+}
+
+function ducc_load_job_performance_data()
+{
+	try {
+		server_url= "/ducc-servlet/job-performance-data"+location.search;
+		$.ajax(
+		{
+			url : server_url,
+			success : function (data) 
+			{
+				$("#performance_data_area").html(data);
+				hide_show();
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_load_job_performance_data",err);
+	}	
+}
+
+function ducc_init_job_specification_data()
+{
+	try {
+		data = "<img src=\"../images/ajax-loader.gif\" alt=\"waiting...\">"
+		$("#specification_data_area").html(data);
+	}
+	catch(err) {
+		ducc_error("ducc_init_job_specification_data",err);
+	}
+}
+
+function ducc_load_job_specification_data()
+{
+	try {
+		server_url= "/ducc-servlet/job-specification-data"+location.search;
+		$.ajax(
+		{
+			url : server_url,
+			success : function (data) 
+			{
+				$("#specification_data_area").html(data);
+				hide_show();
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_load_job_specification_data",err);
+	}	
+}
+
+function ducc_load_service_specification_data()
+{
+	try {
+		server_url= "/ducc-servlet/service-specification-data"+location.search;
+		$.ajax(
+		{
+			url : server_url,
+			success : function (data) 
+			{
+				$("#specification_data_area").html(data);
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_load_service_specification_data",err);
+	}
+}
+
+function hide_show() {
+	var c_value = ducc_get_cookie("classpathdata");
+	if(c_value == null) {
+		c_value = "hide";
+	}
+	if(c_value == "hide") {
+		$('div.showdata').hide();
+			$('div.hidedata').show();
+	}
+	if(c_value == "show") {
+		$('div.showdata').show();
+			$('div.hidedata').hide();
+	}
+	$('#showbutton0').click(function(){
+		$('div.showdata').show();
+		$('div.hidedata').hide();
+		ducc_put_cookie("classpathdata","show")
+	});
+	$('#hidebutton0').click(function(){
+		$('div.showdata').hide();
+		$('div.hidedata').show();
+		ducc_put_cookie("classpathdata","hide")
+	});
+	$('#showbutton1').click(function(){
+		$('div.showdata').show();
+		$('div.hidedata').hide();
+		ducc_put_cookie("classpathdata","show")
+	});
+	$('#hidebutton1').click(function(){
+		$('div.showdata').hide();
+		$('div.hidedata').show();
+		ducc_put_cookie("classpathdata","hide")
+	});
+}
+
+function ducc_load_job_processes_data()
+{
+	try {
+		server_url= "/ducc-servlet/job-processes-data"+location.search;
+		$.ajax(
+		{
+			url : server_url,
+			success : function (data) 
+			{
+				$("#processes_list_area").html(data);
+				hide_show();
+     			ducc_timestamp();
+				ducc_authentication();
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_load_job_processes_data",err);
+	}
+}
+
+function ducc_init_job_processes_data()
+{
+	try {
+		data = "<img src=\"../images/ajax-loader.gif\" alt=\"waiting...\">"
+		$("#processes_list_area").html(data);
+		data = "...?"
+		$("#timestamp_area").html(data);
+		data = "...?"
+		$("#authentication_area").html(data);
+	}
+	catch(err) {
+		ducc_error("ducc_init_job_processes_data",err);
+	}
+}
+
+function ducc_load_service_details_data()
+{
+	try {
+		server_url= "/ducc-servlet/service-processes-data"+location.search;
+		$.ajax(
+		{
+			url : server_url,
+			success : function (data) 
+			{
+				$("#processes_list_area").html(data);
+				hide_show();
+     			ducc_timestamp();
+				ducc_authentication();
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_load_service_details_data",err);
+	}
+}
+
+function ducc_init_service_details_data()
+{
+	try {
+		data = "<img src=\"../images/ajax-loader.gif\" alt=\"waiting...\">"
+		$("#processes_list_area").html(data);
+		data = "...?"
+		$("#timestamp_area").html(data);
+		data = "...?"
+		$("#authentication_area").html(data);
+	}
+	catch(err) {
+		ducc_error("ducc_init_service_details_data",err);
+	}		
+}
+
+function ducc_load_machines_data()
+{
+	try {
+		ducc_timestamp();
+		ducc_authentication();
+		//oTable.fnClearTable();
+		oTable.fnReloadAjax();
+	}
+	catch(err) {
+		ducc_error("ducc_load_machines_data",err);
+	}
+}
+
+function ducc_init_machines_data()
+{
+	try {
+		data = "<img src=\"../images/ajax-loader.gif\" alt=\"waiting...\">"
+		data = "...?"
+		$("#timestamp_area").html(data);
+		data = "...?"
+		$("#authentication_area").html(data);
+	}
+	catch(err) {
+		ducc_error("ducc_init_machines_data",err);
+	}
+}
+
+function ducc_load_legacy_machines_data()
+{
+	try {
+		$.ajax(
+		{
+			url : "/ducc-servlet/machines-data",
+			success : function (data) 
+			{
+				$("#machines_list_area").html(data);
+				ducc_timestamp();
+				ducc_authentication();
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_load_legacy_machines_data",err);
+	}			
+}
+
+function ducc_init_legacy_machines_data()
+{
+	try {
+		data = "<img src=\"../images/ajax-loader.gif\" alt=\"waiting...\">"
+		$("#machines_list_area").html(data);
+		data = "...?"
+		$("#timestamp_area").html(data);
+		data = "...?"
+		$("#authentication_area").html(data);
+	}
+	catch(err) {
+		ducc_error("ducc_init_legacy_machines_data",err);
+	}	
+}
+
+function ducc_load_reservations_data()
+{
+	try {
+		$.ajax(
+		{
+			url : "/ducc-servlet/reservations-data",
+			success : function (data) 
+			{
+				$("#reservations_list_area").html(data);
+				ducc_timestamp();
+				ducc_authentication();
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_load_reservations_data",err);
+	}
+}
+
+function ducc_init_reservations_data()
+{
+	try {
+		data = "<img src=\"../images/ajax-loader.gif\" alt=\"waiting...\">"
+		$("#reservations_list_area").html(data);
+		data = "...?"
+		$("#timestamp_area").html(data);
+		data = "...?"
+		$("#authentication_area").html(data);
+	}
+	catch(err) {
+		ducc_error("ducc_init_reservations_data",err);
+	}
+}
+
+function ducc_load_reservation_scheduling_classes()
+{
+	try {
+		$.ajax(
+		{
+			url : "/ducc-servlet/reservation-scheduling-classes",
+			success : function (data) 
+			{
+				$("#scheduling_class_area").html(data);
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_load_reservation_scheduling_classes",err);
+	}
+}
+
+function ducc_load_reservation_instance_memory_sizes()
+{
+	try {
+		$.ajax(
+		{
+			url : "/ducc-servlet/reservation-instance-memory-sizes",
+			success : function (data) 
+			{
+				$("#instance_memory_sizes_area").html(data);
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_load_reservation_instance_memory_sizes",err);
+	}
+}
+
+function ducc_load_reservation_instance_memory_units()
+{
+	try {
+		$.ajax(
+		{
+			url : "/ducc-servlet/reservation-instance-memory-units",
+			success : function (data) 
+			{
+				$("#instance_memory_units_area").html(data);
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_load_reservation_instance_memory_units",err);
+	}
+}
+
+function ducc_load_reservation_number_of_instances()
+{
+	try {
+		$.ajax(
+		{
+			url : "/ducc-servlet/reservation-number-of-instances",
+			success : function (data) 
+			{
+				$("#number_of_instances_area").html(data);
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_load_reservation_number_of_instances",err);
+	}		
+}
+
+function ducc_load_reservation_submit_button()
+{
+	try {
+		$.ajax(
+		{
+			url : "/ducc-servlet/reservation-get-submit-button",
+			success : function (data) 
+			{
+				$("#reservation_submit_button_area").html(data);
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_load_reservation_submit_button",err);
+	}			
+}
+
+function ducc_load_submit_reservation_data()
+{
+	try {
+		ducc_load_reservation_scheduling_classes();
+		ducc_load_reservation_instance_memory_sizes();
+		ducc_load_reservation_instance_memory_units();
+		ducc_load_reservation_number_of_instances();
+		ducc_load_reservation_submit_button();
+		ducc_timestamp();
+		ducc_authentication();
+	}
+	catch(err) {
+		ducc_error("ducc_load_submit_reservation_data",err);
+	}			
+}
+
+function ducc_init_submit_reservation_data()
+{
+	try {
+		data = "...?"
+		$("#timestamp_area").html(data);
+		data = "...?"
+		$("#authentication_area").html(data);
+	}
+	catch(err) {
+		ducc_error("ducc_init_submit_reservation_data",err);
+	}	
+}
+
+function ducc_load_job_form()
+{
+	try {
+		$.ajax(
+		{
+			url : "/ducc-servlet/job-submit-form",
+			success : function (data) 
+			{
+				$("#job_submit_form_area").html(data);
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_load_job_form",err);
+	}		
+}
+
+function ducc_load_job_submit_button()
+{
+	try {
+		$.ajax(
+		{
+			url : "/ducc-servlet/job-get-submit-button",
+			success : function (data) 
+			{
+				$("#job_submit_button_area").html(data);
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_load_job_submit_button",err);
+	}	
+}
+
+function ducc_load_submit_job_data()
+{
+	try {
+		ducc_load_job_form();
+		ducc_load_job_submit_button();
+		ducc_timestamp();
+		ducc_authentication();
+	}
+	catch(err) {
+		ducc_error("ducc_load_submit_job_data",err);
+	}
+}
+
+function ducc_init_submit_job_data()
+{
+	try {
+		data = "...?"
+		$("#timestamp_area").html(data);
+		data = "...?"
+		$("#authentication_area").html(data);
+	}
+	catch(err) {
+		ducc_error("ducc_init_submit_job_data",err);
+	}
+}
+
+function ducc_load_system_administration_data()
+{
+	try {
+		$.ajax(
+		{
+			url : "/ducc-servlet/system-admin-admin-data",
+			success : function (data) 
+			{
+				$("#system_administration_administrators_area").html(data);
+				ducc_timestamp();
+				ducc_authentication();
+			}
+		});
+		$.ajax(
+		{
+			url : "/ducc-servlet/system-admin-control-data",
+			success : function (data) 
+			{
+				$("#system_administration_control_area").html(data);
+				ducc_timestamp();
+				ducc_authentication();
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_load_system_administration_data",err);
+	}
+}
+
+function ducc_init_system_administration_data()
+{
+	try {
+		data = "<img src=\"../images/ajax-loader.gif\" alt=\"waiting...\">"
+		$("#system_administration_administrators_area").html(data);
+		data = "<img src=\"../images/ajax-loader.gif\" alt=\"waiting...\">"
+		$("#system_administration_quiesce_area").html(data);
+		data = "...?"
+		$("#timestamp_area").html(data);
+		data = "...?"
+		$("#authentication_area").html(data);
+	}
+	catch(err) {
+		ducc_error("ducc_init_system_administration_data",err);
+	}
+}
+
+function ducc_load_system_classes_data()
+{
+	try {
+		ducc_timestamp();
+		ducc_authentication();
+		//oTable.fnClearTable();
+		oTable.fnReloadAjax();
+	}
+	catch(err) {
+		ducc_error("ducc_load_system_classes_data",err);
+	}
+}
+
+function ducc_init_system_classes_data()
+{
+	try {
+		data = "<img src=\"../images/ajax-loader.gif\" alt=\"waiting...\">"
+		data = "...?"
+		$("#timestamp_area").html(data);
+		data = "...?"
+		$("#authentication_area").html(data);
+	}
+	catch(err) {
+		ducc_error("ducc_init_system_classes_data",err);
+	}
+}
+
+function ducc_load_system_daemons_data()
+{
+	try {
+		ducc_timestamp();
+		ducc_authentication();
+		//oTable.fnClearTable();
+		oTable.fnReloadAjax();
+	}
+	catch(err) {
+		ducc_error("ducc_load_system_daemons_data",err);
+	}
+}
+
+function ducc_init_system_daemons_data()
+{
+	try {
+		data = "<img src=\"../images/ajax-loader.gif\" alt=\"waiting...\">"
+		data = "...?"
+		$("#timestamp_area").html(data);
+		data = "...?"
+		$("#authentication_area").html(data);
+	}
+	catch(err) {
+		ducc_error("ducc_init_system_daemons_data",err);
+	}
+}
+
+function ducc_init(type)
+{
+	try {
+		ducc_identity();
+		ducc_version();
+		ducc_links();
+		ducc_cookies();
+		if(type == "jobs") {
+			$(document).keypress(function(e) {
+  			if(e.which == 13) {
+    			ducc_jobs_page();
+  			}
+			});
+			ducc_init_jobs_data();
+			ducc_load_jobs_data();
+		}
+		if(type == "services-definitions") {
+			$(document).keypress(function(e) {
+  			if(e.which == 13) {
+    			ducc_services_definitions_page();
+  			}
+			});
+			ducc_init_services_definitions_data();
+			ducc_load_services_definitions_data();
+		}
+		if(type == "services-deployments") {
+			$(document).keypress(function(e) {
+  			if(e.which == 13) {
+    			ducc_services_deployments_page();
+  			}
+			});
+			ducc_init_services_deployments_data();
+			ducc_load_services_deployments_data();
+		}
+		if(type == "job-details") {
+			ducc_init_job_workitems_count_data();
+			ducc_init_job_processes_data();
+			ducc_init_job_workitems_data();
+			ducc_init_job_performance_data();
+			ducc_init_job_specification_data();
+			ducc_load_job_workitems_count_data();
+			ducc_load_job_specification_data();
+			ducc_load_job_workitems_data();
+			ducc_load_job_performance_data();
+			ducc_load_job_processes_data();
+		}
+		if(type == "service-details") {
+			ducc_init_service_details_data();
+			ducc_load_service_details_data();
+			ducc_load_service_specification_data();
+		}
+		if(type == "system-machines") {
+			ducc_init_machines_data();
+			ducc_load_machines_data();
+		}
+		if(type == "legacy-machines") {
+			ducc_init_legacy_machines_data();
+			ducc_load_legacy_machines_data();
+		}
+		if(type == "reservations") {
+			$(document).keypress(function(e) {
+  			if(e.which == 13) {
+    			ducc_reservations_page();
+  			}
+			});
+			ducc_init_reservations_data();
+			ducc_load_reservations_data();
+		}
+		if(type == "submit-reservation") {
+			ducc_init_submit_reservation_data();
+			ducc_load_submit_reservation_data();
+		}
+		if(type == "submit-job") {
+			ducc_init_submit_job_data();
+			ducc_load_submit_job_data();
+		}
+		if(type == "system-administration") {
+			ducc_init_system_administration_data();
+			ducc_load_system_administration_data();
+		}
+		if(type == "system-classes") {
+			ducc_init_system_classes_data();
+			ducc_load_system_classes_data();
+		}
+		if(type == "system-daemons") {
+			ducc_init_system_daemons_data();
+			ducc_load_system_daemons_data();
+		}
+		if(type == "authentication-login") {
+			ducc_init_common();
+			ducc_load_common();
+			$(document).keypress(function(e) {
+  			if(e.which == 13) {
+    			ducc_submit_login();
+  			}
+			});
+		}
+		if(type == "authentication-logout") {
+			ducc_init_common();
+			ducc_load_common();
+			$(document).keypress(function(e) {
+  			if(e.which == 13) {
+    			ducc_logout();
+  			}
+			});
+		}
+		ducc_timed_loop(type);
+	}
+	catch(err) {
+		ducc_error("ducc_init",err);
+	}
+}
+
+function ducc_cookies()
+{
+	try {
+		var c_value = ducc_get_cookie("ducc_refresh_mode");
+		if(c_value == "automatic") {
+			document.duccform.refresh[0].checked = false;
+			document.duccform.refresh[1].checked = true;
+		}
+	}
+	catch(err) {
+		ducc_error("ducc_cookies",err);
+	}		
+}
+
+function ducc_appl(name)
+{
+	try {
+		var appl = "ducc:";
+		return appl+name;
+	}
+	catch(err) {
+		ducc_error("ducc_appl",err);
+	}	
+}
+
+function ducc_jobs_max_records() 
+{
+	try {
+		var d_value = "16";
+		var x_value = "1";
+		var y_value = "4096";
+		var jobsmax = ducc_appl("jobsmax");
+		//
+		var c_value = ducc_get_cookie(jobsmax);
+		var r_value = document.form_selectors.maxrecs_input.value;
+		if(c_value == null) {
+			c_value = d_value;
+			ducc_put_cookie(jobsmax,c_value);
+			document.form_selectors.maxrecs_input.value = c_value;
+			return;
+		}
+		if(r_value == "default") {
+			document.form_selectors.maxrecs_input.value = c_value;
+			//$.jGrowl(" max records: "+c_value);
+			return;
+		}
+		//
+		n_value = 1*r_value;
+		if(isNaN(n_value)) {
+			document.form_selectors.maxrecs_input.value = c_value;
+			$.jGrowl(" max records, invalid: "+r_value);
+			return;
+		}
+		r_value = 1*r_value;
+		x_value = 1*x_value;
+		y_value = 1*y_value;
+		if(r_value < x_value) {
+			$.jGrowl(" max records, too small: "+r_value+" < "+x_value);
+			document.form_selectors.maxrecs_input.value = c_value;
+			return;
+		}
+		if(r_value > y_value) {
+			$.jGrowl(" max records, too large: "+r_value+" > "+y_value);
+			document.form_selectors.maxrecs_input.value = c_value;
+			return;
+		}
+		//
+		if(c_value != r_value) {
+			c_value = r_value;
+			ducc_put_cookie(jobsmax,c_value);
+			document.form_selectors.maxrecs_input.value = c_value;
+			$.jGrowl(" max records: "+c_value);
+			return;
+		}
+	}
+	catch(err) {
+		throw err;
+		//ducc_error("ducc_jobs_max_records",err);
+	}		
+}
+
+function ducc_jobs_users_qualifier() 
+{
+	try {
+		var jobsusersqualifier = ducc_appl("jobsusersqualifier");
+		var d_value = "active+include";
+		var c_value = ducc_get_cookie(jobsusersqualifier);
+		if(c_value == null) {
+			c_value = d_value;
+			ducc_put_cookie(jobsusersqualifier,c_value);
+			document.form_selectors.users_select.value = c_value;
+			document.form_selectors.users_select_input.value = c_value;
+			return;
+		}
+		var r_value = document.form_selectors.users_select_input.value;
+		if(r_value == "default") {
+			document.form_selectors.users_select.value = c_value;
+			document.form_selectors.users_select_input.value = c_value;
+			return;
+		}
+		var r_value = document.form_selectors.users_select.value;
+		if(c_value != r_value) {
+			c_value = r_value;
+			ducc_put_cookie(jobsusersqualifier,c_value);
+			document.form_selectors.users_select.value = c_value;
+			document.form_selectors.users_select_input.value = c_value;
+			$.jGrowl(" qualifier: "+c_value);
+			return;
+		}
+		return;
+	}
+	catch(err) {
+		throw err;
+		//ducc_error("ducc_jobs_users_qualifier",err);
+	}	
+}
+
+function ducc_jobs_users() 
+{
+	try {
+		var jobsusers = ducc_appl("jobsusers");
+		var d_value = "";
+		var c_value = ducc_get_cookie(jobsusers);
+		var r_value = document.form_selectors.users_input.value;
+		if(c_value == null) {
+			c_value = d_value;
+			ducc_put_cookie(jobsusers,c_value);
+			document.form_selectors.users_input.value = c_value;
+			return;
+		}
+		if(r_value == "default") {
+			document.form_selectors.users_input.value = c_value;
+			return;
+		}
+		if(c_value != r_value) {
+			c_value = r_value;
+			ducc_put_cookie(jobsusers,c_value);
+			document.form_selectors.users_input.value = c_value;
+			$.jGrowl(" users: "+c_value);
+			return;
+		}
+		return;
+	}
+	catch(err) {
+		throw err;
+		//ducc_error("ducc_jobs_users",err);
+	}	
+}
+
+function ducc_jobs_page() 
+{
+	ducc_jobs_max_records();
+	ducc_jobs_users();
+	ducc_jobs_users_qualifier();
+	ducc_load_jobs_data();
+}
+
+function ducc_services_max_records() 
+{
+	try {
+		var d_value = "16";
+		var x_value = "1";
+		var y_value = "4096";
+		var servicesmax = ducc_appl("servicesmax");
+		//
+		var c_value = ducc_get_cookie(servicesmax);
+		var r_value = document.form_selectors.maxrecs_input.value;
+		if(c_value == null) {
+			c_value = d_value;
+			ducc_put_cookie(servicesmax,c_value);
+			document.form_selectors.maxrecs_input.value = c_value;
+			return;
+		}
+		if(r_value == "default") {
+			document.form_selectors.maxrecs_input.value = c_value;
+			//$.jGrowl(" max records: "+c_value);
+			return;
+		}
+		//
+		n_value = 1*r_value;
+		if(isNaN(n_value)) {
+			document.form_selectors.maxrecs_input.value = c_value;
+			$.jGrowl(" max records, invalid: "+r_value);
+			return;
+		}
+		r_value = 1*r_value;
+		x_value = 1*x_value;
+		y_value = 1*y_value;
+		if(r_value < x_value) {
+			$.jGrowl(" max records, too small: "+r_value+" < "+x_value);
+			document.form_selectors.maxrecs_input.value = c_value;
+			return;
+		}
+		if(r_value > y_value) {
+			$.jGrowl(" max records, too large: "+r_value+" > "+y_value);
+			document.form_selectors.maxrecs_input.value = c_value;
+			return;
+		}
+		//
+		if(c_value != r_value) {
+			c_value = r_value;
+			ducc_put_cookie(servicesmax,c_value);
+			document.form_selectors.maxrecs_input.value = c_value;
+			$.jGrowl(" max records: "+c_value);
+			return;
+		}
+	}
+	catch(err) {
+		throw err;
+		//ducc_error("ducc_services_max_records",err);
+	}		
+}
+
+function ducc_services_users_qualifier() 
+{
+	try {
+		var servicesusersqualifier = ducc_appl("servicesusersqualifier");
+		var d_value = "active+include";
+		var c_value = ducc_get_cookie(servicesusersqualifier);
+		if(c_value == null) {
+			c_value = d_value;
+			ducc_put_cookie(servicesusersqualifier,c_value);
+			document.form_selectors.users_select.value = c_value;
+			document.form_selectors.users_select_input.value = c_value;
+			return;
+		}
+		var r_value = document.form_selectors.users_select_input.value;
+		if(r_value == "default") {
+			document.form_selectors.users_select.value = c_value;
+			document.form_selectors.users_select_input.value = c_value;
+			return;
+		}
+		var r_value = document.form_selectors.users_select.value;
+		if(c_value != r_value) {
+			c_value = r_value;
+			ducc_put_cookie(servicesusersqualifier,c_value);
+			document.form_selectors.users_select.value = c_value;
+			document.form_selectors.users_select_input.value = c_value;
+			$.jGrowl(" qualifier: "+c_value);
+			return;
+		}
+		return;
+	}
+	catch(err) {
+		throw err;
+		//ducc_error("ducc_services_users_qualifier",err);
+	}	
+}
+
+function ducc_services_users() 
+{
+	try {
+		var servicesusers = ducc_appl("servicesusers");
+		var d_value = "";
+		var c_value = ducc_get_cookie(servicesusers);
+		var r_value = document.form_selectors.users_input.value;
+		if(c_value == null) {
+			c_value = d_value;
+			ducc_put_cookie(servicesusers,c_value);
+			document.form_selectors.users_input.value = c_value;
+			return;
+		}
+		if(r_value == "default") {
+			document.form_selectors.users_input.value = c_value;
+			return;
+		}
+		if(c_value != r_value) {
+			c_value = r_value;
+			ducc_put_cookie(servicesusers,c_value);
+			document.form_selectors.users_input.value = c_value;
+			$.jGrowl(" users: "+c_value);
+			return;
+		}
+		return;
+	}
+	catch(err) {
+		throw err;
+		//ducc_error("ducc_services_users",err);
+	}	
+}
+
+function ducc_services_definitions_page() 
+{
+	ducc_services_max_records();
+	ducc_services_users();
+	ducc_services_users_qualifier();
+	ducc_load_services_definitions_data();
+}
+
+function ducc_services_deployments_page() 
+{
+	ducc_services_max_records();
+	ducc_services_users();
+	ducc_services_users_qualifier();
+	ducc_load_services_deployments_data();
+}
+
+function ducc_reservations_max_records() 
+{
+	try {
+		var d_value = "16";
+		var x_value = "1";
+		var y_value = "4096";
+		var reservationsmax = ducc_appl("reservationsmax");
+		//
+		var c_value = ducc_get_cookie(reservationsmax);
+		var r_value = document.form_selectors.maxrecs_input.value;
+		if(c_value == null) {
+			c_value = d_value;
+			ducc_put_cookie(reservationsmax,c_value);
+			document.form_selectors.maxrecs_input.value = c_value;
+			return;
+		}
+		if(r_value == "default") {
+			document.form_selectors.maxrecs_input.value = c_value;
+			//$.jGrowl(" max records: "+c_value);
+			return;
+		}
+		//
+		n_value = 1*r_value;
+		if(isNaN(n_value)) {
+			document.form_selectors.maxrecs_input.value = c_value;
+			$.jGrowl(" max records, invalid: "+r_value);
+			return;
+		}
+		r_value = 1*r_value;
+		x_value = 1*x_value;
+		y_value = 1*y_value;
+		if(r_value < x_value) {
+			$.jGrowl(" max records, too small: "+r_value+" < "+x_value);
+			document.form_selectors.maxrecs_input.value = c_value;
+			return;
+		}
+		if(r_value > y_value) {
+			$.jGrowl(" max records, too large: "+r_value+" > "+y_value);
+			document.form_selectors.maxrecs_input.value = c_value;
+			return;
+		}
+		//
+		if(c_value != r_value) {
+			c_value = r_value;
+			ducc_put_cookie(reservationsmax,c_value);
+			document.form_selectors.maxrecs_input.value = c_value;
+			$.jGrowl(" max records: "+c_value);
+			return;
+		}
+	}
+	catch(err) {
+		throw err;
+		//ducc_error("ducc_reservations_max_records",err);
+	}		
+}
+
+function ducc_reservations_users_qualifier() 
+{
+	try {
+		var reservationsusersqualifier = ducc_appl("reservationsusersqualifier");
+		var d_value = "active+include";
+		var c_value = ducc_get_cookie(reservationsusersqualifier);
+		if(c_value == null) {
+			c_value = d_value;
+			ducc_put_cookie(reservationsusersqualifier,c_value);
+			document.form_selectors.users_select.value = c_value;
+			document.form_selectors.users_select_input.value = c_value;
+			return;
+		}
+		var r_value = document.form_selectors.users_select_input.value;
+		if(r_value == "default") {
+			document.form_selectors.users_select.value = c_value;
+			document.form_selectors.users_select_input.value = c_value;
+			return;
+		}
+		var r_value = document.form_selectors.users_select.value;
+		if(c_value != r_value) {
+			c_value = r_value;
+			ducc_put_cookie(reservationsusersqualifier,c_value);
+			document.form_selectors.users_select.value = c_value;
+			document.form_selectors.users_select_input.value = c_value;
+			$.jGrowl(" qualifier: "+c_value);
+			return;
+		}
+		return;
+	}
+	catch(err) {
+		throw err;
+		//ducc_error("ducc_reservations_users_qualifier",err);
+	}	
+}
+
+function ducc_reservations_users() 
+{
+	try {
+		var reservationsusers = ducc_appl("reservationsusers");
+		var d_value = "";
+		var c_value = ducc_get_cookie(reservationsusers);
+		var r_value = document.form_selectors.users_input.value;
+		if(c_value == null) {
+			c_value = d_value;
+			ducc_put_cookie(reservationsusers,c_value);
+			document.form_selectors.users_input.value = c_value;
+			return;
+		}
+		if(r_value == "default") {
+			document.form_selectors.users_input.value = c_value;
+			return;
+		}
+		if(c_value != r_value) {
+			c_value = r_value;
+			ducc_put_cookie(reservationsusers,c_value);
+			document.form_selectors.users_input.value = c_value;
+			$.jGrowl(" users: "+c_value);
+			return;
+		}
+		return;
+	}
+	catch(err) {
+		throw err;
+		//ducc_error("ducc_reservations_users",err);
+	}	
+}
+
+function ducc_reservations_page() 
+{
+	ducc_reservations_max_records();
+	ducc_reservations_users();
+	ducc_reservations_users_qualifier();
+	ducc_load_reservations_data();
+}
+
+function ducc_refresh(type)
+{
+	try {
+		if(type == "jobs") {
+			ducc_jobs_page();
+		}
+		if(type == "services-definitions") {
+			ducc_services_definitions_page();
+		}
+		if(type == "services-deployments") {
+			ducc_services_deployments_page();
+		}
+		if(type == "reservations") {
+			ducc_reservations_page();
+		}
+		for (var i=0; i < document.duccform.refresh.length; i++) {
+			if (document.duccform.refresh[i].checked) {
+				c_value = document.duccform.refresh[i].value;
+				if( c_value == "automatic") {
+					if(type == "jobs") {
+						ducc_load_jobs_data();
+					}
+					if(type == "services-definitions") {
+						ducc_load_services_definitions_data();
+					}
+					if(type == "services-deployments") {
+						ducc_load_services_deployments_data();
+					}
+					if(type == "reservations") {
+						ducc_load_reservations_data();
+					}
+					if(type == "job-details") {
+						//ducc_load_job_specification_data();
+						ducc_load_job_performance_data();
+						ducc_load_job_workitems_data();
+						ducc_load_job_processes_data();
+						ducc_load_job_workitems_count_data();
+					}
+					if(type == "service-details") {
+						//ducc_load_service_specification_data();
+						ducc_load_service_details_data();
+					}
+					if(type == "system-machines") {
+						ducc_load_machines_data();
+					}
+					if(type == "legacy-machines") {
+						ducc_load_legacy_machines_data();
+					}
+					if(type == "system-administration") {
+						ducc_load_system_administration_data();
+					}
+					if(type == "system-daemons") {
+						ducc_load_system_daemons_data();
+					}
+					if(type == "system-classes") {
+						ducc_load_system_classes_data();
+					}
+				}
+			}
+		}
+	}
+	catch(err) {
+		ducc_error("ducc_refresh",err);
+	}			
+}
+
+function ducc_timed_loop(type) {
+	try {
+		tid = setTimeout(function(){ducc_timed_loop(type); type = null},30000); // again
+		var c_value = ducc_get_cookie("ducc_refresh_mode");
+		if(c_value == "automatic") {
+			ducc_refresh(type);
+		}
+	}
+	catch(err) {
+		ducc_error("ducc_timed_loop",err);
+	}		
+}
+
+function ducc_terminate_job(id)
+{	
+	try {
+		$.jGrowl(" Pending termination...");
+		$.ajax(
+		{
+			type: 'POST',
+			url : "/ducc-servlet/job-cancel-request"+"?id="+id,
+			success : function (data) 
+			{
+			setTimeout(function(){window.close();}, 5000);
+			}
+		});
+		setTimeout(function(){window.close();}, 5000);
+	}
+	catch(err) {
+		ducc_error("ducc_terminate_job",err);
+	}	
+	return false;
+}
+
+function ducc_terminate_service(id)
+{	
+	try {
+		$.jGrowl(" Pending termination...");
+		$.ajax(
+		{
+			type: 'POST',
+			url : "/ducc-servlet/service-cancel-request"+"?id="+id,
+			success : function (data) 
+			{
+				setTimeout(function(){window.close();}, 5000);
+			}
+		});
+		setTimeout(function(){window.close();}, 5000);
+	}
+	catch(err) {
+		ducc_error("ducc_terminate_service",err);
+	}
+	return false;
+}
+
+function ducc_terminate_reservation(id)
+{	
+	try {
+		$.jGrowl(" Pending termination...");
+		$.ajax(
+		{
+			type: 'POST',
+			url : "/ducc-servlet/reservation-cancel-request"+"?id="+id,
+			success : function (data) 
+			{
+				setTimeout(function(){window.close();}, 5000);
+			}
+		});
+		setTimeout(function(){window.close();}, 5000);
+	}
+	catch(err) {
+		ducc_error("ducc_terminate_reservation",err);
+	}
+	return false;
+}
+
+function ducc_confirm_accept_jobs()
+{
+	try {
+		var result=confirm("System to accept job submits?");
+		if (result==true) {
+  			ducc_accept_jobs();
+  		}
+	}
+	catch(err) {
+		ducc_error("ducc_confirm_accept_jobs",err);
+	}
+}
+
+function ducc_accept_jobs(id)
+{	
+	try {
+		$.jGrowl(" Pending jobs submit unblocking...");
+		$.ajax(
+		{
+			type: 'POST',
+			url : "/ducc-servlet/jobs-control-request"+"?type=accept",
+			success : function (data) 
+			{
+				setTimeout(function(){window.close();}, 5000);
+			}
+		});
+		setTimeout(function(){window.close();}, 5000);
+	}
+	catch(err) {
+		ducc_error("ducc_accept_jobs",err);
+	}
+	return false;
+}
+
+function ducc_confirm_block_jobs()
+{
+	var result=confirm("System to block job submits?");
+	if (result==true) {
+  		ducc_block_jobs();
+  	}
+}
+
+function ducc_block_jobs(id)
+{	
+	try {
+		$.jGrowl(" Pending jobs submit blocking...");
+		$.ajax(
+		{
+			type: 'POST',
+			url : "/ducc-servlet/jobs-control-request"+"?type=block",
+			success : function (data) 
+			{
+				setTimeout(function(){window.close();}, 5000);
+			}
+		});
+		setTimeout(function(){window.close();}, 5000);
+	}
+	catch(err) {
+		ducc_error("ducc_block_jobs",err);
+	}
+	return false;
+}
+
+function ducc_confirm_terminate_job(id)
+{
+	try {
+		var result=confirm("Terminate job "+id+"?");
+		if (result==true) {
+  			ducc_terminate_job(id);
+  		}
+  	}
+	catch(err) {
+		ducc_error("ducc_confirm_terminate_job",err);
+	}
+}
+
+function ducc_confirm_terminate_service(id)
+{
+	try {
+		var result=confirm("Terminate service "+id+"?");
+		if (result==true) {
+  			ducc_terminate_service(id);
+  		}
+	}
+	catch(err) {
+		ducc_error("ducc_confirm_terminate_service",err);
+	}	
+}
+
+function ducc_confirm_terminate_reservation(id)
+{
+	try {
+		var result=confirm("Terminate reservation "+id+"?");
+		if (result==true) {
+  			ducc_terminate_reservation(id);
+  		}
+	}
+	catch(err) {
+		ducc_error("ducc_confirm_terminate_reservation",err);
+	}	
+}
+
+function ducc_logout()
+{
+	try {
+		$.jGrowl(" Pending logout...");
+		$.ajax(
+		{
+			url : "/ducc-servlet/user-logout",
+			success : function (data) 
+			{
+				setTimeout(function(){window.close();}, 5000);
+			}
+		});
+		setTimeout(function(){window.close();}, 5000);
+	}
+	catch(err) {
+		ducc_error("ducc_logout",err);
+	}	
+	return false;
+}
+
+function ducc_cancel_logout()
+{
+  	try {
+  		window.close();
+  	}
+	catch(err) {
+		ducc_error("ducc_cancel_logout",err);
+	}	
+}
+
+function ducc_submit_login()
+{
+	try {
+  		var url = document.forms[1].action;
+  		var userid = document.forms[1].userid.value
+  		var password = document.forms[1].password.value
+  		$.jGrowl(" Pending login...");
+  		$.ajax({
+           type: "POST",
+           url: url,
+           data: $("#login").serialize(), // serializes the form's elements.
+           success: function(data)
+           {
+               result = data.split(",");
+               if(result[0] == "success") {
+               		//$.jGrowl(" "+result[1]+"="+result[2]);
+               		//$.jGrowl(" "+result[3]+"="+result[4]);
+               		ducc_put_cookie(result[1],result[2]);
+               		ducc_put_cookie(result[3],result[4]);
+               		$.jGrowl(" "+"login success", { theme: 'jGrowl-success' });
+               		setTimeout(function(){window.close();}, 5000);
+               }
+               else {
+               		$.jGrowl(" "+"login failed", { theme: 'jGrowl-error' });
+               		$.jGrowl(" "+data, { life: 15000 });
+               		setTimeout(function(){window.close();}, 15000);
+               }
+           }
+       	});
+  	}
+	catch(err) {
+		ducc_error("ducc_submit_login",err);
+	}		
+	return false;
+}
+
+function ducc_cancel_login()
+{
+	try {
+  		window.close();
+  	}
+	catch(err) {
+		ducc_error("ducc_cancel_login",err);
+	}	
+}
+
+function ducc_cancel_submit_reservation()
+{
+	try {
+  		window.close();
+  	}
+	catch(err) {
+		ducc_error("ducc_cancel_submit_reservation",err);
+	}	
+}
+
+function ducc_confirm_submit_job()
+{
+	try {
+		var result=confirm("Submit?");
+		if (result==true) {
+  			ducc_submit_job();
+  			alert("Request sent");
+  			window.close();
+  		}
+   	}
+	catch(err) {
+		ducc_error("ducc_confirm_submit_job",err);
+	}	 		
+}
+
+function ducc_submit_job()
+{
+	try {
+		var e = document.getElementById("description");
+		var description = e.value;
+		var e = document.getElementById("jvm");
+		var jvm = e.value;
+		var e = document.getElementById("scheduling_class");
+		var scheduling_class = e.value;
+		var e = document.getElementById("log_directory");
+		var log_directory = e.value;
+		var e = document.getElementById("working_directory");
+		var working_directory = e.value;
+		var e = document.getElementById("driver_jvm_args");
+		var driver_jvm_args = e.value;
+		var e = document.getElementById("driver_classpath");
+		var driver_classpath = e.value;
+		var e = document.getElementById("driver_environment");
+		var driver_environment = e.value;
+		var e = document.getElementById("driver_memory_size");
+		var driver_memory_size = e.value;
+		var e = document.getElementById("driver_descriptor_CR");
+		var driver_descriptor_CR = e.value;
+		var e = document.getElementById("driver_descriptor_CR_overrides");
+		var driver_descriptor_CR_overrides = e.value;
+		var e = document.getElementById("process_jvm_args");
+		var process_jvm_args = e.value;
+		var e = document.getElementById("process_classpath");
+		var process_classpath = e.value;
+		var e = document.getElementById("process_environment");
+		var process_environment = e.value;
+		var e = document.getElementById("process_memory_size");
+		var process_memory_size = e.value;
+		var e = document.getElementById("process_descriptor_CM");
+		var process_descriptor_CM = e.value;
+		var e = document.getElementById("process_descriptor_AE");
+		var process_descriptor_AE = e.value;
+		var e = document.getElementById("process_descriptor_CC");
+		var process_descriptor_CC = e.value;
+		var e = document.getElementById("process_deployments_max");
+		var process_deployments_max = e.value;
+		var e = document.getElementById("process_deployments_min");
+		var process_deployments_min = e.value;
+		var e = document.getElementById("process_thread_count");
+		var process_thread_count = e.value;
+		var e = document.getElementById("process_get_meta_time_max");
+		var process_get_meta_time_max = e.value;
+		var e = document.getElementById("process_per_item_time_max");
+		var process_per_item_time_max = e.value;
+		$.ajax(
+		{
+			type: 'POST',
+			url : "/ducc-servlet/job-submit-request",
+			data: {'description':description,
+			   'jvm':jvm,
+			   'scheduling_class':scheduling_class,
+			   'log_directory':log_directory,
+			   'working_directory':working_directory,
+			   'driver_jvm_args':driver_jvm_args,
+			   'driver_classpath':driver_classpath,
+			   'driver_environment':driver_environment,
+			   'driver_memory_size':driver_memory_size,
+			   'driver_descriptor_CR':driver_descriptor_CR,
+			   'driver_descriptor_CR_overrides':driver_descriptor_CR_overrides,
+			   'process_jvm_args':process_jvm_args,
+			   'process_classpath':process_classpath,
+			   'process_environment':process_environment,
+			   'process_memory_size':process_memory_size,
+			   'process_descriptor_CM':process_descriptor_CM,
+			   'process_descriptor_AE':process_descriptor_AE,
+			   'process_descriptor_CC':process_descriptor_CC,
+			   'process_deployments_max':process_deployments_max,
+			   'process_deployments_min':process_deployments_min,
+			   'process_thread_count':process_thread_count,
+			   'process_get_meta_time_max':process_get_meta_time_max,
+			   'process_per_item_time_max':process_per_item_time_max,
+			  },
+			success : function (data) 
+			{
+				alert('success');
+			}
+		});
+	}
+	catch(err) {
+		ducc_error("ducc_submit_job",err);
+	}		
+}
+
+function ducc_cancel_submit_job()
+{
+  	try {
+  		window.close();
+  	}
+	catch(err) {
+		ducc_error("ducc_cancel_submit_job",err);
+	}	
+}
+
+function ducc_submit_reservation()
+{
+	try {
+		var e = document.getElementById("scheduling_class");
+		var scheduling_class = e.options[e.selectedIndex].value;
+		var e = document.getElementById("instance_memory_size");
+		var instance_memory_size = e.options[e.selectedIndex].value;
+		var e = document.getElementById("instance_memory_units");
+		var instance_memory_units = e.options[e.selectedIndex].value;
+		var e = document.getElementById("number_of_instances");
+		var number_of_instances = e.options[e.selectedIndex].value;
+		var e = document.getElementById("description");
+		var description = e.value;
+		$.jGrowl(" Pending allocation...");
+		$.ajax(
+		{
+			type: 'POST',
+			url : "/ducc-servlet/reservation-submit-request",
+			data: {'scheduling_class':scheduling_class,'instance_memory_size':instance_memory_size,'instance_memory_units':instance_memory_units,'number_of_instances':number_of_instances,'description':description},
+			success : function (data) 
+			{
+				setTimeout(function(){window.close();}, 5000);
+			}
+		});
+		setTimeout(function(){window.close();}, 5000);
+	}
+	catch(err) {
+		ducc_error("ducc_submit_reservation",err);
+	}		
+	return false;
+}
+
+function ducc_put_cookie(name,value)
+{
+	try {
+		var days = 365*31;
+		ducc_put_cookie_timed(name,value,days);
+	}
+	catch(err) {
+		ducc_error("ducc_put_cookie",err);
+	}	
+}
+
+function ducc_put_cookie_timed(name,value,days) 
+{
+	try {
+		if (days) {
+			var date = new Date();
+			date.setTime(date.getTime()+(days*24*60*60*1000));
+			var expires = "; expires="+date.toGMTString();
+		}
+		else var expires = "";
+		document.cookie = name+"="+value+expires+"; path=/";
+	}
+	catch(err) {
+		ducc_error("ducc_put_cookie_timed",err);
+	}	
+}
+
+function ducc_get_cookie(name) 
+{
+	var cookie = null;
+	try {
+		var nameEQ = name + "=";
+		var ca = document.cookie.split(';');
+		for(var i=0;i < ca.length;i++) {
+			var c = ca[i];
+			while (c.charAt(0)==' ') c = c.substring(1,c.length);
+			if (c.indexOf(nameEQ) == 0) {
+				cookie = c.substring(nameEQ.length,c.length);
+				break;
+			}
+		}
+	}
+	catch(err) {
+		ducc_error("ducc_get_cookie",err);
+	}	
+	return cookie;
+}
+
+function ducc_remove_cookie(name) 
+{
+	try {
+		ducc_put_cookie(name,"",-1);
+	}
+	catch(err) {
+		ducc_error("ducc_remove_cookie",err);
+	}	
+}
+
+$.fn.dataTableExt.oApi.fnReloadAjax = function ( oSettings, sNewSource, fnCallback, bStandingRedraw )
+{
+    if ( typeof sNewSource != 'undefined' && sNewSource != null )
+    {
+        oSettings.sAjaxSource = sNewSource;
+    }
+    this.oApi._fnProcessingDisplay( oSettings, true );
+    var that = this;
+    var iStart = oSettings._iDisplayStart;
+    var aData = [];
+
+    this.oApi._fnServerParams( oSettings, aData );
+
+    oSettings.fnServerData( oSettings.sAjaxSource, aData, function(json) {
+        /* Clear the old information from the table */
+        that.oApi._fnClearTable( oSettings );
+
+        /* Got the data - add it to the table */
+        var aData =  (oSettings.sAjaxDataProp !== "") ?
+            that.oApi._fnGetObjectDataFn( oSettings.sAjaxDataProp )( json ) : json;
+
+        for ( var i=0 ; i<aData.length ; i++ )
+        {
+            that.oApi._fnAddData( oSettings, aData[i] );
+        }
+
+        oSettings.aiDisplay = oSettings.aiDisplayMaster.slice();
+        that.fnDraw();
+
+        if ( typeof bStandingRedraw != 'undefined' && bStandingRedraw === true )
+        {
+            oSettings._iDisplayStart = iStart;
+            that.fnDraw( false );
+        }
+
+        that.oApi._fnProcessingDisplay( oSettings, false );
+
+        /* Callback user function - for event handlers etc */
+        if ( typeof fnCallback == 'function' && fnCallback != null )
+        {
+            fnCallback( oSettings );
+        }
+    }, oSettings );
+}

Propchange: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/js/ducc.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/js/scroll-to-bottom.js
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/js/scroll-to-bottom.js?rev=1430454&view=auto
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/js/scroll-to-bottom.js (added)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/js/scroll-to-bottom.js Tue Jan  8 19:30:48 2013
@@ -0,0 +1,36 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements.  See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership.  The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License.  You may obtain a copy of the License at
+* 
+*      http://www.apache.org/licenses/LICENSE-2.0
+* 
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied.  See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*/
+var x;
+function autoscroll(){
+self.scrollBy(0,x)
+}
+
+function playautoscroll(){
+x = 1000000000;
+setInterval('autoscroll()',0.01);
+stop();}
+
+function onetozero(){
+x=0;
+}
+
+function stop(){
+setTimeout ("onetozero()",5000);
+}
+window.onload=playautoscroll

Propchange: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/js/scroll-to-bottom.js
------------------------------------------------------------------------------
    svn:eol-style = native