Changeset 2107
- Timestamp:
- 06/25/09 16:47:43 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Communication/3.2/WcfService.cs
r2102 r2107 252 252 253 253 #endregion 254 254 255 255 /// <summary> 256 256 /// Methods for sending the periodically Heartbeat … … 268 268 SendHeartBeatCompleted(sender, e); 269 269 else { 270 Logging.Instance.Error(this.ToString(), "Error: " + e.Result.StatusMessage); 270 try { 271 Logging.Instance.Error(this.ToString(), "Error: " + e.Result.StatusMessage); 272 } catch (Exception ex) { 273 Logging.Instance.Error(this.ToString(), "Error: ", ex); 274 } 271 275 HandleNetworkError(e.Error); 272 276 } -
trunk/sources/HeuristicLab.Hive.Client.Core/3.2/ConfigurationManager/ConfigManager.cs
r1755 r2107 29 29 using HeuristicLab.Hive.Client.Communication; 30 30 using HeuristicLab.Hive.Client.Core.Properties; 31 using HeuristicLab.Hive.Contracts; 31 32 32 33 namespace HeuristicLab.Hive.Client.Core.ConfigurationManager { … … 129 130 foreach (KeyValuePair<Guid, Executor> kvp in engines) { 130 131 Executor e = kvp.Value; 131 prog[e.JobId] = e.Progress; 132 if (!e.Running && e.CurrentMessage == MessageContainer.MessageType.NoMessage) 133 prog[e.JobId] = e.Progress; 132 134 } 133 135 } -
trunk/sources/HeuristicLab.Hive.Client.Core/3.2/JobStorage/JobStorageManager.cs
r2025 r2107 46 46 if (WcfService.Instance.ConnState == NetworkEnum.WcfConnState.Loggedin && (storedJobsList[index-1].ServerIP == WcfService.Instance.ServerIP && storedJobsList[index-1].ServerPort == WcfService.Instance.ServerPort)) { 47 47 String filename = storedJobsList[index-1].ServerIP + "." + storedJobsList[index-1].ServerPort + "." + storedJobsList[index-1].JobID.ToString(); 48 Logging.Instance.Info("JobStor rageManager", "Sending stored job " + storedJobsList[index - 1].JobID + " to the server");48 Logging.Instance.Info("JobStorageManager", "Sending stored job " + storedJobsList[index - 1].JobID + " to the server"); 49 49 try { 50 50 byte[] job = File.ReadAllBytes(path + filename + ".dat"); … … 54 54 Logging.Instance.Error("JobStorageManager", "sending of job failed: " + res.StatusMessage); 55 55 else 56 Logging.Instance.Info("JobStor rageManager", "Sending of job " + storedJobsList[index - 1].JobID + " done");56 Logging.Instance.Info("JobStorageManager", "Sending of job " + storedJobsList[index - 1].JobID + " done"); 57 57 } 58 58 ClientStatusInfo.JobsProcessed++; … … 61 61 } 62 62 catch (Exception e) { 63 Logging.Instance.Error("JobStor rageManager", "Job not on hdd but on list - deleting job from list", e);63 Logging.Instance.Error("JobStorageManager", "Job not on hdd but on list - deleting job from list", e); 64 64 storedJobsList.Remove(storedJobsList[index - 1]); 65 65 } … … 77 77 78 78 static JobStorageManager() { 79 Logging.Instance.Info("JobStor rageManager", "Restoring Joblist from Harddisk");79 Logging.Instance.Info("JobStorageManager", "Restoring Joblist from Harddisk"); 80 80 if (!Directory.Exists(path)) 81 81 Directory.CreateDirectory(path); … … 87 87 XmlTextReader reader = new XmlTextReader(stream); 88 88 storedJobsList = (List<JobStorageInfo>)serializer.Deserialize(reader); 89 Logging.Instance.Info("JobStor rageManager", "Loaded " + storedJobsList.Count + " Elements");89 Logging.Instance.Info("JobStorageManager", "Loaded " + storedJobsList.Count + " Elements"); 90 90 } 91 91 catch (Exception e) { 92 Logging.Instance.Error("JobStor rageManager", "Exception while loading the Stored Job List", e);92 Logging.Instance.Error("JobStorageManager", "Exception while loading the Stored Job List", e); 93 93 } 94 94 } else { 95 Logging.Instance.Info("JobStor rageManager", "no stored jobs on harddisk, starting new list");95 Logging.Instance.Info("JobStorageManager", "no stored jobs on harddisk, starting new list"); 96 96 storedJobsList = new List<JobStorageInfo>(); 97 97 } -
trunk/sources/HeuristicLab.Hive.Client.ExecutionEngine/3.2/Executor.cs
r1990 r2107 38 38 public MessageContainer.MessageType CurrentMessage { get; set; } 39 39 public MessageQueue Queue { get; set; } 40 40 41 public bool Running { 41 42 get { … … 43 44 } 44 45 } 46 45 47 public double Progress { 46 48 get {
Note: See TracChangeset
for help on using the changeset viewer.