name the addressbook thread

This commit is contained in:
zzz
2009-05-05 21:02:03 +00:00
parent 40637e0f28
commit 29fe221fe6

View File

@@ -54,9 +54,10 @@ public class Servlet extends GenericServlet {
args[0] = config.getInitParameter("home"); args[0] = config.getInitParameter("home");
DaemonThread thread = new DaemonThread(args); DaemonThread thread = new DaemonThread(args);
thread.setDaemon(true); thread.setDaemon(true);
thread.setName("Addressbook");
thread.start(); thread.start();
System.out.println("INFO: Starting Addressbook " + Daemon.VERSION); System.out.println("INFO: Starting Addressbook " + Daemon.VERSION);
System.out.println("INFO: config root under " + args[0]); System.out.println("INFO: config root under " + args[0]);
} }
} }