This content has been marked as final.
Show 6 replies
-
1. Re: XMBean Default values now shown in JMX
dimitris Nov 24, 2006 4:39 AM (in response to bossy)Use the "value" tag instead of "default"
-
2. Re: XMBean Default values now shown in JMX
hamtho2 Sep 15, 2008 6:07 AM (in response to bossy)I defined my attribute using JBoss 4.2.2 as follows, but unfortunately there is still no value after deployment. Setting/Getting this attribute using the JMX-Console works flawlessly. Did I miss anything?
This is my current configuration<attribute access="read-write"> <description>My Description</description> <name>HotFolderPath</name> <type>java.lang.String</type> <descriptors> <default value="halloTest"/> </descriptors> </attribute>
Any input would be highly appriciated
Thomas -
3. Re: XMBean Default values now shown in JMX
dimitris Sep 15, 2008 6:54 AM (in response to bossy)... <descriptors> <value>halloTest</value> </descriptors> ...
-
4. Re: XMBean Default values now shown in JMX
hamtho2 Sep 15, 2008 7:25 AM (in response to bossy)sorry - my mistake.
This is, what I did. -
5. Re: XMBean Default values now shown in JMX
hamtho2 Sep 15, 2008 7:27 AM (in response to bossy)By mistake I posted my "test-configuration" to see if it might work with the default-attribute.
This is, what I wanted to post:<attribute access="read-write" getMethod="getHotFolderPath" setMethod="setHotFolderPath"> <description>MyDescription</description> <name>HotFolderPath</name> <type>java.lang.String</type> <descriptors> <value>"halloTest"<value/> </descriptors> </attribute>
But this does not work either. -
6. Re: XMBean Default values now shown in JMX
hamtho2 Sep 15, 2008 7:32 AM (in response to bossy)of course without the quotes.
By the way: if I define the getMethod and setMethod I also get an IllegalArgumentException. Only if I do not define them, everything works fine. This also seems strange to me.