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

Issues using mod_cluster with Tomcat 6 and Executor thread pools

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Minor
    • None
    • 1.2.1.Final
    • None
    • None
    • Workaround Exists
    • Hide

      -Don't use an Executor thread pool

      OR

      -Use a load metric other than the BusyConnectorsLoadMetric when using an Executor thread pool.

      Show
      -Don't use an Executor thread pool OR -Use a load metric other than the BusyConnectorsLoadMetric when using an Executor thread pool.

    Description

      mod_cluster cannot properly determine connector pool statistics from Tomcat 6 when using an Executor thread pool. It fails with the following exception:

      ERROR ContainerBackgroundProcessor[StandardEngine[Catalina]] org.apache.catalina.core.ContainerBase - Exception invoking periodic operation:
      java.lang.IllegalStateException
      at org.jboss.modcluster.container.catalina.CatalinaEngine.getProxyConnector(CatalinaEngine.java:153)
      at org.jboss.modcluster.ModClusterService.connectionEstablished(ModClusterService.java:306)
      at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:372)
      at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:347)
      at org.jboss.modcluster.ModClusterService.status(ModClusterService.java:460)
      at org.jboss.modcluster.container.catalina.CatalinaEventHandlerAdapter.lifecycleEvent(CatalinaEventHandlerAdapter.java:239)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
      at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1385)
      at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1649)
      at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1638)
      at java.lang.Thread.run(Thread.java:619)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhn-support-aogburn Aaron Ogburn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: