How do you start and stop zope in windows
I have found in my zope\bin directory a runzope.bat .this is great it works well. The only way I get the app server to stop is by doing CTRL-C. Ouch . there has got to be a nicer way . and please don't say use zopectl . from what I can gather it only works on unix or if you want me to use this in windows what are the commands?? ____________________________________________ Peter Millar Technical Project Manager Parasyn Controls Pty Ltd Peter.Millar@Parasyn.com.au T: 61 7 3396 6388 F: 61 7 3396 6299 45 Millenium Place, Tingalpa QLD 4173 PO Box 400 Cannon Hill QLD 4170 Australia www.parasyn.com.au <http://www.parasyn.com.au/>
If you are using Windows 2K/XP, you can run Zope as a service. The installer allows you to install a service for the default instance. I believe you can run the installer again to just install another instance (and not the Zope software home files) if necessary. If you are using W98, I'm afraid you'll need to start Zope via a DOS box. - C On Wed, 2004-03-10 at 23:07, Peter Millar wrote:
I have found in my zope\bin directory a runzope.bat …this is great it works well. The only way I get the app server to stop is by doing CTRL-C. Ouch … there has got to be a nicer way … and please don't say use zopectl … from what I can gather it only works on unix or if you want me to use this in windows what are the commands??
____________________________________________ Peter Millar Technical Project Manager Parasyn Controls Pty Ltd
Peter.Millar@Parasyn.com.au T: 61 7 3396 6388 F: 61 7 3396 6299 45 Millenium Place, Tingalpa QLD 4173 PO Box 400 Cannon Hill QLD 4170 Australia www.parasyn.com.au
______________________________________________________________________ _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
The Plone XController has a wrapper so that if its not running as a service its run as an icon in the taskbar and has a stop option that performs a shutdown. I've never tried it with straight Zope but it could be possible. By the way I've never had any problems with corrupted Zope or ZODB by killing the DOS prompt, so long as this isnt a production life or death box, dont worry about it ;) -- Andy McKay ClearWind Consulting http://www.clearwind.ca
Andy McKay wrote:
By the way I've never had any problems with corrupted Zope or ZODB by killing the DOS prompt, so long as this isnt a production life or death box, dont worry about it ;)
Likewise, and I'm pretty mean to Zope sometimes, and yet it's still been fine... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
At 02:07 PM 3/11/2004 +1000, Peter Millar wrote:
I have found in my zope\bin directory a runzope.bat &this is great it works well. The only way I get the app server to stop is by doing CTRL-C. Ouch & there has got to be a nicer way & and please don't say use zopectl & from what I can gather it only works on unix or if you want me to use this in windows what are the commands??
I quit developing on my WinXP laptop a few months ago, but I believe I was starting it as you are (command line), but stopping it using the Zope (ZMI) Control Panel, by hitting the Shutdown button. This was mentioned in a post yesterday, I believe, but it may have slipped past unnoticed. I used Zope as a Win XP service at first, but didn't like the overhead it seemed to add when not developing... I have a vivid imagination. =Paul
Peter Millar wrote:
I have found in my zope\bin directory a runzope.bat …this is great it works well. The only way I get the app server to stop is by doing CTRL-C. Ouch … there has got to be a nicer way … and please don't say use zopectl … from what I can gather it only works on unix or if you want me to use this in windows what are the commands??
You can stop or restart Zope TTW in the Control Panel. But... I think that Ctrl-C initiates a controlled shutdown, so unless you have an aesthetic objection, it's okay. --jcc -- "My point and period will be throughly wrought, Or well or ill, as this day's battle's fought."
participants (6)
-
Andy McKay -
Chris McDonough -
Chris Withers -
J. Cameron Cooper -
Paul Howell -
Peter Millar