Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[jboss-plugin] Autodetect doesn't detect usage of alternate configuration file #5

Open
hcgpalm opened this issue Nov 7, 2014 · 4 comments

Comments

@hcgpalm
Copy link

hcgpalm commented Nov 7, 2014

ps -ef|grep jboss:

/usr/lib/jvm/jre/bin/java ... -Djboss.server.base.dir=/opt/data/jbossas/standalone -c standalone-etjsb.xml

The -c flag specifies the name of an alternate configuration file. But JBossStandaloneDetector.getProductConfig() still looks for the default config file standalone.xml:

07-11-2014 11:43:25,413 CET DEBUG [Thread-4] [JBossStandaloneDetector@281] [getProductConfig] cfgFile=/opt/data/jbossas/standalone/
configuration/standalone.xml
@laullon
Copy link
Contributor

laullon commented Nov 11, 2014

Hi,

Which version the plugin are you using? master?
The classes and lines number on the log doesn't match the actual code.

@hcgpalm
Copy link
Author

hcgpalm commented Nov 11, 2014

I'm using the plugin version as bundled in hyperic-4.6.6.

@laullon
Copy link
Contributor

laullon commented Nov 11, 2014

That's a very old version,
Can you update to Hyperic 5.3?

@hcgpalm
Copy link
Author

hcgpalm commented Nov 11, 2014

Yes I know, but no, I'm afraid not. It's a production environment. We attempted an update to 5.x some time ago but had to roll back to 4.6 because of bugs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants