[jboss-jira] [JBoss JIRA] Created: (AS7-1504) management console not loaded via Apache proxy

u j (JIRA) jira-events at lists.jboss.org
Wed Aug 10 08:12:58 EDT 2011


management console not loaded via Apache proxy
----------------------------------------------

                 Key: AS7-1504
                 URL: https://issues.jboss.org/browse/AS7-1504
             Project: Application Server 7
          Issue Type: Bug
          Components: Console
    Affects Versions: 7.1.0.Alpha1
            Reporter: u j
            Assignee: Heiko Braun
            Priority: Blocker


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]


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list