RE: experthost.com cfmx
The fix in this case is to delete the compiled class, which would be in /WEB-INF/cfclasses. Unfortunately, you probably don't have access to that directory. Since the compiled .class files contain the original template location as a string (at about byte 100) it should be do-able for a webhost to provide an interface from which people can delete these classes. And I presume there must be some hook into the runtimeservice that allows you to flush whatever is cached in memory. Actually, you shouldn't even need to read the content of the class file. The class file name itself contains a hash of the original file name. Matt Liotta posted this to another list recently: The below Java class should get you pretty close. I know of one special case where it won't work, but the name will be close enough not to matter. import java.io.*; public class FileUtil { public static void main(String[] args) { System.out.println(findClass(args[0])); } public static String findClass(String path) { File file = new File(path); String name = file.getName(); StringBuffer buf = new StringBuffer(name.length() + 20); String className = cf + name.substring(0, name.length()-4) + 2e + name.substring(name.length()-3); int code = file.hashCode(); if(code 0) code = ~code; return className + code + .class; } } I compiled it, and it worked fine. Just feed it the fully-qualified file path and name as an argument. Thanks go to Matt for that. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: experthost.com cfmx
Dave Watts wrote: CFMX compiles your .cfm files to Java class files. When you change the .cfm file, CFMX compares the timestamp of the .cfm to the timestamp of the class, and recompiles if the .cfm has a newer timestamp. However, apparently there are some situations where that doesn't work correctly. Like if there is no newer file because it was renamed or deleted. The fix in this case is to delete the compiled class, which would be in /WEB-INF/cfclasses. Unfortunately, you probably don't have access to that directory. Since the compiled .class files contain the original template location as a string (at about byte 100) it should be do-able for a webhost to provide an interface from which people can delete these classes. And I presume there must be some hook into the runtimeservice that allows you to flush whatever is cached in memory. But all of these are just workarounds, it really is up to MM to fix it: http://www.macromedia.com/support/email/wishform/?6213=3 Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: experthost.com cfmx
it sounds like we are all barking up the same tree on the issue, however its not consistent either. it's a situation whereby sometimes, on some code changes, ill send the new file up, and I hit shift+Refresh, and I get a new version of the fileother times, not. well, if anyone has any clues.. [EMAIL PROTECTED] :) please email them. thanks! ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 5:03 AM To: CF-Talk Subject: Re: experthost.com cfmx Dave Watts wrote: CFMX compiles your .cfm files to Java class files. When you change the .cfm file, CFMX compares the timestamp of the .cfm to the timestamp of the class, and recompiles if the .cfm has a newer timestamp. However, apparently there are some situations where that doesn't work correctly. Like if there is no newer file because it was renamed or deleted. The fix in this case is to delete the compiled class, which would be in /WEB-INF/cfclasses. Unfortunately, you probably don't have access to that directory. Since the compiled .class files contain the original template location as a string (at about byte 100) it should be do-able for a webhost to provide an interface from which people can delete these classes. And I presume there must be some hook into the runtimeservice that allows you to flush whatever is cached in memory. But all of these are just workarounds, it really is up to MM to fix it: http://www.macromedia.com/support/email/wishform/?6213=3 Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: experthost.com cfmx
I have used them, no problems at all Thanks! Robert Bailey Famous for nothing -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 11:18 PM To: CF-Talk Subject: experthost.com cfmx is anyone else out there, using experthost.com to host your sites, on one of their cfmx servers and noticed that sometimes when you ftp a file over that when you refresh in your browser, you wont see the new file, and sometimes, you can delete the file refresh, and it still shows the old cached version? i emailed them and they told me that it was a cfmx bug, and that they werent sure of a fix? thanks! tony tony weeg [EMAIL PROTECTED] www.revolutionwebdesign.com rEvOlUtIoN wEb DeSiGn 410.334.6331 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: experthost.com cfmx
h. when was the last domain you put on there? I have no problems,with the domains that I have on their cf5 servers, its just the new cfmx servers. ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Robert Bailey [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 8:55 AM To: CF-Talk Subject: RE: experthost.com cfmx I have used them, no problems at all Thanks! Robert Bailey Famous for nothing -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 11:18 PM To: CF-Talk Subject: experthost.com cfmx is anyone else out there, using experthost.com to host your sites, on one of their cfmx servers and noticed that sometimes when you ftp a file over that when you refresh in your browser, you wont see the new file, and sometimes, you can delete the file refresh, and it still shows the old cached version? i emailed them and they told me that it was a cfmx bug, and that they werent sure of a fix? thanks! tony tony weeg [EMAIL PROTECTED] www.revolutionwebdesign.com rEvOlUtIoN wEb DeSiGn 410.334.6331 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: experthost.com cfmx
Last domain I put on there was about 2 months ago, CFMX. Has not had any problems at all, except some wacky CFFILE problem which is gone now Thanks! Robert Bailey Famous for nothing -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 9:14 AM To: CF-Talk Subject: RE: experthost.com cfmx h. when was the last domain you put on there? I have no problems,with the domains that I have on their cf5 servers, its just the new cfmx servers. ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Robert Bailey [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 8:55 AM To: CF-Talk Subject: RE: experthost.com cfmx I have used them, no problems at all Thanks! Robert Bailey Famous for nothing -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 11:18 PM To: CF-Talk Subject: experthost.com cfmx is anyone else out there, using experthost.com to host your sites, on one of their cfmx servers and noticed that sometimes when you ftp a file over that when you refresh in your browser, you wont see the new file, and sometimes, you can delete the file refresh, and it still shows the old cached version? i emailed them and they told me that it was a cfmx bug, and that they werent sure of a fix? thanks! tony tony weeg [EMAIL PROTECTED] www.revolutionwebdesign.com rEvOlUtIoN wEb DeSiGn 410.334.6331 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: experthost.com cfmx
Sounds like they have Trusted Cache turned on in the administrator. Ask them about that setting... chris -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 8:18 PM To: CF-Talk Subject: experthost.com cfmx is anyone else out there, using experthost.com to host your sites, on one of their cfmx servers and noticed that sometimes when you ftp a file over that when you refresh in your browser, you wont see the new file, and sometimes, you can delete the file refresh, and it still shows the old cached version? i emailed them and they told me that it was a cfmx bug, and that they werent sure of a fix? thanks! tony tony weeg [EMAIL PROTECTED] www.revolutionwebdesign.com rEvOlUtIoN wEb DeSiGn 410.334.6331 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: experthost.com cfmx
already did, no dice. that was my first question to them. i know...odd... -Original Message- From: Chris Kief [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 11:22 PM To: CF-Talk Subject: RE: experthost.com cfmx Sounds like they have Trusted Cache turned on in the administrator. Ask them about that setting... chris -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 8:18 PM To: CF-Talk Subject: experthost.com cfmx is anyone else out there, using experthost.com to host your sites, on one of their cfmx servers and noticed that sometimes when you ftp a file over that when you refresh in your browser, you wont see the new file, and sometimes, you can delete the file refresh, and it still shows the old cached version? i emailed them and they told me that it was a cfmx bug, and that they werent sure of a fix? thanks! tony tony weeg [EMAIL PROTECTED] www.revolutionwebdesign.com rEvOlUtIoN wEb DeSiGn 410.334.6331 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: experthost.com cfmx
how many days has it been? Dave - Original Message - From: Tony Weeg [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, February 11, 2003 11:24 PM Subject: RE: experthost.com cfmx already did, no dice. that was my first question to them. i know...odd... -Original Message- From: Chris Kief [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 11:22 PM To: CF-Talk Subject: RE: experthost.com cfmx Sounds like they have Trusted Cache turned on in the administrator. Ask them about that setting... chris -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 8:18 PM To: CF-Talk Subject: experthost.com cfmx is anyone else out there, using experthost.com to host your sites, on one of their cfmx servers and noticed that sometimes when you ftp a file over that when you refresh in your browser, you wont see the new file, and sometimes, you can delete the file refresh, and it still shows the old cached version? i emailed them and they told me that it was a cfmx bug, and that they werent sure of a fix? thanks! tony tony weeg [EMAIL PROTECTED] www.revolutionwebdesign.com rEvOlUtIoN wEb DeSiGn 410.334.6331 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: experthost.com cfmx
I've not had that exposure with them. Actually, to be fair, I've noticed no issues with them for awhile, but we had more than a few bumps with them upfront. Russ (hosting CFMX sites on a small, no-name server for fair rates) -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 10:18 PM To: CF-Talk Subject: experthost.com cfmx is anyone else out there, using experthost.com to host your sites, on one of their cfmx servers and noticed that sometimes when you ftp a file over that when you refresh in your browser, you wont see the new file, and sometimes, you can delete the file refresh, and it still shows the old cached version? i emailed them and they told me that it was a cfmx bug, and that they werent sure of a fix? thanks! tony tony weeg [EMAIL PROTECTED] www.revolutionwebdesign.com rEvOlUtIoN wEb DeSiGn 410.334.6331 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: experthost.com cfmx
stuff im workin on tonight :) tw -Original Message- From: Dave Lyons [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 11:28 PM To: CF-Talk Subject: Re: experthost.com cfmx how many days has it been? Dave - Original Message - From: Tony Weeg [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, February 11, 2003 11:24 PM Subject: RE: experthost.com cfmx already did, no dice. that was my first question to them. i know...odd... -Original Message- From: Chris Kief [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 11:22 PM To: CF-Talk Subject: RE: experthost.com cfmx Sounds like they have Trusted Cache turned on in the administrator. Ask them about that setting... chris -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 8:18 PM To: CF-Talk Subject: experthost.com cfmx is anyone else out there, using experthost.com to host your sites, on one of their cfmx servers and noticed that sometimes when you ftp a file over that when you refresh in your browser, you wont see the new file, and sometimes, you can delete the file refresh, and it still shows the old cached version? i emailed them and they told me that it was a cfmx bug, and that they werent sure of a fix? thanks! tony tony weeg [EMAIL PROTECTED] www.revolutionwebdesign.com rEvOlUtIoN wEb DeSiGn 410.334.6331 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: experthost.com cfmx
i've had issues similar before on asp sites on windows servers and the server just had to be flushed. Most are set to do it every 24 hours. its always something stupid like that Dave - Original Message - From: Tony Weeg [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, February 11, 2003 11:29 PM Subject: RE: experthost.com cfmx stuff im workin on tonight :) tw -Original Message- From: Dave Lyons [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 11:28 PM To: CF-Talk Subject: Re: experthost.com cfmx how many days has it been? Dave - Original Message - From: Tony Weeg [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, February 11, 2003 11:24 PM Subject: RE: experthost.com cfmx already did, no dice. that was my first question to them. i know...odd... -Original Message- From: Chris Kief [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 11:22 PM To: CF-Talk Subject: RE: experthost.com cfmx Sounds like they have Trusted Cache turned on in the administrator. Ask them about that setting... chris -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 8:18 PM To: CF-Talk Subject: experthost.com cfmx is anyone else out there, using experthost.com to host your sites, on one of their cfmx servers and noticed that sometimes when you ftp a file over that when you refresh in your browser, you wont see the new file, and sometimes, you can delete the file refresh, and it still shows the old cached version? i emailed them and they told me that it was a cfmx bug, and that they werent sure of a fix? thanks! tony tony weeg [EMAIL PROTECTED] www.revolutionwebdesign.com rEvOlUtIoN wEb DeSiGn 410.334.6331 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: experthost.com cfmx
is anyone else out there, using experthost.com to host your sites, on one of their cfmx servers and noticed that sometimes when you ftp a file over that when you refresh in your browser, you wont see the new file, and sometimes, you can delete the file refresh, and it still shows the old cached version? i emailed them and they told me that it was a cfmx bug, and that they werent sure of a fix? If this is what I think it is, it's a known issue that may occur regardless of your host. CFMX compiles your .cfm files to Java class files. When you change the .cfm file, CFMX compares the timestamp of the .cfm to the timestamp of the class, and recompiles if the .cfm has a newer timestamp. However, apparently there are some situations where that doesn't work correctly. The fix in this case is to delete the compiled class, which would be in /WEB-INF/cfclasses. Unfortunately, you probably don't have access to that directory. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4