Anthony Wong wrote:
> Thanks for verifying the case. It's been mind-boggling. I couldn't
> understand why it behaved that way ever since I started using CFMX. Such
> didn't happen in CF 5 cos there isn't any compilation and caching
> of servlet class to the server's memory.

While they weren't compiled to Java .class files, ColdFusion versions prior
to MX *did* IIRC  "compile" the CFM files to its own internal PCode format.
I don't know enough about the inner workings of the CF application server to
know if the same problem applies, but I've encountered some times where CFM
files wouldn't work as expected unless I added a space to a file and resaved
(i.e., updated the file's timestamp, so I suspect that earlier version had
the same problem.

> I'm not familiar with Touch utils. Correct me if i'm wrong, it is a util
to
> update the file's timestamp to the current system time. And thus, CFMX
> server would be able to detect the 'new' files and recompile them. Sounds
> like a good solution. I'll give it a try.

The classic touch utility allows the user to set a file's last accessed and
last modified timestamps to either the current date/time or to the date/time
specified on the command-line.  It would also create a zero byte file with
the specified name if a file with that name does not yet exist.

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 625-9191
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to