[Design of Management Features on JBoss] - Re: JBAS-6689 add support for activation policy metadata on
by charles.crouch@jboss.com
"scott.stark(a)jboss.org" wrote : I think these are warnings coming from updates post template creation of the destination. They can't be read-only as in ignored because the template uses the same properties.
|
I think its fine for the ObjectName, JNDIName, Clustered properties to be read-only in the console since we support being able to set read-only properties once at creation time and then not edit them later.
"scott.stark(a)jboss.org" wrote : We don't know if the component has failed to apply the change without an exception being thrown here. This does not seem to be the case as the change is ignored and the log message the only indication of failure.
|
>From trying to make changes to properties such as DownCacheSize via the jmx-console its clear, as you say, that any updates that are attempted are ignored by the underlying messaging implementation, i.e. the old value remains after the update. Given that, would it not be possible for the profile service to try to make a change on a property, then requery that property to see if that change had "stuck"? If not an exception would be raised. This seems like a bit of hack to support this one particular case, (where really the managed resource itself should be throwing the exception) but I dont think its practical to expect the JBM team to change how this is implemented at this stage.
"scott.stark(a)jboss.org" wrote : If the properties are updated to be *_RESTART, then we can avoid dispatching the change to the runtime component at the profileservice level and avoid the warning it emits.
|
If this is achievable quickly then it sounds like a reasonable use for the activation policies, since we're not really going to be able to use them elsewhere yet.
Thanks
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222821#4222821
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222821
16 years, 6 months
[Design of POJO Server] - Re: Annotation for MC bean
by anil.saldhana@jboss.com
"bstansberry(a)jboss.com" wrote : There may not be one anywhere. I don't think @Jndi actually works. (Not that the code doesn't work if the lifecycle-xxx declaration is there; just that applying the annotation doesn't currently do anything.)
I think the lifecycle declaration for JndiBinding does not exist. Until that happens, the annotation is not useful.
As I see it, the code for the lifecycle callbacks for JMX in the system folder are quite identical to the JMXCallback class.
Kabir, there are two sets of callback classes (one in the system folder and the other is the JMXCallback). The lifecycle declaration is for the former. I guess lifecycle declaration can be for the latter alone (I am going to try it out on my annotation).
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222817#4222817
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222817
16 years, 6 months