[jboss-jira] [JBoss JIRA] Closed: (JBAS-7953) Incorrect parsing of jboss-service.xml
Dimitris Andreadis (JIRA)
jira-events at lists.jboss.org
Fri Dec 10 06:05:52 EST 2010
[ https://issues.jboss.org/browse/JBAS-7953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dimitris Andreadis closed JBAS-7953.
------------------------------------
Fix Version/s: No Release
Resolution: Won't Fix
Just write the <null/> value without whitespace, won't fix.
> Incorrect parsing of jboss-service.xml
> --------------------------------------
>
> Key: JBAS-7953
> URL: https://issues.jboss.org/browse/JBAS-7953
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Naming, System service
> Affects Versions: JBossAS-5.1.0.GA
> Reporter: Pavel Macik
> Assignee: Dimitris Andreadis
> Fix For: No Release
>
>
> In the server/<config>/conf/jboss-service.xml file there is mbean's attributes configured as following:
> <server>
> <mbean ... name="jboss:service=Naming" ...>
> ...
> <attribute name="BindAddress">
> <value-factory bean="ServiceBindingManager" method="getStringBinding">
> <parameter>jboss:service=Naming</parameter>
> <parameter>Port</parameter>
> <parameter><null/></parameter>
> </value-factory>
> </attribute>
> ...
> </mbean>
> ...
> </server>
> This exact configuration is fine. But while I change element formatting as follows, the </null> parameter parsing fails.
> ...
> <attribute name="BindAddress">
> <value-factory bean="ServiceBindingManager" method="getStringBinding">
> <parameter>jboss:service=Naming</parameter>
> <parameter>Port</parameter>
> <parameter>
> <null/>
> </parameter>
> </value-factory>
> </attribute>
> ...
> It seems the parser that parses this file doesn't ignore white-spaces around the <null/> element and the mbean behaves in different way.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list