If you cycle the server, then your memory cache will be cleared, and CF
should check the CF source code before automatically reloading the compiled
templates in /WEB-INF/cfclasses. In other words, clearing the
/WEB-INF/cfclasses directory should be superflous, but if it's not a big
deal, then definitely do it, just to be safe.
Cheers,
barneyb
> -----Original Message-----
> From: Jon Block [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 04, 2004 1:31 PM
> To: CF-Talk
> Subject: RE: del * C:\CFusionMX\wwwroot\WEB-INF\cfclasses\
>
> Barney -
>
> Since my source code is on mapped network drives, *I keep
> trusted cache on*.
> So how about this sequence of events:
>
> 1) I turn the ColdFusionMX Service OFF
> 2) I delete all of the class files (del *
> C:\CFusionMX\wwwroot\WEB-INF\cfclasses\)
> 3) I turn the ColdFusionMX Service ON
>
> What I am looking to accomplish is I want to make sure that all of the
> source code gets recompiled and there is no chance any
> updated files don't
> get picked up. This is slightly confusing because I keep
> trusted cache on.
>
> Thanks,
> Jon
> -----Original Message-----
> From: Barney Boisvert [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 04, 2004 4:10 PM
> To: CF-Talk
> Subject: RE: del * C:\CFusionMX\wwwroot\WEB-INF\cfclasses\
>
>
> That won't work. CF maintains a copy of as many templates
> as you let it
> in
> memory. The files in that directory are only used if the requested
> template
> is not already in the memory cache (notably on server
> startup). You'll
> have
> to either let the templates refresh themselves as needed
> (it'll happen on
> the first request, if trusted cache isn't enabled), or just
> cycle each
> server after applying the updates. If you're running in a
> cluster, then
> it's a snap to do the latter.
>
> Cheers,
> barneyb
>
> > -----Original Message-----
> > From: Jon Block [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, March 04, 2004 12:57 PM
> > To: CF-Talk
> > Subject: del * C:\CFusionMX\wwwroot\WEB-INF\cfclasses\
> >
> > Sometimes I make updates to my source code that I want to
> have applied
> > against my production cluster of servers. If I simply remove
> > the class files
> > in "C:\CFusionMX\wwwroot\WEB-INF\cfclasses", will that cause
> > the application
> > server to re-compile the missing source code? The reason I am
> > considering
> > doing this is because I periodically update dozens of files
> > that are used by
> > several machines. It is not feasible for me to attempt to
> > manually invoke
> > the updated files through a web page. I need the "cache to
> > drop" really...
> >
> > Jon
> >
> >
> >
>
>
>
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- Re: OT: FTP client recommendations? Phillip B
- Re: FTP client recommendations? Kevin Graeme
- Re: FTP client recommendations? Jim McAtee
- RE: FTP client recommendations? Barney Boisvert
- Re: FTP client recommendations? Butch Zaccheo
- RE: FTP client recommendations? r-t krempetz
- RE: FTP client recommendations? Rob
- del * C:\CFusionMX\wwwroot\WEB-INF\cfclas... Jon Block
- RE: del * C:\CFusionMX\wwwroot\WEB-I... Barney Boisvert
- RE: del * C:\CFusionMX\wwwroot\WEB-I... Jon Block
- Re: FTP client recommendations? Barney Boisvert
- Re: FTP client recommendations? Hugo Ahlenius
- RE: FTP client recommendations? jeff