Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-15560

[GSS](7.2.z) AJP can't redirect to management console because of unresolved address

    XMLWordPrintable

    Details

      Description

      Over an AJP connection, the management console link's redirect from the EAP home page never works. This is because AJP has an unresolved socket on the exchange so this causes comparisons in ConsoleRedirectService$ConsoleRedirectHandler.getRedirectHostname to always fail:

      --------------------------->InetSocketAddress.createUnresolved localhost 80 localhost:80
      java.net.InetSocketAddress.createUnresolved(InetSocketAddress.java:254)
      io.undertow.server.protocol.ajp.AjpRequestParseState.createDestinationAddress(AjpRequestParseState.java:142)
      io.undertow.server.protocol.ajp.AjpReadListener.handleEvent(AjpReadListener.java:222)
      
      --------------------------->InetAddress.equals /127.0.0.1 null false
      java.net.Inet4Address.equals(Inet4Address.java:357)
      org.wildfly.extension.undertow.ConsoleRedirectService$ConsoleRedirectHandler.getRedirectHostname(ConsoleRedirectService.java:144)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              soul2zimate Chao Wang
              Reporter:
              aogburn Aaron Ogburn
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: