JSPs each have their own classloader. But the beans they use get loaded by the parent classloader, which (I think) is the web-app classloader. So the answer should be what I said -- touch and reload a non-JSP servlet to clean out the previous image of the bean you want to reload. Scott > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 17, 2001 10:43 AM > To: JRun-Talk > Subject: RE: RE: Re: Auto Reloading of beans in a package > > > Actually, I'm using jsp, so it's not servlets, and I've tried > modifying the affected jsp files when I change a bean so that > the jsp gets recompiled. But what happens when you do that > is you get a > > Non Exception Throwable error. And this happens repeatedly. > > Travis > > ---- Original Message ---- > From: "Scott \"M.\" Stirling" <[EMAIL PROTECTED]> > Sent: 2001-01-17 06:31:15.0 > To: JRun-Talk <[EMAIL PROTECTED]> > Subject: RE: Re: Auto Reloading of beans in a package > > On 16 Jan 2001 22:56:14 -0700, wrote: > > Thanks for the response. At least now I know I'm sh*t out > of luck. Now how do you dump the classloader? > > > > Travis > > > If you are on UNIX, do "touch someServlet.class" to update its > timestamp. Then make an HTTP request to it. This will make > JRun reload > the servlet. When JRun reloads a servlet class, it first unloads the > entire classloader for the web-app in question, then creates a new one > and loads the servlet. If you're on Windows, use "touch" in Cygwin or > recompile the servlet or something to get its timestamp to update. > > Scott Stirling > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
