Whooo, this is a really old setup.
Never really used Butler except to run the demos. It was slow.
Areas I have had date problems is MacOS 7,8,9 were not patched to
account for the new US daylight savings time. And there was a bug with
mail actions where send times did not recognize DST
I am working on my Witango service maintenance programs for my Load Balance
environment such as purge cache, load domain variables., etc.
I put together a drop down menu of Witango services and also a drop down of
the maintenance process I want to run. I then redirect to the same program
with
Its actually pretty easy, I use @URL, so no need to redirect. The
only issue is security, my admin pages are login only, and you will
only be logged into the witango service you happen to be hitting at
the time. So I made a creative way to do this and be secure. I have a
couple of meetings
Check your domainscopekey. I think it is @CGIPARAM SERVER_NAME, which
means that http://site.com and http://www.site.com will appear as separate
domain scopes. You can choose to make this a constant (e.g. myDomainName)
and then there will be one domain scope for your whole server. Maybe this
Create a taf that creates the domain variables with current values.
Whether reading from files or hitting a database. If you need to
update these variables, hit the taf or have a cron hit the taf
periodically.
I have such a taf set as a startup taf to make sure that an old set
of values
I use domain scoped variables (arrays) to cache frequently used select
list values that change infrequently. If I remember correctly, domain
scoped variables are saved to a cache file when the server is shut down
gracefully. Is this correct?
If so, is there a way to update the cache without
You can consider turning off PERSISTENTRESTART= which will tell Witango to
not load values on startup. You will loose user sessions on restart if you
do this, however.
Or you can consider deleting the file(s) in the VariableCache folder after a
successful startup, this is where the variables are
Funny coincidence that the Witango-Talk: Load Balancing - Clear Cache
thread just started.
I don't see how setting domainscopekey to a constant would make any
difference except to avoid having duplicate vars in memory if users
access via http://site.com and http://www.site.com.
More
Robert
I think PERSISTENTRESTART= might be the best solution. Or switch to
Application scope vars. I rarely use anything other than request scope
variables except for the domain vars. Loosing user sessions on restart
a non-issue for our applications.
- Kent
On 10/11/2007 11:08 AM,
I removed passwords and such, but otherwise this is exactly what I use, in 2 tafs. This can also be done in one taf, with a _function, but at the time, for whatever reason I did as 2.Sorry there is not a lot of explanation, but really busy at the moment, let me know if it works for you.
Thanks Robert. That will do the trick.
I didn't know that @purgecache had a domain argument. I looked at the
online documentation. Must be undocumented.
Thanks again.
Steve
_
From: Robert Garcia [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 11, 2007 8:25 PM
To:
I know,
i thought, wether one of the list had the same problems in the past
to check
is it the weberserver? After restarting there are less errors...
is it witango? i don't think so?
is it butler database? I guess that butler is to slow to answer the
requests. i slowed down the speed of
If you want to purge all domains, you have to do domain=all
I know, the documentation is all over the place.
--
Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[EMAIL
13 matches
Mail list logo