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]

