X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2FAWSThread.java;h=36e51c5c5d71fd1da02b2f9c2d13c11ab45d3bd0;hb=883754873d00b3c3d4a2bf9c96ef352d20fa4d72;hp=80918f9625924ab057f648d2ae24b787ec727e8b;hpb=f4766a7bbcfae845fc95923b01fa14ff83d589ff;p=jalview.git diff --git a/src/jalview/ws/AWSThread.java b/src/jalview/ws/AWSThread.java index 80918f9..36e51c5 100644 --- a/src/jalview/ws/AWSThread.java +++ b/src/jalview/ws/AWSThread.java @@ -116,9 +116,13 @@ public abstract class AWSThread extends Thread { StartJob(jobs[j]); } - + Cache.log.debug("Job " + jobs[j] + " is " + (jobs[j].submitted ? "submitted" : "not submitted")); if (jobs[j].submitted && !jobs[j].subjobComplete) { + jalview.bin.Cache.log.debug( + "Polling Job " + j + " Result state was:" + jobs[j].getState() + "(ServerError=" + jobs[j].isServerError() + + ")" + ); try { pollJob(jobs[j]); @@ -188,7 +192,7 @@ public abstract class AWSThread extends Thread Cache.log.debug("Interrupted sleep waiting for next job poll.", e); } - // System.out.println("I'm alive "+alTitle); + // System.out.println("I'm alive ?"); } } if (jobComplete && jobs != null) @@ -383,7 +387,7 @@ public abstract class AWSThread extends Thread .getCodonFrames(); if (cf != null) { - codonframe = new ArrayList(); + codonframe = new ArrayList<>(); codonframe.addAll(cf); } }