Hello Bill, may be the following changes can help. I assume you are using java.util.logging.Logger
Bill Comer wrote: > Any ideas how this can be resolved ? > > thanks in advance. > Bill > > Below is a code snippet. > > public class BillTestServlet extends BaseServlet { > > private final Logger logger = > Logger.getLogger(BillTestServlet.class.getName()); > > public void init(ServletConfig servletConfig) throws ServletException { > super.init(servletConfig); > } > > public void doPost(HttpServletRequest req, HttpServletResponse > res) throws ServletException, > IOException { > doGet(req, res); > } > > /* > * This last string in this competition is a number > */ > public void doGet(HttpServletRequest req, HttpServletResponse res) > throws IOException { > > logger.info("before sleep"); > try { > DoSomethingThread doSomethingThread = new DoSomethingThread(); > doSomethingThread.start(); > } catch (Exception e) { > } > logger.info("after sleep"); > > acknowledge(res, "boo"); > } > > class DoSomethingThread extends Thread { > private final Logger localLogger = > Logger.getLogger(BillTestServlet.class.getName()); > > > public void run() { > localLogger.info("start run"); > try { > Thread.sleep(2000); > } catch (Exception e) { > } > localLogger.info("end run"); > } > } > } Regards Boris Extensions for java.util.logging http://www.x4juli.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]