diff -r 608607749ac1 sdk/src/main/java/org/glassfish/tools/ide/server/FetchLogPiped.java --- a/sdk/src/main/java/org/glassfish/tools/ide/server/FetchLogPiped.java Thu Sep 20 17:52:32 2012 +0200 +++ b/sdk/src/main/java/org/glassfish/tools/ide/server/FetchLogPiped.java Fri Sep 21 11:43:47 2012 +0200 @@ -107,7 +107,7 @@ * @param skip Skip to the end of the log file. */ @SuppressWarnings("LeakingThisInConstructor") - FetchLogPiped(GlassFishServer server, boolean skip) { + FetchLogPiped(final GlassFishServer server, boolean skip) { super(server, skip); try { out = new PipedOutputStream((PipedInputStream)this.in); @@ -117,7 +117,17 @@ FetchLogException.OUTPUT_STREAM_EXCEPTION, ioe); } taksExecute = true; - executor = Executors.newFixedThreadPool(1); + executor = new ThreadPoolExecutor(1, 1, + 0L, TimeUnit.MILLISECONDS, + new LinkedBlockingQueue(), new ThreadFactory() { + + @Override + public Thread newThread(Runnable r) { + Thread t = new Thread(FetchLogPiped.class.getName() + server.getUrl()); + t.setDaemon(true); + return t; + } + }); task = executor.submit(this); }