Skip to content

[jboss-plugin] Detection fails if JBoss module path has multiple entries #3

Description

@hcgpalm

org.hyperic.hq.plugin.jboss7.JBossDetectorBase.getVersion() does not handle a JBoss module path with multiple components.

Results in the following debug log output:

07-11-2014 10:34:18,003 CET DEBUG [Thread-4] [JBossStandaloneDetector@74] [getServerResources] pids.length:1
07-11-2014 10:34:18,006 CET DEBUG [Thread-4] [JBossStandaloneDetector@249] [getVersion] serverModule=/usr/share/jbossas/modules:/opt/data/jbossas/modules/org/jboss/as/server/main
07-11-2014 10:34:18,007 CET DEBUG [Thread-4] [JBossStandaloneDetector@250] [getVersion] 'jboss-as-server.*.jar' not found.
07-11-2014 10:34:18,007 CET DEBUG [Thread-4] [JBossStandaloneDetector@78] [getServerResources] pid='17752' version='not found'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions