I found out what the error was. Our Antivirus software was locking the .class files C:/CFusionMX/wwwroot/WEB-INF/cfclasses/ directory. This prevented the recompilation of the of any changes made to pages, and also prevent being able to delete the class file so that it would automatically do it.
I found this out by using the following program that show what programs a accessing files on a machine. http://www.sysinternals.com/ntw2k/freeware/handle.shtml Thanks for the help > The only workaround for this sort of thing was deleting the class file that was > stored and letting it > recompile. > > Just to note - you can often just restart the CF service, rather than the whole > machine in situations like > this, and it's a MUCH shorter downtime. > > Mark > ------------------------------------------------------------------ > E: [EMAIL PROTECTED] > W: www.compoundtheory.com > ICQ: 3094740 > > > Quoting Stephen Milligan <[EMAIL PROTECTED]>: > > > This looks like an issue that was quite common prior to CFMX 6.1. > > > > I don't remember what the workaround was, if any, but upgrading to 6.1 > > should get rid of it. > > > > It will also lead to significantly increased performance and stability. Not > > to mention squashing quite a few other bugs that you're likely to run into. > > > > There are generally very few issues if you upgrade, but it's recommended > > that you put the code through some QA testing on a separate server before > > upgrading the live one. > > > > Spike > > > > -------------------------------------------- > > Stephen Milligan > > Code poet for hire > > http://www.spike.org.uk > > > > Do you cfeclipse? http://cfeclipse.tigris.org > > > > > > > > > > >-----Original Message----- > > >From: [EMAIL PROTECTED] > > >[mailto:[EMAIL PROTECTED] On Behalf Of > > >Mark Bayfield > > >Sent: Wednesday, June 23, 2004 4:21 PM > > >To: CFAussie Mailing List > > >Subject: [cfaussie] Java compiler Error: Unable to write file > > > > > >Hi, > > >I have been receiveing the following error message lately and I am not > > >sure why. Has anyone seen it before and know how to fix it. > > >The only way I have worked out how to fix it is to do a server > > >re-boot. > > > > > >I am running W2k server, IIS, with CFMX (updater 3). > > > > > > Errors reported by Java compiler: Found 1 semantic error compiling > > >"C:/CFusionMX/wwwroot/WEB-INF/cfclasses/cfpromo_en2ecfm11781359 > > 11.java": ><-------------------------------------------------------------- > > >----------------- 1. public final class > > >cfpromo_en2ecfm1178135911 extends coldfusion.runtime.CFPage{ . > > >. . 46. } // cfpromo_en2ecfm1178135911 > *** Error: Unable to > > >write file > > >"C:/CFusionMX/wwwroot/WEB-INF/cfclasses/cfpromo_en2ecfm11781359 > > 11.class". > > > > > >Any help would be great, as I can't keep re-booting production machines > > >daily. > > >Thanks > > >Mark > > > > > >--- > > >You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > > >To unsubscribe send a blank email to > > >[EMAIL PROTECTED] > > >Aussie Macromedia Developers: http://lists.daemon.com.au/ > > > > > > --- > > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > > To unsubscribe send a blank email to [EMAIL PROTECTED] > > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > > > > > --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
