On the timestamp issues brought up by Joe, does CFMX checks the time stamp
between the .cfm file and the .class file to see if the .cfm file should be
compiled? Is that the mechanism?

I understand that if a newer cfm file is loaded into the server, CFMX will
automically recompile and store the servlet in the server cache. In the case
if an older but exact cfm file was being reloaded into the same server, CFMX
doesn't seem to be reconized this change (class file is newer than the cfm
file now). Would that be true? I'm having such a problem each time i had to
change the files for demo. Having to delete the class files in the
web-inf/classes and restart the server each time is quite cumbersome after
doing it for dozens of times.

Any insights? Thanks.

Anthony

-----Original Message-----
From: Sean A Corfield [mailto:sean@;corfield.org]
Sent: Sunday, November 10, 2002 3:57 AM
To: CF-Talk
Subject: Re: CFMX & Classes


On Saturday, Nov 9, 2002, at 10:12 US/Pacific, Joe Eugene wrote:
> I have a slightly different question..
> Is there a way to Hot Load the Java Classes or Bean in CFMX...i mean
> force to check for timeStamp on files and load the current *.class?

I think the consensus was: place the files in /WEB-INF/lib/ and then
enable the hotload setting in the appropriate XML config file (search
the archives for more details - I don't have them to hand).

> Do you how this is done in other Web Application Servers(WebSphere
> etc?)

No.

> I think this was asked before but no real solutions came out.

I think the solution was as above but I don't have time right now to
check the archive myself as I'm about to run out for lunch!


"Conform! Consume! Obey!"
-- Mr Snaffleburger : http://www.matazone.co.uk/theotherside.html


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to