[
https://issues.jboss.org/browse/AS7-4293?page=com.atlassian.jira.plugin.s...
]
Marcel Å ebek updated AS7-4293:
-------------------------------
Attachment: 04_fix_as_4293.patch
This simple patch fixes the problem for me.
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
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:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira