---------------------------------------------------------------- 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!!! ---------------------------------------------------------------- Hello, I am running Apache 1.3.9 and JServ 1.0 and gnujsp 1.0.0 on Windows NT Server 4.0. I am trying to get auto-relaoding of servlets to work. I read all of the FAQ info about not having servlets that you want reloaded anywhere in your system classpath. The reloading seems to work, but I want to tell apache not to reload the gnujsp servlet. I have the jar file contiaining this servlet listed in both my system classpath and in my jserv.properties as follows: wrapper.classpath=e:\program\apachegroup\ApacheJserv\gnujsp-1.0.0\lib\gnujsp 10.jar wrapper.classpath=e:\program\apachegroup\ApacheJserv\gnujsp-1.0.0\lib\servle t-2.0-plus.jar So, according to the FAQ, this servlet should not be reloaded, correct? But here is what I see in jserv.log when I try to change any of my servlets and have them reloaded: [23/02/2000 11:48:16:343 CST] Destroying Servlets [23/02/2000 11:48:16:343 CST] Destroying servlet display [23/02/2000 11:48:16:343 CST] Destroying servlet displaySuspended [23/02/2000 11:48:16:343 CST] displaySuspended/com.infoglide.batch.DisplaySuspendedServlet: destroy [23/02/2000 11:48:16:343 CST] Destroying servlet show_stats [23/02/2000 11:48:16:343 CST] show_stats/com.infoglide.batch.StatsServlet: destroy [23/02/2000 11:48:16:343 CST] Destroying servlet batch_login [23/02/2000 11:48:16:437 CST] Destroying servlet gnujsp [23/02/2000 11:48:16:437 CST] gnujsp/org.gjt.jsp.JspServlet: destroy [23/02/2000 11:48:16:437 CST] java.lang.NullPointerException at org.gjt.jsp.JspServlet.destroy(JspServlet.java:349) at org.apache.jserv.JServServletManager.destroyServlet(JServServletManager.java ) at org.apache.jserv.JServServletManager.destroyServlets(JServServletManager.jav a) at org.apache.jserv.JServServletManager.checkReload(JServServletManager.java) at org.apache.jserv.JServConnection.processRequest(JServConnection.java) at org.apache.jserv.JServConnection.run(JServConnection.java) at java.lang.Thread.run(Thread.java:479) [23/02/2000 11:48:16:437 CST] Destroying servlet startup [23/02/2000 11:48:16:484 CST] Initialisation timeout: 10 seconds [23/02/2000 11:48:16:484 CST] Destroy timeout: 10 seconds [23/02/2000 11:48:16:484 CST] Session timeout: 1800 seconds [23/02/2000 11:48:16:484 CST] New session timeout: 1800 seconds [23/02/2000 11:48:16:484 CST] Session check frequency: 30 seconds [23/02/2000 11:48:16:484 CST] Autoreload on zone file changes: true [23/02/2000 11:48:16:484 CST] Autoreload on classfile changes: true [23/02/2000 11:48:16:484 CST] Default initArgs: {} [23/02/2000 11:48:16:484 CST] Servlet name: display [23/02/2000 11:48:16:484 CST] Servlet name: batch_login [23/02/2000 11:48:16:484 CST] Servlet name: show_stats [23/02/2000 11:48:16:484 CST] Servlet name: displaySuspended [23/02/2000 11:48:16:484 CST] Servlet name: suspicious [23/02/2000 11:48:16:484 CST] Servlet name: cocoon [23/02/2000 11:48:16:484 CST] Servlet name: batch_add_user [23/02/2000 11:48:16:484 CST] Servlet name: gnujsp [23/02/2000 11:48:16:484 CST] Servlet name: startup [23/02/2000 11:48:16:484 CST] gnujsp/org.gjt.jsp.JspServlet: init [23/02/2000 11:48:16:500 CST] startup/com.infoglide.batch.StartupServlet: init [23/02/2000 11:48:16:812 CST] display/com.infoglide.batch.DisplayServlet: init [23/02/2000 11:48:16:828 CST] displaySuspended/com.infoglide.batch.DisplaySuspendedServlet: init [23/02/2000 11:48:16:843 CST] batch_login/com.infoglide.batch.LoginServlet: init [23/02/2000 11:48:16:843 CST] show_stats/com.infoglide.batch.StatsServlet: init [23/02/2000 11:48:17:703 CST] gnujsp/jsp___2fbatch_2flogin_2ejsp: init [23/02/2000 11:48:18:609 CST] gnujsp/jsp___2fbatch_2ferror_2ejsp: init There is an error occuring when Apache trys to destroy the gnujsp servlet, which I don't even want it to do. Also, I have a startup servlet that opens a database connection on init, and closes the connection on destroy. When this servlet is reloaded, something goes wrong in getting the database connection again. This is the connection code: Class.forName("oracle.jdbc.driver.OracleDriver"); connection = DriverManager.getConnection( url, "ebay", "sse" ); statement = connection.createStatement(); Here is what my zone.properties file looks like if that might help: # Startup Servlets ################### # Comma or space delimited list of servlets to launch on startup. # This can either be a class name or alias. # Syntax: servlets.startup=[classname or alias],[classname or alias],... # Default: NONE # servlets.startup=hello,snoop,org.fool.Dummy servlets.startup=gnujsp,startup,display,displaySuspended,batch_login,show_st ats #org.gjt.jsp.JSPServlet # Servlet Aliases ################## # This defines aliases from which servlets can be invoked. # Each alias give a new instance of the servlet. This means that if a servlet # is invoked both by class name and by alias name, it will result in _TWO_ # instances of the servlet being created. # Syntax: servlet.[alias].code=[classname] (String) # Default: NONE # servlet.snoop.code=SnoopServlet # servlet.hello.code=org.fool.Dummy #servlet.gnujsp.code=org.gjt.jsp.JSPServlet servlet.gnujsp.code=org.gjt.jsp.JspServlet #servlet.gnujsp.code=org.gjt.jsp10.JSP10Servlet servlet.show_stats.code=com.infoglide.batch.StatsServlet servlet.startup.code=com.infoglide.batch.StartupServlet servlet.display.code=com.infoglide.batch.DisplayServlet servlet.displaySuspended.code=com.infoglide.batch.DisplaySuspendedServlet servlet.suspicious.code=com.infoglide.batch.SuspiciousServlet servlet.batch_login.code=com.infoglide.batch.LoginServlet servlet.batch_add_user.code=com.infoglide.batch.AddUserServlet Thanks in advance for any help. Natalie Rooney -- -------------------------------------------------------------- Please read the FAQ! <http://java.apache.org/faq/> To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Archives and Other: <http://java.apache.org/main/mail.html> Problems?: [EMAIL PROTECTED]