Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-353

SocketTimeoutException in DefaultMCMPHandler when using httpd 2.4.x

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • 1.2.1.Final
    • 1.2.5.Final
    • None
    • None
    • Hide

      This appears to be a systematic error when trying to configure httpd-2.4.6 as a reverse proxy for one or more JBoss nodes. The errors start showing up after a short time; the mod_cluster-manager page is affected by this problem, it never shows the proper information.

      Show
      This appears to be a systematic error when trying to configure httpd-2.4.6 as a reverse proxy for one or more JBoss nodes. The errors start showing up after a short time; the mod_cluster-manager page is affected by this problem, it never shows the proper information.

    Description

      After upgrading a web server from Apache 2.2.x (with mod_cluster 1.2.0) to Apache 2.4.6 (with mod_cluster 1.2.1.Final), when I bring up JBoss (7.2.0.Final) I start seeing repeated errors like the following:

      14:45:36,777 INFO [org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) IO error sending command CONFIG to proxy stw-1.priv.softeco.it/172.16.0.133:6666: java.net.SocketTimeoutException: Read timed out

      at java.net.SocketInputStream.socketRead0(Native Method) [rt.jar:1.7.0_21]

      at java.net.SocketInputStream.read(SocketInputStream.java:150) [rt.jar:1.7.0_21]

      at java.net.SocketInputStream.read(SocketInputStream.java:121) [rt.jar:1.7.0_21]

      at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283) [rt.jar:1.7.0_21]

      at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325) [rt.jar:1.7.0_21]

      at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) [rt.jar:1.7.0_21]

      at java.io.InputStreamReader.read(InputStreamReader.java:184) [rt.jar:1.7.0_21]

      at java.io.BufferedReader.fill(BufferedReader.java:154) [rt.jar:1.7.0_21]

      at java.io.BufferedReader.readLine(BufferedReader.java:317) [rt.jar:1.7.0_21]

      at java.io.BufferedReader.readLine(BufferedReader.java:382) [rt.jar:1.7.0_21]

      at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.sendRequest(DefaultMCMPHandler.java:670)

      at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.sendRequests(DefaultMCMPHandler.java:437)

      at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:385)

      at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:349)

      at org.jboss.modcluster.ModClusterService.status(ModClusterService.java:468)

      at org.jboss.modcluster.container.catalina.CatalinaEventHandlerAdapter.lifecycleEvent(CatalinaEventHandlerAdapter.java:244)

      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:115) [jbossweb-7.2.0.Final.jar:7.2.0.Final]

      at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1323) [jbossweb-7.2.0.Final.jar:7.2.0.Final]

      at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1588) [jbossweb-7.2.0.Final.jar:7.2.0.Final]

      at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1574) [jbossweb-7.2.0.Final.jar:7.2.0.Final]

      at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]

      Attachments

        Activity

          People

            rhn-engineering-jclere Jean-Frederic Clere
            marcodanti Marco Danti (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: