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

(7.2.z) UNDERTOW-1507 - Undertow mod_cluster proxy: NullPointerException on jvmKill based failover among worker nodes using SSL

    XMLWordPrintable

Details

    • +
    • Hide

      1 balancer, 3 workers (configured to talk with balancer using secured channel), 1 client, 1 web app, 1 worker is killed (System.exit(1))

      Show
      1 balancer, 3 workers (configured to talk with balancer using secured channel), 1 client, 1 web app, 1 worker is killed ( System.exit(1) )

    Description

      1. One worker is killed
      2. Request to balancer within same session is made
      3. There is a NPE in balancer's log:
        13:31:52,768 ERROR [io.undertow.proxy] (default I/O-8) UT005028: Proxy request to /clusterbench/jvmroute failed: java.nio.channels.ClosedChannelException
            at io.undertow.client.http.HttpClientConnection$5.handleEvent(HttpClientConnection.java:192)
            at io.undertow.client.http.HttpClientConnection$5.handleEvent(HttpClientConnection.java:171)
            at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
            at org.xnio.StreamConnection.invokeCloseListener(StreamConnection.java:80)
            at org.xnio.Connection.writeClosed(Connection.java:117)
            at io.undertow.protocols.ssl.UndertowSslConnection.writeClosed(UndertowSslConnection.java:145)
            at io.undertow.protocols.ssl.SslConduit.notifyWriteClosed(SslConduit.java:588)
            at io.undertow.protocols.ssl.SslConduit.closed(SslConduit.java:1021)
            at io.undertow.protocols.ssl.SslConduit.close(SslConduit.java:1117)
            at io.undertow.protocols.ssl.SslConduit.doUnwrap(SslConduit.java:828)
            at io.undertow.protocols.ssl.SslConduit.read(SslConduit.java:567)
            at org.xnio.conduits.PushBackStreamSourceConduit.read(PushBackStreamSourceConduit.java:52)
            at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)
            at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:553)
            at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:516)
            at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
            at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
            at io.undertow.protocols.ssl.SslConduit$SslReadReadyHandler.readReady(SslConduit.java:1175)
            at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89)
            at org.xnio.nio.WorkerThread.run(WorkerThread.java:591)
        
        31m13:31:52,773 ERROR [io.undertow.client] (default I/O-8) UT005001: An exception occurred processing the request: java.lang.NullPointerException
            at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:559)
            at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:516)
            at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
            at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
            at io.undertow.protocols.ssl.SslConduit$SslReadReadyHandler.readReady(SslConduit.java:1175)
            at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89)
            at org.xnio.nio.WorkerThread.run(WorkerThread.java:591)
        
      4. Client receives 503:
        <html><head><title>Error</title></head><body>503 - Service Unavailable</body></html>
        

      Attachments

        Issue Links

          Activity

            People

              rhn-support-iweiss Ingo Weiss
              jkasik@redhat.com Jan Kašík
              Jan Kašík Jan Kašík
              Jan Kašík Jan Kašík
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: