Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-7172

Inconsistent naming of web application manager properties in JMX and ProfileService

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • TBD EAP 5
    • EAP_EWP 5.1.0
    • JMX, Profile Service
    • None

    Description

      The properties of the web application manager differ when the web application is clustered.

      Here are snippets from the PS's DebugServlet output to illustrate the situation:

      A non clustered web app:
      ManagedDeployment: //localhost/juddi; state: STARTED
      +++ ManagedComponent(name=jboss.web:host=localhost,path=/juddi,type=Manager, type=(ComponentType

      {type=MBean, subtype=WebApplicationManager}), compName=jboss.web:host=localhost,path=/juddi,type=Manager, attachment: null
      ++++++ properties: [sessionMaxAliveTime, duplicates, maxInactiveInterval, entropy, activeSessions, sessionCounter, sessionAverageAliveTime, processingTime, sessionIdLength, modelerType, processExpiresFrequency, algorithm, maxActive, distributable, maxActiveSessions, randomFile, name, rejectedSessions, expiredSessions, pathname, className]

      A clustered web app:
      ManagedDeployment: //localhost/test-simple; state: STARTED
      +++ ManagedComponent(name=jboss.web:host=localhost,path=/test-simple,type=Manager, type=(ComponentType{type=MBean, subtype=WebApplicationManager}

      ), compName=jboss.web:host=localhost,path=/test-simple,type=Manager, attachment: null
      ++++++ properties: [MaxActive, RejectedSessionCount, ExpiredSessionCount, SessionIdLength, SnapshotInterval, TimeSinceLastReset, ReplicationTrigger, MaxPassivatedSessionCount, SnapshotMode, ExpiredSessions, Distributable, ProcessingTime, PassivationEnabled, MaxInactiveInterval, UseJK, ClassName, LocalActiveSessionCount, PassivationMinIdleTime, ReplicationGranularity, MaxActiveSessionCount, MaxLocalActiveSessionCount, ReplicationStatistics, SessionAverageAliveTime, MaxActiveSessions, ActiveSessions, Algorithm, RejectedSessions, PassivatedSessionCount, Name, PassivationMaxIdleTime, CacheConfigName, SessionCounter, MaxUnreplicatedInterval, ActiveSessionCount, Duplicates, SessionMaxAliveTime, MaxActiveAllowed, CreatedSessionCount, ProcessExpiresFrequency]

      Notice that the similar properties like "activeSessions" and "ActiveSessions" differ only in the first letter case. These attributes seemingly mean the same thing and therefore there should be no reason why they should be called different names in clustered and non-clustered scenarios.

      Note that this is causing confusion in tools like JBoss ON that can get caught by surprise by these subtle and mostly undocumented differences.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-engineering-lkrejci Lukas Krejci
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: