RE: Reloadable Servlet?
Howdy, I see what you mean -- thanks ;) The actual URL for the hotfix is http://www.apache.org/dist/jakarta/tomcat-4/binaries/ Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Johnson, David [mailto:[EMAIL PROTECTED] >Sent: Wednesday, August 13, 2003 9:53 AM >To: Tomcat Users List >Subject: RE: Reloadable Servlet? > >Doh. 4.1.27. :-) > >The hotfix is available here: > >http://jakarta.apache.org/site/binindex.cgi > >Click on the Tomcat 4.1.27 link. It's hotfix 22096 apparently. > >Not sure what the bug number is, and I haven't worked out how to use the >bugzilla search form properly yet. There was a discussion about it on >this list a couple of weeks ago. > >Dave > >> -Original Message- >> From: Shapira, Yoav [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, August 13, 2003 2:42 PM >> To: Tomcat Users List >> Subject: RE: Reloadable Servlet? >> >> >> >> Howdy, >> If you're using tomcat 1.4.27 you might have more than just >> this problem >> ;) >> >> >Also, if you're using Tomcat 1.4.27 then there's a bug which >> stops the >> >reload from working properly. A hotfix is available from the jakarta >> >website. >> >> What bug and fix are you referring to? >> >> Yoav Shapira >> Millennium ChemInformatics >> >> >> >> This e-mail, including any attachments, is a confidential >> business communication, and may contain information that is >> confidential, proprietary and/or privileged. This e-mail is >> intended only for the individual(s) to whom it is addressed, >> and may not be saved, copied, printed, disclosed or used by >> anyone else. If you are not the(an) intended recipient, >> please immediately delete this e-mail from your computer >> system and notify the sender. Thank you. >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Reloadable Servlet?
Also, if you're using Tomcat 1.4.27 then there's a bug which stops the reload from working properly. A hotfix is available from the jakarta website. Dave > -Original Message- > From: Shapira, Yoav [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 13, 2003 1:59 PM > To: Tomcat Users List > Subject: RE: Reloadable Servlet? > > > > Howdy, > Your servlet doesn't need to explicitly be "reloadable" but > your context > does. Set reloadable=true in your context definition. > > Yoav Shapira > Millennium ChemInformatics > > > >-Original Message- > >From: John Blanco [mailto:[EMAIL PROTECTED] > >Sent: Wednesday, August 13, 2003 1:33 AM > >To: Tomcat Users List > >Subject: Reloadable Servlet? > > > > This is one heck of a crach course. :) OK, I found my > >way through the public_html problem...but now I have a > >question. I want my Servlet to be reloadable. But, > >when I recompile and make a minor change (changing the > >printed string), I get the dumb that follows below in > >my logs and a 503 return error. > > > > If I go to TomCat Manager and Stop and then Start (not > >Reload) my Servlet, everything works again until I > >recompile and change. My question is...does my > >Servlet need to explicitly support a reload? > > > >2003-08-12 23:23:27 StandardContext[/HelloWorld]: > >Reloading this Context has started > >2003-08-12 23:23:27 WebappLoader[/HelloWorld]: > >Reloading checks are enabled for this Context > >2003-08-12 23:23:27 > >StandardWrapper[/HelloWorld:org.apache.catalina.INVOKER.HelloWorld]: > >Marking servlet org.apache.catalina.INVOKER.HelloWorld > >as unavailable > >2003-08-12 23:23:27 StandardContext[/HelloWorld]: > >Servlet /HelloWorld threw load() exception > >javax.servlet.ServletException: Wrapper cannot find > >servlet class HelloWorld or a class it depends on > >at > >org.apache.catalina.core.StandardWrapper.loadServlet(Standard > Wrapper.ja > va:8 > >91) > >at > >org.apache.catalina.core.StandardWrapper.load(StandardWrapper > .java:823) > >at > >org.apache.catalina.core.StandardContext.loadOnStartup(Standa > rdContext. > java > >:3421) > >at > >org.apache.catalina.core.StandardContext.reload(StandardConte > xt.java:25 > 68) > >at > >org.apache.catalina.loader.WebappLoader$WebappContextNotifier > .run(Webap > pLoa > >der.java:1369) > >at java.lang.Thread.run(Thread.java:534) > >- Root Cause - > >java.lang.ClassNotFoundException: HelloWorld > >at > >org.apache.catalina.loader.WebappClassLoader.loadClass(Webapp > ClassLoade > r.ja > >va:1444) > >at > >org.apache.catalina.loader.WebappClassLoader.loadClass(Webapp > ClassLoade > r.ja > >va:1289) > >at > >org.apache.catalina.core.StandardWrapper.loadServlet(Standard > Wrapper.ja > va:8 > >85) > >at > >org.apache.catalina.core.StandardWrapper.load(StandardWrapper > .java:823) > >at > >org.apache.catalina.core.StandardContext.loadOnStartup(Standa > rdContext. > java > >:3421) > >at > >org.apache.catalina.core.StandardContext.reload(StandardConte > xt.java:25 > 68) > >at > >org.apache.catalina.loader.WebappLoader$WebappContextNotifier > .run(Webap > pLoa > >der.java:1369) > >at java.lang.Thread.run(Thread.java:534) > > > > > > > > > >-- > > - John Blanco > > - Code Guru @ Rapture In Venice > > - http://members.bbnow.net/jblanco > > > >- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > This e-mail, including any attachments, is a confidential > business communication, and may contain information that is > confidential, proprietary and/or privileged. This e-mail is > intended only for the individual(s) to whom it is addressed, > and may not be saved, copied, printed, disclosed or used by > anyone else. If you are not the(an) intended recipient, > please immediately delete this e-mail from your computer > system and notify the sender. Thank you. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Reloadable Servlet?
Howdy, Your servlet doesn't need to explicitly be "reloadable" but your context does. Set reloadable=true in your context definition. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: John Blanco [mailto:[EMAIL PROTECTED] >Sent: Wednesday, August 13, 2003 1:33 AM >To: Tomcat Users List >Subject: Reloadable Servlet? > > This is one heck of a crach course. :) OK, I found my >way through the public_html problem...but now I have a >question. I want my Servlet to be reloadable. But, >when I recompile and make a minor change (changing the >printed string), I get the dumb that follows below in >my logs and a 503 return error. > > If I go to TomCat Manager and Stop and then Start (not >Reload) my Servlet, everything works again until I >recompile and change. My question is...does my >Servlet need to explicitly support a reload? > >2003-08-12 23:23:27 StandardContext[/HelloWorld]: >Reloading this Context has started >2003-08-12 23:23:27 WebappLoader[/HelloWorld]: >Reloading checks are enabled for this Context >2003-08-12 23:23:27 >StandardWrapper[/HelloWorld:org.apache.catalina.INVOKER.HelloWorld]: >Marking servlet org.apache.catalina.INVOKER.HelloWorld >as unavailable >2003-08-12 23:23:27 StandardContext[/HelloWorld]: >Servlet /HelloWorld threw load() exception >javax.servlet.ServletException: Wrapper cannot find >servlet class HelloWorld or a class it depends on >at >org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.ja va:8 >91) >at >org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823) >at >org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext. java >:3421) >at >org.apache.catalina.core.StandardContext.reload(StandardContext.java:25 68) >at >org.apache.catalina.loader.WebappLoader$WebappContextNotifier.run(Webap pLoa >der.java:1369) >at java.lang.Thread.run(Thread.java:534) >- Root Cause - >java.lang.ClassNotFoundException: HelloWorld >at >org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoade r.ja >va:1444) >at >org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoade r.ja >va:1289) >at >org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.ja va:8 >85) >at >org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823) >at >org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext. java >:3421) >at >org.apache.catalina.core.StandardContext.reload(StandardContext.java:25 68) >at >org.apache.catalina.loader.WebappLoader$WebappContextNotifier.run(Webap pLoa >der.java:1369) >at java.lang.Thread.run(Thread.java:534) > > > > >-- > - John Blanco > - Code Guru @ Rapture In Venice > - http://members.bbnow.net/jblanco > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Reloadable Servlet?
This is one heck of a crach course. :) OK, I found my way through the public_html problem...but now I have a question. I want my Servlet to be reloadable. But, when I recompile and make a minor change (changing the printed string), I get the dumb that follows below in my logs and a 503 return error. If I go to TomCat Manager and Stop and then Start (not Reload) my Servlet, everything works again until I recompile and change. My question is...does my Servlet need to explicitly support a reload? 2003-08-12 23:23:27 StandardContext[/HelloWorld]: Reloading this Context has started 2003-08-12 23:23:27 WebappLoader[/HelloWorld]: Reloading checks are enabled for this Context 2003-08-12 23:23:27 StandardWrapper[/HelloWorld:org.apache.catalina.INVOKER.HelloWorld]: Marking servlet org.apache.catalina.INVOKER.HelloWorld as unavailable 2003-08-12 23:23:27 StandardContext[/HelloWorld]: Servlet /HelloWorld threw load() exception javax.servlet.ServletException: Wrapper cannot find servlet class HelloWorld or a class it depends on at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:891) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3421) at org.apache.catalina.core.StandardContext.reload(StandardContext.java:2568) at org.apache.catalina.loader.WebappLoader$WebappContextNotifier.run(WebappLoader.java:1369) at java.lang.Thread.run(Thread.java:534) - Root Cause - java.lang.ClassNotFoundException: HelloWorld at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1444) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1289) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:885) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3421) at org.apache.catalina.core.StandardContext.reload(StandardContext.java:2568) at org.apache.catalina.loader.WebappLoader$WebappContextNotifier.run(WebappLoader.java:1369) at java.lang.Thread.run(Thread.java:534) -- - John Blanco - Code Guru @ Rapture In Venice - http://members.bbnow.net/jblanco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Reloadable Servlet?
Ahhh, I just ignored that file. Cool. :) Thanks! The newbie learned something. On Wednesday 13 August 2003 07:57, Shapira, Yoav wrote: > Howdy, > I see what you mean -- thanks ;) The actual URL for > the hotfix is > http://www.apache.org/dist/jakarta/tomcat-4/binaries >/ > > Yoav Shapira > Millennium ChemInformatics > > >-Original Message- > > From: Johnson, David > [mailto:[EMAIL PROTECTED] > > >Sent: Wednesday, August 13, 2003 9:53 AM > >To: Tomcat Users List > >Subject: RE: Reloadable Servlet? > > > >Doh. 4.1.27. :-) > > > >The hotfix is available here: > > > >http://jakarta.apache.org/site/binindex.cgi > > > >Click on the Tomcat 4.1.27 link. It's hotfix 22096 > > apparently. > > > >Not sure what the bug number is, and I haven't > > worked out how to use > > the > > >bugzilla search form properly yet. There was a > > discussion about it on this list a couple of weeks > > ago. > > > >Dave > > > >> -Original Message- > >> From: Shapira, Yoav [mailto:[EMAIL PROTECTED] > >> Sent: Wednesday, August 13, 2003 2:42 PM > >> To: Tomcat Users List > >> Subject: RE: Reloadable Servlet? > >> > >> > >> > >> Howdy, > >> If you're using tomcat 1.4.27 you might have more > >> than just this problem > >> ;) > >> > >> >Also, if you're using Tomcat 1.4.27 then there's > >> > a bug which > >> > >> stops the > >> > >> >reload from working properly. A hotfix is > >> > available from the jakarta website. > >> > >> What bug and fix are you referring to? > >> > >> Yoav Shapira > >> Millennium ChemInformatics > >> > >> > >> > >> This e-mail, including any attachments, is a > >> confidential business communication, and may > >> contain information that is confidential, > >> proprietary and/or privileged. This e-mail is > >> intended only for the individual(s) to whom it is > >> addressed, and may not be saved, copied, printed, > >> disclosed or used by anyone else. If you are not > >> the(an) intended recipient, please immediately > >> delete this e-mail from your computer system and > >> notify the sender. Thank you. > >> > >> > >> - > >> To unsubscribe, e-mail: > >> [EMAIL PROTECTED] For > >> additional commands, e-mail: > >> [EMAIL PROTECTED] > > > >--- > >-- To unsubscribe, e-mail: > > [EMAIL PROTECTED] For > > additional commands, e-mail: > > [EMAIL PROTECTED] > > This e-mail, including any attachments, is a > confidential business communication, and may contain > information that is confidential, proprietary and/or > privileged. This e-mail is intended only for the > individual(s) to whom it is addressed, and may not > be saved, copied, printed, disclosed or used by > anyone else. If you are not the(an) intended > recipient, please immediately delete this e-mail > from your computer system and notify the sender. > Thank you. > > > >- To unsubscribe, e-mail: > [EMAIL PROTECTED] For > additional commands, e-mail: > [EMAIL PROTECTED] -- - John Blanco - Code Guru @ Rapture In Venice - http://members.bbnow.net/jblanco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Reloadable Servlet?
Howdy, If you're using tomcat 1.4.27 you might have more than just this problem ;) >Also, if you're using Tomcat 1.4.27 then there's a bug which stops the >reload from working properly. A hotfix is available from the jakarta >website. What bug and fix are you referring to? Yoav Shapira Millennium ChemInformatics This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Reloadable Servlet?
Doh. 4.1.27. :-) The hotfix is available here: http://jakarta.apache.org/site/binindex.cgi Click on the Tomcat 4.1.27 link. It's hotfix 22096 apparently. Not sure what the bug number is, and I haven't worked out how to use the bugzilla search form properly yet. There was a discussion about it on this list a couple of weeks ago. Dave > -Original Message- > From: Shapira, Yoav [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 13, 2003 2:42 PM > To: Tomcat Users List > Subject: RE: Reloadable Servlet? > > > > Howdy, > If you're using tomcat 1.4.27 you might have more than just > this problem > ;) > > >Also, if you're using Tomcat 1.4.27 then there's a bug which > stops the > >reload from working properly. A hotfix is available from the jakarta > >website. > > What bug and fix are you referring to? > > Yoav Shapira > Millennium ChemInformatics > > > > This e-mail, including any attachments, is a confidential > business communication, and may contain information that is > confidential, proprietary and/or privileged. This e-mail is > intended only for the individual(s) to whom it is addressed, > and may not be saved, copied, printed, disclosed or used by > anyone else. If you are not the(an) intended recipient, > please immediately delete this e-mail from your computer > system and notify the sender. Thank you. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]