If reloadable="true" doesn't work, there isn't any more you can do. I don't believe the "reload" implemented by Tomcat 3.2.x is very reliable, though I haven't played enough with that feature in Tomcat 3.2.x to give you much detail. Both Tomcat 3.3 and I believe Tomcat 4.x restart the web application when changes are detected which is much more successful. You might consider upgrading.
Note: In Tomcat 3.3(a), the URLClassLoader used for the webapp classloader has problems with jar reloading (see Bugs 3644 and 5684). The current Tomcat 3.3.1-dev has a workaround to deal with this. Adding use11Loader="true" to the LoaderInterceptor11 entry will cause the webapp classloader to be the internal SimpleClassLoader normally used when running in JDK 1.1.8 environments. The SimpleClassLoader doesn't suffer from the problems found in URLClassLoader and is able to reload jars successfully. Cheers, Larry > -----Original Message----- > From: Hargurjit Singh Malhi [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 01, 2002 3:30 AM > To: [EMAIL PROTECTED] > Subject: Dynamic Loading Of Changed Classes > > > > Hi All, > I am using tomcat-3.2.4........ > > I have a XmlRpc servlet deployed and this in turn accesses > other classes(by > importing that package)... > > According to Tomcat documentation setting of the reloadable > variable in > server.xml affects the fact whether Tomcat is able to load > the recent class > file or not........but this is applicable to classes in > Web-inf\classes and > to Jars in Web- > inf\lib..... > > Can any one please tell me how can I make the Tomcat to load > the recent > version of other class files(in the package that is imported > in the servlet) > that the servlet invokes.....also I have a properties file(in > the same > package) ........do I need to restart the server everytime I > make a change > in this properties file........ > > Any suggestions are welcome....... > > Malhi > > > > _________________________________________________________________ > MSN Photos is the easiest way to share and print your photos: > http://photos.msn.com/support/worldwide.aspx > > > -- > 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]>
