[jboss-jira] [JBoss JIRA] (AS7-3297) NumberFormatException during host-controller startup if the example of host.xml is used

Wolf-Dieter Fink (JIRA) jira-events at lists.jboss.org
Fri Jan 13 02:33:21 EST 2012


Wolf-Dieter Fink created AS7-3297:
-------------------------------------

             Summary: NumberFormatException during host-controller startup if the example of host.xml is used
                 Key: AS7-3297
                 URL: https://issues.jboss.org/browse/AS7-3297
             Project: Application Server 7
          Issue Type: Bug
          Components: Domain Management
    Affects Versions: 7.1.0.CR1b
            Reporter: Wolf-Dieter Fink
            Assignee: Brian Stansberry


If a host-controller should be started and connected do a remote domain-controller the example did not work.
<remote host="${jboss.domain.master.address}" port="${jboss.domain.master.port:9999}"/>

Nevertheless whether the properties are given or not the following exception occour:
[Host Controller] Caused by: java.lang.NumberFormatException: For input string: "${jboss.domain.master.port:9999}"
[Host Controller] 	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) [:1.6.0_22]
[Host Controller] 	at java.lang.Integer.parseInt(Integer.java:470) [:1.6.0_22]
[Host Controller] 	at java.lang.Integer.valueOf(Integer.java:570) [:1.6.0_22]
[Host Controller] 	at org.jboss.as.host.controller.parsing.HostXml.parseRemoteDomainController(HostXml.java:756) [jboss-as-host-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
[Host Controller] 	at org.jboss.as.host.controller.parsing.HostXml.parseDomainController(HostXml.java:716) [jboss-as-host-controller-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]


The check of HostXml.parseRemoteDomainController checks hard whether the port is an Integer value


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list