-
Bug
-
Resolution: Done
-
Major
-
7.0.0.Final
-
None
Accessing the management console via an Apache proxy fails using a 7.1.0 nightly build of 28th July.
Apache configuration:
NameVirtualHost *:82
<VirtualHost *:82>
ProxyPass /console http://127.0.0.1:9990/console
ProxyPassReverse /console http://127.0.0.1:9990/console
ProxyPass /management http://127.0.0.1:9990/management
ProxyPassReverse /management http://127.0.0.1:9990/management
</VirtualHost>
JBoss standalone.xml:
For
<interfaces>
<interface name="management">
<any-address />
</interface>
<interface name="public">
<inet-address value="127.0.0.1"/>
</interface>
</interfaces>
and using http://[server_ip]:82/console, the page is redirected to http://[server_ip]:82/console/App.html, which loads two GWT scripts and then gives an error "NetworkError: 405 Method Not Allowed - http://[server_ip]:9990/management".
For
<interface name="management">
<inet-address value="[my_remote_address]"/>
</interface>
I get
01:34:02,264 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-12) MSC00001: Failed to start service jboss.network.management: org.jboss.msc.service.StartException in service jboss.network.management: failed to resolve interface management
at org.jboss.as.server.services.net.NetworkInterfaceService.start(NetworkInterfaceService.java:96)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_25]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_25]