geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <>
Subject [jira] Created: (GERONIMO-3833) Hard-coded gbean names and versions in monitoring code
Date Sat, 09 Feb 2008 00:36:07 GMT
Hard-coded gbean names and versions in monitoring code

                 Key: GERONIMO-3833
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: monitoring
    Affects Versions: 2.0.x, 2.1
            Reporter: Jarek Gawor

The monitoring code has hard-coded values in Java code and sql file:


The ./plugins/monitoring/mconsole-war/src/main/java/org/apache/geronimo/monitoring/console/
contains the following constant:

private static final String PATH = "geronimo:ServiceModule=org.apache.geronimo.plugins.monitoring/agent-car-jmx/2.1-SNAPSHOT/car,J2EEServer=geronimo,


The  ./plugins/monitoring/mconsole-ear/src/main/resources/MonitoringClientDB.sql contains
a bunch of the following values:


I'm not sure how these are used but in general these type of hardcoded values should be avoided.
It's really hard to maintain and keep track of.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message