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

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Fri Jan 4 17:09:08 EST 2013


     [ https://issues.jboss.org/browse/AS7-4293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated AS7-4293:
----------------------------------

    Fix Version/s: 7.2.0.Alpha1

    
> 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: Sub-task
>          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: Tomaz Cerar
>            Priority: Optional
>             Fix For: 7.2.0.Alpha1
>
>         Attachments: 04_fix_as_4293.patch
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jboss-jira mailing list