[jboss-jira] [JBoss JIRA] (AS7-4293) Support property expansion in redirect-port attribute of the web system's connector

Sven-Jørgen Karlsen (JIRA) jira-events at lists.jboss.org
Mon Mar 26 09:23:47 EDT 2012


Sven-Jørgen Karlsen created AS7-4293:
----------------------------------------

             Summary: Support property expansion in redirect-port attribute of the web system's connector
                 Key: AS7-4293
                 URL: https://issues.jboss.org/browse/AS7-4293
             Project: Application Server 7
          Issue Type: Bug
          Components: Web
    Affects Versions: 7.1.1.Final
         Environment: Standalone JBoss AS 7 on RHEL Linux and Windows 7 Enterprise x64
            Reporter: Sven-Jørgen Karlsen
            Assignee: Remy Maucherat
            Priority: Optional


The connector element of the web subsystem doesn't support property expansion, forcing you to hardwire the port 
number. E.g., writing:
...
  <subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host">
            <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http" 
              redirect-port="${jboss.web.https.port}"/>
  ...
causes a NumberFormatException. Runtime properties for this attribute was supported in previous versions.
Another problem is that there is no predefined property with the above name.


An alternative solution is to allow a reference to a socket binding groups in the attribute value, as discussed in
http://community.jboss.org/thread/176339

--
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