---------------------------------------------------------------- BEFORE YOU POST, search the faq at <http://java.apache.org/faq/> WHEN YOU POST, include all relevant version numbers, log files, and configuration files. Don't make us guess your problem!!! ---------------------------------------------------------------- one of the problem with putting everything in the init() method is that MyStartupServlet will be initialised by jserv for more than once (sometimes 5 times, sometimes 7 times, etc...). is this normal? i know this from the jserv.log. the following is what came up from jserv.log: 17/11/2000 17:17:22:054 GMT+11:00] MyStartupServlet: init [17/11/2000 17:17:22:455 GMT+11:00] MyStartupServlet: init [17/11/2000 17:17:22:835 GMT+11:00] MyStartupServlet: init [17/11/2000 17:17:23:216 GMT+11:00] MyStartupServlet: init [17/11/2000 17:17:23:597 GMT+11:00] MyStartupServlet: init [17/11/2000 17:17:23:977 GMT+11:00] MyStartupServlet: init [17/11/2000 17:17:24:358 GMT+11:00] MyStartupServlet: init [17/11/2000 17:22:20:584 GMT+11:00] MyStartupServlet: init [17/11/2000 17:22:20:964 GMT+11:00] MyStartupServlet: init [17/11/2000 17:22:21:345 GMT+11:00] MyStartupServlet: init [17/11/2000 17:22:21:725 GMT+11:00] MyStartupServlet: init [17/11/2000 17:22:22:106 GMT+11:00] MyStartupServlet: init also, even if i put everything in the init() method, it is still not working. i still got the same problem. my TestClass was never loaded. i think this is jserv class loader problem. bugs???? regards, ferry What I see from your MyStartupServlet is that you do all the initialization in your class constructor. You should use the init method, that is beeing called by the servlet engine, when the servlet is loaded. Your problem probably arises at the time, when the class is loaded, becuase there is no connection to the webserver This should be the case later, wenn the servlet engine kicks the init method. This is a working example of such an init method... /** * Init while loading the Servlet */ public void init(ServletConfig config) throws ServletException { pool = PoolManager.getInstance(); } /** * Unload the Servlet */ public void destroy() { pool.release(); super.destroy(); } Hope this helps. Regards, Bruno -- -------------------------------------------------------------- Please read the FAQ! <http://java.apache.org/faq/> To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search Archives: <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/> Problems?: [EMAIL PROTECTED]