RE: [Zope] Xron on Zope v.2.3.1
Jerry S. said:
I'm seeing some odd symptoms running Xron jobs on the stable release. The schedule time seems to be updating itself, but the processes don't seem to be running.
to which Loren responded:
Anything of interest in STUPID_LOG_FILE?
Actually, I intentionally created these processes to be "outputless", since the Xron doc says: "Any output produced by a XronDTMLMethod is written to the log. A XronDTMLMethod does not have to produce output, but if it does produce output, it may need to set the response headers." Since I don't have very complete access to the host, and can't even read the start and stop scripts, let alone configure them, this seemed like the best approach. Now the disadvantages are starting to show up. After seeing your post about installing "Refresh", and re-naming Xron's __init__, restarting Zope, and "Refresh-ing", it seemed to be worth a try. When "Refresh" unzipped it created a subfolder under the Zope "root". Then it didn't do what I expected because no "Refresh" tabs showed up. That's another topic, though. To test the "fact" that the times keep updating, I tried setting a very short interval. Now it's clear they are not updating so it looks like Xron is "locked" after all. I'll let you know if anything changes. Thanks for your reply, Jerry S.
If you have FTP access to the Zope "products" directory and "var" directory you can use the FrozenLogger product to set STUPID_LOG_FILE and start logging. Even tho your methods don't create output, Xron logs every scheduled event and shows any errors that might occur. -- Loren
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Spicklemire, Jerry Sent: Wednesday, April 04, 2001 16:32 To: 'Loren Stafford'; Spicklemire, Jerry; zope@zope.org Subject: RE: [Zope] Xron on Zope v.2.3.1
Jerry S. said:
I'm seeing some odd symptoms running Xron jobs on the stable release. The schedule time seems to be updating itself, but the processes don't seem to be running.
to which Loren responded:
Anything of interest in STUPID_LOG_FILE?
Actually, I intentionally created these processes to be "outputless", since the Xron doc says:
"Any output produced by a XronDTMLMethod is written to the log. A XronDTMLMethod does not have to produce output, but if it does produce output, it may need to set the response headers."
Since I don't have very complete access to the host, and can't even read the start and stop scripts, let alone configure them, this seemed like the best approach. Now the disadvantages are starting to show up.
After seeing your post about installing "Refresh", and re-naming Xron's __init__, restarting Zope, and "Refresh-ing", it seemed to be worth a try. When "Refresh" unzipped it created a subfolder under the Zope "root". Then it didn't do what I expected because no "Refresh" tabs showed up. That's another topic, though.
To test the "fact" that the times keep updating, I tried setting a very short interval. Now it's clear they are not updating so it looks like Xron is "locked" after all. I'll let you know if anything changes.
Thanks for your reply, Jerry S.
_______________________________________________ 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 )
Something Loren e-mailed me a few weeks ago spurred me to check the permissions Xron has as it runs--it basically runs as an anonymous user and has to have a proxy permission setting in order to perform certain operations. This doesn't apply when you're logged in and triggering the method since it's then running as "you." -- Chris Muldrow, muldrow@mac.com
From: "Spicklemire, Jerry" <Jerry.Spicklemire@IFLYATA.COM> Date: Wed, 4 Apr 2001 18:31:53 -0500 To: "'Loren Stafford'" <lstafford@morphics.com>, "Spicklemire, Jerry"<Jerry.Spicklemire@IFLYATA.COM>, zope@zope.org Subject: RE: [Zope] Xron on Zope v.2.3.1
Jerry S. said:
I'm seeing some odd symptoms running Xron jobs on the stable release. The schedule time seems to be updating itself, but the processes don't seem to be running.
to which Loren responded:
Anything of interest in STUPID_LOG_FILE?
Actually, I intentionally created these processes to be "outputless", since the Xron doc says:
"Any output produced by a XronDTMLMethod is written to the log. A XronDTMLMethod does not have to produce output, but if it does produce output, it may need to set the response headers."
Since I don't have very complete access to the host, and can't even read the start and stop scripts, let alone configure them, this seemed like the best approach. Now the disadvantages are starting to show up.
After seeing your post about installing "Refresh", and re-naming Xron's __init__, restarting Zope, and "Refresh-ing", it seemed to be worth a try. When "Refresh" unzipped it created a subfolder under the Zope "root". Then it didn't do what I expected because no "Refresh" tabs showed up. That's another topic, though.
To test the "fact" that the times keep updating, I tried setting a very short interval. Now it's clear they are not updating so it looks like Xron is "locked" after all. I'll let you know if anything changes.
Thanks for your reply, Jerry S.
_______________________________________________ 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 )
Upon rereading this message, I realized that you suspect that you've run into the "Xron locking up my system on startup" bug. However, that problem only occurs the first time you restart Zope after installing Xron, when Xron tries to create the Scheduler catalog. It creates a deadlock that keeps the entire Zope system from progressing out of the product loading phase. But if the rest of your Zope installation is working normally, then you haven't encountered that specific problem. I would look elsewhere. Try to get STUPID_LOG_FILE working. That'll give you more info more easily than you can any other way (unless you LIKE pdb-ing 8-). -- Loren
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Spicklemire, Jerry Sent: Wednesday, April 04, 2001 16:32 To: 'Loren Stafford'; Spicklemire, Jerry; zope@zope.org Subject: RE: [Zope] Xron on Zope v.2.3.1
Jerry S. said:
I'm seeing some odd symptoms running Xron jobs on the stable release. The schedule time seems to be updating itself, but the processes don't seem to be running.
to which Loren responded:
Anything of interest in STUPID_LOG_FILE?
Actually, I intentionally created these processes to be "outputless", since the Xron doc says:
"Any output produced by a XronDTMLMethod is written to the log. A XronDTMLMethod does not have to produce output, but if it does produce output, it may need to set the response headers."
Since I don't have very complete access to the host, and can't even read the start and stop scripts, let alone configure them, this seemed like the best approach. Now the disadvantages are starting to show up.
After seeing your post about installing "Refresh", and re-naming Xron's __init__, restarting Zope, and "Refresh-ing", it seemed to be worth a try. When "Refresh" unzipped it created a subfolder under the Zope "root". Then it didn't do what I expected because no "Refresh" tabs showed up. That's another topic, though.
To test the "fact" that the times keep updating, I tried setting a very short interval. Now it's clear they are not updating so it looks like Xron is "locked" after all. I'll let you know if anything changes.
Thanks for your reply, Jerry S.
_______________________________________________ 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 )
participants (3)
-
Chris Muldrow -
Loren Stafford -
Spicklemire, Jerry