public void run() {
errorSharedNotebooks = new ArrayList<String>();
errorSharedNotebooksIgnored = new HashMap<String,String>();
try {
logger.log(logger.EXTREME, "Starting thread");
conn = new DatabaseConnection(logger, dburl, indexUrl, resourceUrl, dbuid, dbpswd, dbcpswd, 200);
while(keepRunning) {
logger.log(logger.EXTREME, "Blocking until work is found");
String work = workQueue.take();
logger.log(logger.LOW, "Dirty Notes Before Sync: " +new Integer(conn.getNoteTable().getDirtyCount()).toString());
logger.log(logger.EXTREME, "Work found: " +work);