jcollectd icon indicating copy to clipboard operation
jcollectd copied to clipboard

jcd.properties property not honored by MBeanSender

Open arosien opened this issue 15 years ago • 2 comments

The README says the you can add the jcd.* properties to a file specified by the property jcd.properties, but this actually doesn't work. The current implementation uses a static initializer in the Network class, but the properties loaded there are not referenced by the MBeanServer class.

arosien avatar Nov 09 '09 19:11 arosien

Hi Adam, Thanks for the report. This should fix (untested), can you give this branch a try and I'll merge to master if its all good: http://github.com/hyperic/jcollectd/tree/ISSUE-1

dougm avatar Nov 11 '09 17:11 dougm

I'll test it out. I'll probably refactor it a bit so that configuration is separate from the Network class (which is mainly just constants); it's a bit strange that that's where the global config is.

arosien avatar Nov 13 '09 06:11 arosien