reload product without restarting zope ?
Hello ! Does anybody know, if and how it is possible to reload an already loaded Zope-Product (written in python) without restarting the Zope server over and over again. Thanx for help ! christoph
There's a product called "Refresh" that let's you do that.... it's also built into 2.4, I believe.
From: Christoph Wierling <wierling@molgen.mpg.de> Date: Fri, 31 Aug 2001 16:45:45 +0200 (MET DST) To: <zope@zope.org> Subject: [Zope] reload product without restarting zope ?
Hello !
Does anybody know, if and how it is possible to reload an already loaded Zope-Product (written in python) without restarting the Zope server over and over again.
Thanx for help !
christoph
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
marc lindahl wrote:
There's a product called "Refresh" that let's you do that.... it's also built into 2.4, I believe.
I could never get this to work in Zope 2.4. What gives? How's it supposed to work and does it? Do I have to start in debug mode or something? cheers, Chris
On Fri, 31 Aug 2001, Chris Withers wrote:
marc lindahl wrote:
There's a product called "Refresh" that let's you do that.... it's also built into 2.4, I believe.
I could never get this to work in Zope 2.4. What gives? How's it supposed to work and does it? Do I have to start in debug mode or something?
For me it works fine with Zope 2.4.1b1 in debug mode (but I don't know, if debug mode is necessary). What you have to do, is to put a file called 'refresh.txt' into your product-root-directory --- without this it won't work. best wishes, christoph
Chris, I put a text file in the product's folder called refresh.txt. The file was empty. That seems to work with most things, but I haven't tested it extensively. I think I restarted the server after putting the refresh.txt file up, then went to the ZMI and hit the refresh tab to get the interface. ken
I could never get this to work in Zope 2.4. What gives? How's it supposed to work and does it? Do I have to start in debug mode or something?
Chris Withers wrote:
marc lindahl wrote:
There's a product called "Refresh" that let's you do that.... it's also built into 2.4, I believe.
I could never get this to work in Zope 2.4. What gives? How's it supposed to work and does it? Do I have to start in debug mode or something?
Since you're migrating a Data.fs from a previous version, you might have to delete your file-base products from the control panel for the "refresh" tab to show up. The reason is historical and ugly. :-) Shane
participants (5)
-
Chris Withers -
Christoph Wierling -
ken bolton -
marc lindahl -
Shane Hathaway