Hmm This seems to be a bug in Tomcat. With me too it comes sometimes & if I am more lucky that day then it does not. That the way it is!!. Bye, Jiger http://www.patelsoftware.com >From: Anson To <[EMAIL PROTECTED]> >Reply-To: "A mailing list for discussion about Sun Microsystem's Java > Servlet API Technology." <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Can't "autoreload" from newbie >Date: Fri, 25 May 2001 22:46:18 -0400 > >Hi all, > >I've selected the "autoreload" attribute for a context (reloadable="true" >in server.xml) when I integrated with Tomcat. After I perform code change >on any servlet or other Java class, I however still got the following error >returned if I don't shutdown then startup Tomcat before loading the >servlet. Any idea of why this happens and how to fix it? >--------------------------------------------------------- >Error: 500 > >Internal Servlet Error: > >java.lang.IllegalStateException: Can't happen - classname is null, who >added this ? > at >org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:261) > at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289) > at org.apache.tomcat.core.Handler.service(Handler.java:254) > at >org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) > at >org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) > at >org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) > at >org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210) > at >org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) > at >org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) > at java.lang.Thread.run(Thread.java:484) >--------------------------------------------------------- >Yours sincerely, >Anson >-- >Sincerely yours, Anson > > >__________________________________________________________________ >Get your own FREE, personal Netscape Webmail account today at >http://webmail.netscape.com/ > >___________________________________________________________________________ >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body >of the message "signoff SERVLET-INTEREST". > >Archives: http://archives.java.sun.com/archives/servlet-interest.html >Resources: http://java.sun.com/products/servlet/external-resources.html >LISTSERV Help: http://www.lsoft.com/manuals/user/user.html _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
