[jboss-jira] [JBoss JIRA] (AS7-4293) Support property expansion in redirect-port attribute of the web system's connector
Tomaz Cerar (JIRA)
jira-events at lists.jboss.org
Thu Dec 6 11:31:19 EST 2012
[ https://issues.jboss.org/browse/AS7-4293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomaz Cerar reassigned AS7-4293:
--------------------------------
Assignee: Tomaz Cerar (was: Remy Maucherat)
> 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: Tomaz Cerar
> Priority: Optional
> 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