Are Properties re-read after a scheduled re-start?
Are Properties re-read after a scheduled re-start?
- Subject: Are Properties re-read after a scheduled re-start?
- From: Paul Hoadley <email@hidden>
- Date: Tue, 21 Jul 2009 19:20:54 +0930
Hello,
I have an app deployed using JavaMonitor. I have a property
'acceptLogins=false' in Properties, which has the effect of disabling
non-superuser logins on startup. When appropriate, a superuser
changes the state of a variable in Application to allow all logins.
Is a scheduled re-start via JavaMonitor a hard re-start? In
particular, is Properties re-read? (I should be able to answer this
myself in about 8 hours...) Ideally, I want the semantics here to be
"disallow logins on first launch, not again after every scheduled re-
start". Is there any way to persist this kind of state across a
scheduled re-start? (If all else fails, I can use the database, of
course.)
--
Paul.
w http://logicsquad.net/
h http://paul.hoadley.name/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden