Re: Reloadable Hangs
Hi, Context Reloadable == true When we compile .java into .class, Tomcat will not serve page anymore. We have to restart Tomcat inside Services or from the Monitor Tomcat menu. We have seen same here. Tomcat = 5.0.28 hangs, there seems to be a ThreadDeath exception sometimes when reload is going on. Environment is Windows XP and JDK 1.4.2. We have no problen with lower versions of Tomcat. I think that 5.0.25 used to work me. Aro S- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Reloadable Hangs
Hello How did you deploy the application ? with a WAR file ? or by installing an unpacked directory ? I read in the Professional Apache Tomcat5 book that the relaod attribute work fine only with an application installed from an unpacked directory not with a WAR file Jean-Claude -Message d'origine- De : edward see [mailto:[EMAIL PROTECTED] Envoyé : vendredi 27 mai 2005 11:32 À : tomcat-user@jakarta.apache.org Objet : Reloadable Hangs Dear all, I have installed Java is 1.4.1 Tomcat 5.0.28 in Windows 2000 sp1 with 1GB Ram Tomcat is running as a service. Context Reloadable == true When we compile .java into .class, Tomcat will not serve page anymore. We have to restart Tomcat inside Services or from the Monitor Tomcat menu. We have no problen with lower versions of Tomcat. What do i need to reconfigure? Edward - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: reloadable
Howdy, Tomcat will recompile the JSP. Reloadable affects only runtime performance. Yoav Shapira Millennium ChemInformatics -Original Message- From: Laurent Michenaud [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 10:42 AM To: [EMAIL PROTECTED] Subject: reloadable Hi, I've got a web application with reloadable=false. I start tomcat. I call a jsp file ( ex: toto.jsp ). The JSP is compiled in the work directory. I stop tomcat I update the jsp toto.jsp. I start tomcat. What does Tomcat ? Does it recompile the new jsp or does it use the old file in the work directory ? Thanks 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
Hi, Would it be fair to say that especially with older versions of tomcat this cannot always be guaranteed to work correctly? I would recommend that if you are having any doubts that you delete the files from your work directory when you redeploy. Andoni. - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 3:43 PM Subject: RE: reloadable Howdy, Tomcat will recompile the JSP. Reloadable affects only runtime performance. Yoav Shapira Millennium ChemInformatics -Original Message- From: Laurent Michenaud [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 10:42 AM To: [EMAIL PROTECTED] Subject: reloadable Hi, I've got a web application with reloadable=false. I start tomcat. I call a jsp file ( ex: toto.jsp ). The JSP is compiled in the work directory. I stop tomcat I update the jsp toto.jsp. I start tomcat. What does Tomcat ? Does it recompile the new jsp or does it use the old file in the work directory ? Thanks 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
Howdy, It would be fair to say that nothing is always guaranteed to work correctly. Yoav Shapira Millennium ChemInformatics -Original Message- From: Andoni [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 11:24 AM To: Tomcat Users List Subject: Re: reloadable Hi, Would it be fair to say that especially with older versions of tomcat this cannot always be guaranteed to work correctly? I would recommend that if you are having any doubts that you delete the files from your work directory when you redeploy. Andoni. - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 3:43 PM Subject: RE: reloadable Howdy, Tomcat will recompile the JSP. Reloadable affects only runtime performance. Yoav Shapira Millennium ChemInformatics -Original Message- From: Laurent Michenaud [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 10:42 AM To: [EMAIL PROTECTED] Subject: reloadable Hi, I've got a web application with reloadable=false. I start tomcat. I call a jsp file ( ex: toto.jsp ). The JSP is compiled in the work directory. I stop tomcat I update the jsp toto.jsp. I start tomcat. What does Tomcat ? Does it recompile the new jsp or does it use the old file in the work directory ? Thanks 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?
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]
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?
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, 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]
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, 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='true' and MBean
Look at Tomcat5 and the JMXProxy servlet in the manager application. http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/JMXProxyServlet.java?rev=1.4content-type=text/vnd.viewcvs-markup And you can write your own app to allow users to set only the properties you wish as well as any custom security constraints. -Tim webmaster wrote: Hi all, I'm using Tomcat 4.1.24 with some virtual users on it. I'd like to give my users the flexibility to change their Context properties on the fly ( like reloadable='false' for instance ), but I don't want to give them access to MBean application. Is it possible ? How can I do a 'wrapper' so I can customize my own application ? Thanks Renato - Brazil. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: reloadable
Hi Raja, The default behaviour setting for the class reloading is a touch on the slow side, so include a Loader in the Context that looks like this one: Context path=/myapp docBase=myapp reloadable=true Loader className=org.apache.catalina.loader.WebappLoader loaderClass=org.apache.catalina.loader.WebappClassLoader checkInterval=1 / /Context And you'll find that it will now check every second, rather than the default 15 seconds. Cheers, -- jon Raja Nasrallah wrote: Hello, I set the attribute reloadable to true in a sample context tag(Context in the sever.xml) to monitor the the WEB-INF/classes. But it didn't affect. I make change in a sample class and the server don't load this class again. I am using jakarta-tomcat-4.0.6 in winow2000 server. Should I have to do other setting to make the reloadable work. Thanks, raja -- Jon Eaves [EMAIL PROTECTED] http://www.eaves.org/jon/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: reloadable
Hi, But I can't start Tomcat after I put the following to server.xml, and the error msg can't be logged. Context path=/test docBase=test reloadable=true Loader className=org.apache.catalina.loader.WebappLoader loaderClass=org.apache.catalina.loader.WebappClassLoader checkInterval=1 / /Context James - Original Message - From: Jon Eaves [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, November 25, 2002 8:59 AM Subject: Re: reloadable Hi Raja, The default behaviour setting for the class reloading is a touch on the slow side, so include a Loader in the Context that looks like this one: Context path=/myapp docBase=myapp reloadable=true Loader className=org.apache.catalina.loader.WebappLoader loaderClass=org.apache.catalina.loader.WebappClassLoader checkInterval=1 / /Context And you'll find that it will now check every second, rather than the default 15 seconds. Cheers, -- jon Raja Nasrallah wrote: Hello, I set the attribute reloadable to true in a sample context tag(Context in the sever.xml) to monitor the the WEB-INF/classes. But it didn't affect. I make change in a sample class and the server don't load this class again. I am using jakarta-tomcat-4.0.6 in winow2000 server. Should I have to do other setting to make the reloadable work. Thanks, raja -- Jon Eaves [EMAIL PROTECTED] http://www.eaves.org/jon/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: reloadable [bayes][adr]
Hello, Thanks you, it works raja -Original Message- From: Jon Eaves [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 10:28 PM To: Tomcat Users List Subject: Re: reloadable [bayes][adr] Importance: Low Hi Raja, The default behaviour setting for the class reloading is a touch on the slow side, so include a Loader in the Context that looks like this one: Context path=/myapp docBase=myapp reloadable=true Loader className=org.apache.catalina.loader.WebappLoader loaderClass=org.apache.catalina.loader.WebappClassLoader checkInterval=1 / /Context And you'll find that it will now check every second, rather than the default 15 seconds. Cheers, -- jon Raja Nasrallah wrote: Hello, I set the attribute reloadable to true in a sample context tag(Context in the sever.xml) to monitor the the WEB-INF/classes. But it didn't affect. I make change in a sample class and the server don't load this class again. I am using jakarta-tomcat-4.0.6 in winow2000 server. Should I have to do other setting to make the reloadable work. Thanks, raja -- Jon Eaves [EMAIL PROTECTED] http://www.eaves.org/jon/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: reloadable [bayes][adr]
Hi, Raja: I am using Tomcat 4.1, it doesn't work for me. Did you change anything? Thanks for you help. James - Original Message - From: Raja Nasrallah [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, November 25, 2002 9:32 AM Subject: RE: reloadable [bayes][adr] Hello, Thanks you, it works raja -Original Message- From: Jon Eaves [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 10:28 PM To: Tomcat Users List Subject: Re: reloadable [bayes][adr] Importance: Low Hi Raja, The default behaviour setting for the class reloading is a touch on the slow side, so include a Loader in the Context that looks like this one: Context path=/myapp docBase=myapp reloadable=true Loader className=org.apache.catalina.loader.WebappLoader loaderClass=org.apache.catalina.loader.WebappClassLoader checkInterval=1 / /Context And you'll find that it will now check every second, rather than the default 15 seconds. Cheers, -- jon Raja Nasrallah wrote: Hello, I set the attribute reloadable to true in a sample context tag(Context in the sever.xml) to monitor the the WEB-INF/classes. But it didn't affect. I make change in a sample class and the server don't load this class again. I am using jakarta-tomcat-4.0.6 in winow2000 server. Should I have to do other setting to make the reloadable work. Thanks, raja -- Jon Eaves [EMAIL PROTECTED] http://www.eaves.org/jon/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: reloadable=true
I have the same problem. I have changed any Context in web.xml and also checked the server.xml file for DefaultContext and stuff, but Tomcat just won't reload classes. I am using latest Tomcat 3.3 version, JDK1.3 IBM Linux Regards Danny On 27 Sep 2002, at 11:07, Lindomar wrote: Hi everybody! I set this property(reloadable=true) on my context in server.xml, but don´t works?! When i change any class, tomcat don't work until i restart it. Any idea about this problem? Thanks in advanced. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: reloadable=true
Have you tried using the Manager app? How are you updating your classes? Just deleting them and adding the new one? John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 10:55 AM To: Tomcat Users List Subject: Re: reloadable=true I have the same problem. I have changed any Context in web.xml and also checked the server.xml file for DefaultContext and stuff, but Tomcat just won't reload classes. I am using latest Tomcat 3.3 version, JDK1.3 IBM Linux Regards Danny On 27 Sep 2002, at 11:07, Lindomar wrote: Hi everybody! I set this property(reloadable=true) on my context in server.xml, but don´t works?! When i change any class, tomcat don't work until i restart it. Any idea about this problem? Thanks in advanced. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: reloadable=true
I tried the Manager app, updating and deleting and adding the new one, none works; but the exception is generated : No driver suitable ?! Regards, Lindomar. - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, September 27, 2002 11:48 AM Subject: RE: reloadable=true Quer ter seu próprio endereço na Internet? Garanta já o seu e ainda ganhe cinco e-mails personalizados. DomíniosBOL - http://dominios.bol.com.br Have you tried using the Manager app? How are you updating your classes? Just deleting them and adding the new one? John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 10:55 AM To: Tomcat Users List Subject: Re: reloadable=true I have the same problem. I have changed any Context in web.xml and also checked the server.xml file for DefaultContext and stuff, but Tomcat just won't reload classes. I am using latest Tomcat 3.3 version, JDK1.3 IBM Linux Regards Danny On 27 Sep 2002, at 11:07, Lindomar wrote: Hi everybody! I set this property(reloadable=true) on my context in server.xml, but don´t works?! When i change any class, tomcat don't work until i restart it. Any idea about this problem? Thanks in advanced. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: reloadable=true just not working. Any ideas gentlefolk?
I also have the same problem, I set reloadable=true, when I change something in my servlet, it never use the new one, everytime I still have to restart the tomcat. Louis - Original Message - From: Jason Koeninger [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, May 21, 2002 8:18 PM Subject: Re: reloadable=true just not working. Any ideas gentlefolk? I don't believe the class loader recognizes any new code other than servlets and jsp files. If you have new classes called by servlets, they won't be reloaded. If you search in the archives, you should find a lot of discussions on this topic. If you have servlets or jsp's that aren't reloading, I'm not sure what may be going wrong. Best Regards, Jason Koeninger JJ Computer Consulting http://www.jjcc.com --- Ray Letts [EMAIL PROTECTED] wrote: Below is a snippet from my conf/server.xml file. From all the docs I've read, and the examples, this should work. However the tomcat class loader does not recognize newly compiled class files and still uses the cached versions. Can anyone spot a problem with the xml below? It parses upon startup. But to get the newly compiled classes cached I have to restart the server. and whether thru cmd line or manager web app, this is not want I want to do during development. TIA Ray Context path=/BugTracker docBase=/app/tomcat/jakarta-tomcat/dist/webapps/BugTracker/ debug=0 reloadable=true / ps above is the full path to the webapp, however I have tried the relative as well. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: reloadable=true just not working. Any ideas gentlefolk?
I don't have the answer to why reloading isn't working, but I can recommend using the tomcat manager app to remove and install your app to freshen it. That doesn't require a restart of tomcat. One important note though, if your webapp's main directly exists, this won't work. You have to blow away that directory after you remove. I just have ant blow away the directory and drop a fresh .war in the webapps/ dir, then manager-remove, then manager-install. The only downside is that I haven't worked out why my db pool object doesn't release its connections. Thus, each time I do it I burn 3 database connections :) Michael --- Ray Letts [EMAIL PROTECTED] wrote: Below is a snippet from my conf/server.xml file. From all the docs I've read, and the examples, this should work. However the tomcat class loader does not recognize newly compiled class files and still uses the cached versions. Can anyone spot a problem with the xml below? It parses upon startup. But to get the newly compiled classes cached I have to restart the server. and whether thru cmd line or manager web app, this is not want I want to do during development. TIA Ray Context path=/BugTracker docBase=/app/tomcat/jakarta-tomcat/dist/webapps/BugTracker/ debug=0 reloadable=true / ps above is the full path to the webapp, however I have tried the relative as well. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: reloadable=true just not working. Any ideas gentlefolk?
I don't believe the class loader recognizes any new code other than servlets and jsp files. If you have new classes called by servlets, they won't be reloaded. If you search in the archives, you should find a lot of discussions on this topic. If you have servlets or jsp's that aren't reloading, I'm not sure what may be going wrong. Best Regards, Jason Koeninger JJ Computer Consulting http://www.jjcc.com --- Ray Letts [EMAIL PROTECTED] wrote: Below is a snippet from my conf/server.xml file. From all the docs I've read, and the examples, this should work. However the tomcat class loader does not recognize newly compiled class files and still uses the cached versions. Can anyone spot a problem with the xml below? It parses upon startup. But to get the newly compiled classes cached I have to restart the server. and whether thru cmd line or manager web app, this is not want I want to do during development. TIA Ray Context path=/BugTracker docBase=/app/tomcat/jakarta-tomcat/dist/webapps/BugTracker/ debug=0 reloadable=true / ps above is the full path to the webapp, however I have tried the relative as well. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: reloadable=true not working--- problems with reloading servl ets
Why is it that during reloading of changed classes, tomcat clears all variables from HTTPSession? kB __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: reloadable=true not working--- problems with reloading servlets
On Sat, 18 May 2002, kelly, Burrowa wrote: Date: Sat, 18 May 2002 15:34:31 +0100 (BST) From: kelly, Burrowa [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: reloadable=true not working--- problems with reloading servl ets Why is it that during reloading of changed classes, tomcat clears all variables from HTTPSession? Java does not provide any APIs to replace the classes that have been recompiled. So, servlet containers implement reload by throwing away the entire webapp class loader (including all classes that have been loaded from /WEB-INF/classes and /WEB-INF/lib), and starts the app over again. However, Tomcat also implements a feature that helps in the scenario you describe -- if you make sure that all of the beans you store as session attributes are Serializable, then Tomcat can save and restore them for you as it does the restart. This also works across a regular shutdown and restart of Tomcat itself. kB Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: reloadable=true not working--- problems with reloading servlets
I've found this to be true on occassions, but I've never found out any reason why. If you restart your app using the manager application, then it seems to reload it properly. Manager application runs from the URL, details can be found here: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html Hope this helps Adam -Original Message- From: Ray Letts [mailto:[EMAIL PROTECTED]] Sent: 17 May 2002 16:48 To: Tomcat Users List Subject: reloadable=true not working--- problems with reloading servlets Hello all. Hmm heard this was a problem in Tomcat 3 but we're running a fresh Tomcat 4.03 integrated with Apache HTTP Server Version 1.3 I've set the reloadable to be true in the server.xml, restarted Tomcat but it doesn't seem to be reloading. Is this still a bug in 4.03? I've tried searching the bug reports but that is one crazy form for bugs they have on the jakarta site. Anyone have success with this? or not? Is it a bug? many thanks! Ray Letts -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ** This message may contain information which is confidential or privileged. If you are not the intended recipient, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy. ** -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: reloadable=true not working--- problems with reloading servl ets
Yes the manager app will restart and the Tomcat will reload but I want Tomcat to detect newly compiled class files and reload without restarting, whether via the command line or via the manager web app. This will avoid developers asking each other if they can 'restart' Tomcat while working on code. Ray -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: reloadable=true not working--- problems with reloading servl ets
Just my two cents, but I never have developers work on the same server instance. You can run multiple tomcat instances on the same server, or you can run one on each developer workstation (what I usually do). The whole reason I'm using tomcat is because it's free and lightweight enough to deploy on most workstations. Ray Letts [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] a cc: Subject: Re: reloadable=true not working--- problems with reloading 05/17/2002 10:59 servlets AM Please respond to Tomcat Users List Yes the manager app will restart and the Tomcat will reload but I want Tomcat to detect newly compiled class files and reload without restarting, whether via the command line or via the manager web app. This will avoid developers asking each other if they can 'restart' Tomcat while working on code. Ray -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: reloadable=true not working--- problems with reloading servl ets
I have same problem, even reload through manager does not reload the servlet class, but it will automatically pick up jsp timestamp. Everytime, I change servlet, I have to restart tomcat, what a pain Bing -Original Message- From: Ray Letts To: Tomcat Users List Sent: 5/17/02 8:59 AM Subject: Re: reloadable=true not working--- problems with reloading servl ets Yes the manager app will restart and the Tomcat will reload but I want Tomcat to detect newly compiled class files and reload without restarting, whether via the command line or via the manager web app. This will avoid developers asking each other if they can 'restart' Tomcat while working on code. Ray -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: reloadable doesn't work with warpconnector
Hi Mike, I posted a bug about this, warp connector shows all sorts of odd behaviour with the manager app. because the way applications are indexed internally to tomcat. Example: you stop on application, then re-install it. When you reinstall it, tomcat gives it a incremented id, yet webapp is still looking for the previous id. The solution to this is to restart apache, the point where mod_webapp indexes the applications. Regards, James Williamson www.nameonthe.net - Original Message - From: Mike Johnson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, March 20, 2002 9:02 PM Subject: reloadable doesn't work with warpconnector Hi everyone, I'm new to Tomcat, so this could be something that I've done wrong... I've noticed some strange behavior with the warpconnector. For example, if I use the manager application to shutdown the root path (manager/stop?path=/) then the pages are no longer served by the *standalone* server, but using the warpconnector, they are still served. Also, I have a servlet that is under a path I've set to use reloadable=true. Accessing that applet through Apache never reflects a change unless Tomcat is restarted. However the servlet is reloaded it accessed through the standalone connector. Can anybody help me with this? It's been driving me nuts all morning --- Tomcat: 4.0.3 Warpconnector binary from apache.org jdk 1.3.1 --- Thanks! Mike Johnson -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: reloadable=true not working in 4.0.3?
Neil Aggarwal a écrit : Hello: Is reloadable=true working in 4.0.3? Tomcat does not seem to be reloading my classes when I upload a newer version to the server. Here is what I put in my /usr/local/jakarta-tomcat-4.0.3/conf/server.xml file: !-- BurnRateDiet Context -- Context path=/burnratediet docBase=burnratediet debug=0 reloadable=true / I put this in the Host directive for the local host. I am using Apache 1.3.23 and mod_webapp. Also, since this is a development server, I wanted to have all of my contexts reload classes by default. Is there a default setting for the reloading of classes? Thanks, Neil. -- Neil Aggarwal JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com Custom Internet DevelopmentWebsites, Ecommerce, Java, databases -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] It had been such a mess all around it ! I give yu my code: !-- Define an Apache-Connector Service -- Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8025 minProcessors=5 maxProcessors=75 enableLookups=true appBase=webapps acceptCount=10 debug=0/ !-- Replace localhost with what your Apache ServerName is set to -- Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache appBase=webapps defaulthost=MyServer.com DefaultContext reloadable=true/ Valve className=org.apache.catalina.valves.AccessLogValve directory=Logs prefix=local_access_log. suffix=.txt pattern=common / !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.txt timestamp=true/ !-- Because this Realm is here, an instance will be shared globally -- Realm className=org.apache.catalina.realm.MemoryRealm / Host name=MyServer.com debug=10 appBase=webapps unpackWARs=true !-- Tomcat Manager Context -- Context path=/manager docBase=manager privileged=true/ /Host /Engine /Service The best way is via the manager facilities. To do so yu DO have to declare the Host, like in the code below, so that it is available thru the warp connector via: WebAppDeploy manager conn /manager/ Hope this help. Jean-Luc B :O) -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: reloadable=true not working in 4.0.3?
Jean-Luc: That worked. Thanks! Neil. -- Neil Aggarwal JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com Custom Internet DevelopmentWebsites, Ecommerce, Java, databases -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jean-Luc BEAUDET Sent: Wednesday, March 13, 2002 10:54 AM To: Tomcat Users List Subject: Re: reloadable=true not working in 4.0.3? Neil Aggarwal a écrit : Hello: Is reloadable=true working in 4.0.3? Tomcat does not seem to be reloading my classes when I upload a newer version to the server. Here is what I put in my /usr/local/jakarta-tomcat-4.0.3/conf/server.xml file: !-- BurnRateDiet Context -- Context path=/burnratediet docBase=burnratediet debug=0 reloadable=true / I put this in the Host directive for the local host. I am using Apache 1.3.23 and mod_webapp. Also, since this is a development server, I wanted to have all of my contexts reload classes by default. Is there a default setting for the reloading of classes? Thanks, Neil. -- Neil Aggarwal JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com Custom Internet DevelopmentWebsites, Ecommerce, Java, databases -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] It had been such a mess all around it ! I give yu my code: !-- Define an Apache-Connector Service -- Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8025 minProcessors=5 maxProcessors=75 enableLookups=true appBase=webapps acceptCount=10 debug=0/ !-- Replace localhost with what your Apache ServerName is set to -- Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache appBase=webapps defaulthost=MyServer.com DefaultContext reloadable=true/ Valve className=org.apache.catalina.valves.AccessLogValve directory=Logs prefix=local_access_log. suffix=.txt pattern=common / !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.txt timestamp=true/ !-- Because this Realm is here, an instance will be shared globally -- Realm className=org.apache.catalina.realm.MemoryRealm / Host name=MyServer.com debug=10 appBase=webapps unpackWARs=true !-- Tomcat Manager Context -- Context path=/manager docBase=manager privileged=true/ /Host /Engine /Service The best way is via the manager facilities. To do so yu DO have to declare the Host, like in the code below, so that it is available thru the warp connector via: WebAppDeploy manager conn /manager/ Hope this help. Jean-Luc B :O) -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: reloadable
You must either modify and save a.jsp, or delete .java and .class files for a.jsp in Tomcat's work folder. Reloadable = true is for reloading class files in WEB-INF/classes folder. Rasto -Original Message- From: Krzysztof Janiszewski [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 17, 2002 1:46 PM To: Tomcat Users List Subject: reloadable Hi! I have little problem with re-compiling JSP pages by Tomcat after modyfing them. I have the following situation: file a.jsp which includes b.jsp I'm viewing a.jsp in browser, then I modify b.jsp and reload page in browser, but I can't see changes - b.jsp doesn't recompile :-( I have reloadable=true in my context. What to do? Best regards Krzysztof Janiszewski IT Partner http://www.it-partner.com.pl/ - oprogramowanie dla kawiarni internetowych http://www.fr.pl - webhosting -- Okresl Swoje potrzeby - my znajdziemy oferte za Ciebie! [ http://oferty.onet.pl ] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: reloadable
Hi! You must either modify and save a.jsp, or delete .java and .class files for a.jsp in Tomcat's work folder. Is there any other method? I can't give access to tomcat's work directory to my customer. Pozdrawiam Krzysztof Janiszewski IT Partner http://www.it-partner.com.pl/ - oprogramowanie dla kawiarni internetowych http://www.fr.pl - webhosting -- Znudzilo Ci sie logo w komorce? Wgraj nowe [ http://komorki.onet.pl/dodatki.html ] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: reloadable
I think there's nothing else to do - you have to modify the parent (including) jsp and save it - this way you change its timestamp and Tomcat recompiles it. -Original Message- From: Krzysztof Janiszewski [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 17, 2002 2:12 PM To: Tomcat Users List Subject: RE: reloadable Hi! You must either modify and save a.jsp, or delete .java and .class files for a.jsp in Tomcat's work folder. Is there any other method? I can't give access to tomcat's work directory to my customer. Pozdrawiam Krzysztof Janiszewski IT Partner http://www.it-partner.com.pl/ - oprogramowanie dla kawiarni internetowych http://www.fr.pl - webhosting -- Znudzilo Ci sie logo w komorce? Wgraj nowe [ http://komorki.onet.pl/dodatki.html ] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: reloadable
Hi! It seems there have been a couple of treads about it recently. I think you should search the archives of list. I don't use 'jsp' at all but there was something about different kinds of include in jsp. - Original Message - From: Krzysztof Janiszewski [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, January 17, 2002 3:12 PM Subject: RE: reloadable Hi! You must either modify and save a.jsp, or delete .java and .class files for a.jsp in Tomcat's work folder. Is there any other method? I can't give access to tomcat's work directory to my customer. Pozdrawiam Krzysztof Janiszewski IT Partner http://www.it-partner.com.pl/ - oprogramowanie dla kawiarni internetowych http://www.fr.pl - webhosting -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: reloadable
file a.jsp which includes b.jsp I'm viewing a.jsp in browser, then I modify b.jsp and reload page in browser, but I can't see changes - b.jsp doesn't recompile :-( Can you view b? If you do, it will recompile. Justin. -- You're only jealous cos the little penguins are talking to me. *** For more information on Ordnance Survey products and services, visit our web site at http://www.ordnancesurvey.co.uk *** -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: reloadable
Krzysztof Janiszewski [EMAIL PROTECTED] on 01/17/2002 06:46:17 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] cc: Subject: reloadable Hi! I have little problem with re-compiling JSP pages by Tomcat after modyfing them. I have the following situation: file a.jsp which includes b.jsp I'm viewing a.jsp in browser, then I modify b.jsp and reload page in browser, but I can't see changes - b.jsp doesn't recompile :-( I think you are using %@ include file=another_file.jsp % to include files. Use jsp:include/ instead. The former includes files during compile time whereas jsp:include.../ includes files during runtime. I have reloadable=true in my context. What to do? Best regards Krzysztof Janiszewski IT Partner http://www.it-partner.com.pl/ - oprogramowanie dla kawiarni internetowych http://www.fr.pl - webhosting Hope this helps. Thanks. RS -- Okresl Swoje potrzeby - my znajdziemy oferte za Ciebie! [ http://oferty.onet.pl ] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: reloadable
You have surely a problem with the date on ur server ? Tomcat also doesnt' get that it must recompile it because the date of the new file isn't more recent than the old... i don't know if it's the problem but it could be... Anthony MÜLLER, Développeur Internet HyperOffice 6, rue Jacques Daguerre 92565 Rueil-Malmaison Cedex Tel : +33 (0)1 41 96 96 85 [EMAIL PROTECTED] -Message d'origine- De : Krzysztof Janiszewski [mailto:[EMAIL PROTECTED]] Envoyé : Thursday, January 17, 2002 1:46 PM A : Tomcat Users List Objet : reloadable Hi! I have little problem with re-compiling JSP pages by Tomcat after modyfing them. I have the following situation: file a.jsp which includes b.jsp I'm viewing a.jsp in browser, then I modify b.jsp and reload page in browser, but I can't see changes - b.jsp doesn't recompile :-( I have reloadable=true in my context. What to do? Best regards Krzysztof Janiszewski IT Partner http://www.it-partner.com.pl/ - oprogramowanie dla kawiarni internetowych http://www.fr.pl - webhosting -- Okresl Swoje potrzeby - my znajdziemy oferte za Ciebie! [ http://oferty.onet.pl ] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: reloadable
One option which may or may not be more work is to create servlet that accepts a parameter filename and then changes the JSP's timedate to the current one. That way you wouldn't have to share out your work directory and all your customer would have to do is go to a reload page(HTML), enter in the servlet name, then submit the form. Presto Chango...the jsp now should be reloaded. Hope this helps. Tom. - Original Message - From: Rastislav Vasil [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: January 17, 2002 8:12 AM Subject: RE: reloadable I think there's nothing else to do - you have to modify the parent (including) jsp and save it - this way you change its timestamp and Tomcat recompiles it. -Original Message- From: Krzysztof Janiszewski [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 17, 2002 2:12 PM To: Tomcat Users List Subject: RE: reloadable Hi! You must either modify and save a.jsp, or delete .java and .class files for a.jsp in Tomcat's work folder. Is there any other method? I can't give access to tomcat's work directory to my customer. Pozdrawiam Krzysztof Janiszewski IT Partner http://www.it-partner.com.pl/ - oprogramowanie dla kawiarni internetowych http://www.fr.pl - webhosting -- Znudzilo Ci sie logo w komorce? Wgraj nowe [ http://komorki.onet.pl/dodatki.html ] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: reloadable=true in 4.01
Hi, It's working :) The only thing you should check is that your classes are in the directory myApp/WEB-INF/classes this is the only place TC looks for changed files. Amine - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 04, 2002 4:25 PM Subject: reloadable=true in 4.01 Hi guys, After looking at the examples context in server.xml and reading this, I have tried the following config. Context path=/myApp docBase=myApp debug=0 privileged=true reloadable=true / This is supposed to reload a servlet if the file has changed. Currently, the page never loads when I change the class file after Tomcat has started and loaded the first version of the class. When I first tried to get this going a week ago or so, I got a null pointer exception. Although, I don't have the actual exception to paste at this time unfortunately. This is with Tomcat 4.01. Does anyone have this working? I did not see this question in the archives of this mailing list so I assume it works for most people since this is probably the first thing anyone does when setting up Tomcat during the development phase. :-) Thanks, __ Joseph Chandler Software Engineer Franke Holding USA 305 Tech Park Drive La Vergne, TN 37086 USA Switchboard: +1-615-287-8243 Fax: +1-615-287-8343 mailto:[EMAIL PROTECTED] http://www.franke.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]