Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-216

Catalina cluster fails for context '/'

XMLWordPrintable

      SourceForge Submitter: mystafer .
      This applies only when deploying a distributable war in a
      JBoss3-Tomcat4 bundle clustered environment.

      This problem appears to be in the JBoss_3_0_2 tag as
      well as the head as of Aug 30, 2002 3:40 PM EST.

      When deploying a standalone war file with a jboss-
      web.xml setting of <context-root>/</context-root> and a
      web.xml setting of <distributable/>, the Apache context
      equivalent is "". (Nothing)

      The constructor for the
      class "org.jboss.web.catalina.session.ClusterManager"
      retrieves the context to create a new jmx administration
      bean for the clustered context name.

      The new jmx object is constructed as:
      objectName=new ObjectName
      ("jboss.web:service=ClusterManager,context="+contextP
      ath);

      Since the contextPath variable equates to "", the
      operation fails. The exception handler for this routine
      ignores the error and simply
      outputs: "ClusteredHTTPSessionService not found"
      which is not correct.

      If the following line of code:
      if (contextPath.equals("")) contextPath="/";
      is added after the line:
      contextPath=context.getPath();
      in the constructor, the code works as designed.

            starksm64 Scott Stark (Inactive)
            sourceforge-user SourceForge legacy user (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: