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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.1.4.GA
    • Undertow
    • None

      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)
      

            chaowan@redhat.com Chao Wang
            rhn-support-aogburn Aaron Ogburn
            Peter Mackay Peter Mackay
            Peter Mackay Peter Mackay
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: