Newbie needs help
Hi Experts, sorry for bothering you with my you with my question - I have read only rough pieces of the Zope documentation, but my problem affects Zope only in a very limited context: I am responsible to prepare a server for the (academic) presentation of an internet-application running on a tomcat servlet container. One of the included frameworks (the Open Source Flash-Remoting Service 'OpenAMF') is still in a very early development state, and I could not persuade it to function properly on a port different to 8080, Tomcats default port. Unfortunately there is another Web-application deployed to this server (by another academic group, which is currently unavailable): Zope has currently the port 8080 tied to its services. Since I do not know anything about the Zope applications architecture or even installation I am asking you for advice on how to disable Zopes service temporarily. I could imagine to 'simply' change the Zope port for the next two weeks, but i guess for an expert arise even more and surely more intelligent ideas. My ideal solution would limit changes to comments on one or two lines of code in a 'reusable' manner. Of course I could sudo kill zope-*.py and change tomcats config towards 8080, but that way I had to screw around with obfuscated bash.sh scripts. Isn't there a way that is far more obvious to roll back for the Zope-teams administrator after my presentation? Again sorry for not studying the documentation extensively.. I hope very much you have a recommendation for me. Thank you in advance, Marc Scheib
Hi Marc, Marc Scheib wrote:
Since I do not know anything about the Zope applications architecture or even installation I am asking you for advice on how to disable Zopes service temporarily.
But you do not tell us what platform you are on! If Windoze, you could simply stop the service...
I could imagine to 'simply' change the Zope port for the next two weeks, but i guess for an expert arise even more and surely more intelligent ideas.
The orthodox solution would be to change Zope's port and run both Zope and Tomcat behind Apache. We do this in production, and Apache's proxy and rewrite facilities make it seamless to the user (on port 80).
My ideal solution would limit changes to comments on one or two lines of code in a 'reusable' manner. Of course I could sudo kill zope-*.py and change tomcats config towards 8080, but that way I had to screw around with obfuscated bash.sh scripts. Isn't there a way that is far more obvious to roll back for the Zope-teams administrator after my presentation?
I'd change the port in zope.conf for a quick bodge (You do not tell us what Zope version either - this may not apply to older versions...).
Again sorry for not studying the documentation extensively.. I hope very much you have a recommendation for me.
You may have to accept that to safely manage Zope you may need to learn a little more about it...at least to the extent of reading the readme files installed with the product. -- Regards, PhilK Email: phil@xfr.co.uk / Voicemail & Facsimile: 07092 070518 "The lyf so short, the craft so long to learne" - Chaucer
To change the port number in Zope is way simple, and whether there aren't app scripts calling explicitly urls with its current port, everything will work fine. Provided Zope was installed using defaults, you just find the "z2.py" in the Zope installation folder, and edit the line "HTTP_PORT=8080" to the port number that you want. Then you kill Zope, and restart it using /start & Ausum ----- Original Message ----- From: "Marc Scheib" <marc@mindbomb.de> To: <zope@zope.org> Sent: Tuesday, July 06, 2004 5:41 PM Subject: [Zope] Newbie needs help
Hi Experts,
sorry for bothering you with my you with my question - I have read only rough pieces of the Zope documentation, but my problem affects Zope only in a very limited context:
I am responsible to prepare a server for the (academic) presentation of an internet-application running on a tomcat servlet container. One of the included frameworks (the Open Source Flash-Remoting Service 'OpenAMF') is still in a very early development state, and I could not persuade it to function properly on a port different to 8080, Tomcats default port.
Unfortunately there is another Web-application deployed to this server (by another academic group, which is currently unavailable): Zope has currently the port 8080 tied to its services.
Since I do not know anything about the Zope applications architecture or even installation I am asking you for advice on how to disable Zopes service temporarily.
I could imagine to 'simply' change the Zope port for the next two weeks, but i guess for an expert arise even more and surely more intelligent ideas.
My ideal solution would limit changes to comments on one or two lines of code in a 'reusable' manner. Of course I could sudo kill zope-*.py and change tomcats config towards 8080, but that way I had to screw around with obfuscated bash.sh scripts. Isn't there a way that is far more obvious to roll back for the Zope-teams administrator after my presentation?
Again sorry for not studying the documentation extensively.. I hope very much you have a recommendation for me.
Thank you in advance, Marc Scheib
_______________________________________________ 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 )
participants (3)
-
Ausum Studio -
Marc Scheib -
Philip Kilner