Bugs item #505657, was opened at 2002-01-18 22:07
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=505657&group_id=22866
Category: JBossServer
Group: v2.4 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Nathan W. Phelps (nphelps)
Assigned to: Nobody/Anonymous (nobody)
Summary: ServiceConfiguration XML attributes
Initial Comment:
When using an mbean attribute of type XML Element any
XML elements within your custom XML named "attribute"
causes the ServiceConfiguration to try and set those
attributes on your mbean. This is caused because the
code gets a reference to the element mbean, then does
a getElementsByTagName("attribute") which returns all
elements named "attribute" regardless if they are
direct children of the element "mbean." This also
effects any elements within a custom xml attribute
named "mbean" or "depends." While it is very easy to
simply rename your custom XML Elements, generally one
tries to create uniformity when possible.
Example:
<mbean code="org.someco.MyService"
name="user:service=My Service">
<attribute name="Name">John Smith</attribute>
<attribute name="XmlConfig">
<my-xml>
<attribute name="JBossShouldntTouch">But it
will, because its getting all elements namd
attribute</attribute>
<mbean code="Blah">This would cause an error
too</mbean>
<depends>this too</depends>
</my-xml>
</attribute>
</mbean>
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=505657&group_id=22866
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development