-
1. Re: How To Re-Compile ONE Component in Real-Time Without CF Restart?
BKBK May 8, 2014 1:06 PM (in response to WiWildcat)Changing the code may be sufficient.
-
2. Re: How To Re-Compile ONE Component in Real-Time Without CF Restart?
WiWildcat May 8, 2014 1:15 PM (in response to BKBK)I wish it was; if that were true, I wouldn't have asked this question. Changes I make are not immediately reflected on our busy system. I found a reinit routine that someone wrote that works, but apparently it only works for the person who ran the reinit. Only a cf restart takes care of the whole shebang for everyone. RLS
-
3. Re: How To Re-Compile ONE Component in Real-Time Without CF Restart?
BKBK May 8, 2014 3:12 PM (in response to WiWildcat)Another obvious suggestion: using cfcompile.
-
4. Re: How To Re-Compile ONE Component in Real-Time Without CF Restart?
WiWildcat May 8, 2014 3:30 PM (in response to BKBK)You have quite the memory, there, BKBK. I'm sure I ran into this long ago and just simply forgot about it.
Will try! Thanks!
RLS
-
5. Re: How To Re-Compile ONE Component in Real-Time Without CF Restart?
WiWildcat May 8, 2014 8:38 PM (in response to BKBK)Well, BKBK, it was a good thought, but that still doesn't update the Services dynamically.
RLS
-
6. Re: How To Re-Compile ONE Component in Real-Time Without CF Restart?
BKBK May 9, 2014 4:49 AM (in response to WiWildcat)What about opening the modified CFC in the browser, as you would a CFM page? It will force ColdFusion to open it with cfcexplorer, and to compile it.
-
7. Re: How To Re-Compile ONE Component in Real-Time Without CF Restart?
BKBK May 9, 2014 5:09 AM (in response to WiWildcat)Yet another suggestion. It might help to uncheck the following settings in the Cache page in the Administrator:
Trusted cache
Cache template in request
Component cache
-
8. Re: How To Re-Compile ONE Component in Real-Time Without CF Restart?
WiWildcat May 9, 2014 6:09 AM (in response to BKBK)I like this idea and will give it a shot next time for sure. It would be so nice to find a way to do that without having to restart CF in Production to make a hotfix.
I will review those settings to see what the impact might be. I wouldn't want to affect long-term efficiency for short-term occasional satisfaction.
BKBK, thank you very much for your help and suggestions!
RLS
-
9. Re: How To Re-Compile ONE Component in Real-Time Without CF Restart?
WiWildcat May 9, 2014 6:13 AM (in response to BKBK)The first one is already not checked, wondering if it should be.
I see that none of them require a restart. It could be that unchecking them, exercising the component, then re-checking them could perhaps cause them to recompile.
Thanks again!
RLS

