Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1300

Management console doesn't work after changing management interface port

XMLWordPrintable

    • Hide
      • stop domain if running
      • change http management port in host.xml to e.g. 10624
        <http-interface interface="management" port="10624"/>
      • start domain
      • access console @ http://localhost:10624/console/
      • blank screen is shown
      Show
      stop domain if running change http management port in host.xml to e.g. 10624 <http-interface interface="management" port="10624"/> start domain access console @ http://localhost:10624/console/ blank screen is shown
    • Workaround Exists
    • Hide
      • Shutdown domain if running.
      • Unpack jboss-as-console-1.0.0.Beta13-resources.jar
      • In every 32.cache.js file find :9990/ and replace it with desired port as configured in host.xml (e.g. :12345/).
      • Repack & replace jboss-as-console-1.0.0.Beta13-resources.jar
      • Start domain.
      Show
      Shutdown domain if running. Unpack jboss-as-console-1.0.0.Beta13-resources.jar In every 32.cache.js file find :9990/ and replace it with desired port as configured in host.xml (e.g. :12345/ ). Repack & replace jboss-as-console-1.0.0.Beta13-resources.jar Start domain.

      After changing http management port in host.xml console stops working.
      Changing it back to default 9990 fixes the issue.

      It seems it s GWT related and 9990 port is "hardcoded" in java script files.
      Every script named 32.cache.js in modules\org\jboss\com\sun\httpserver\main\jboss-as-console-1.0.0.Beta13-resources.jar has some variable set to ':9990/'. (only one occurrence in a file)

      After changing its value to match a new http management port in host.xml (other than 9990) and repackaging of jboss-as-console-1.0.0.Beta13-resources.jar console starts working again.

      Note! Checked only on domain mode. Not testes in standalone.

              rhn-support-hbraun Heiko Braun
              _someoneelse_ Sebastian Wanio (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: