QOS.ch JIRA

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • logback-classic
  • LBCLASSIC-14

jmxConfigurator - reload kills JMXBean

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: unspecified
  • Fix Version/s: 0.9.12
  • Component/s: Other
  • Labels:
    None
  • Environment:
    Operating System: All
    Platform: All
  • Bugzilla Id:
    41

Description

add <jmxConfigurator /> to your configuration

add "-Dcom.sun.management.jmxremote" to your program args

open jconsole

invoke operation reload on ch.qos.logback.classic/default/ch.qos.logback.classic.jmx.Configuration

=> bean will be removed from the MBean list but will not be re-added

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • History
  • Activity
Hide
Permalink
Sebastian Davids added a comment - 04/Feb/07 4:55 PM
Logback 0.9
Show
Sebastian Davids added a comment - 04/Feb/07 4:55 PM Logback 0.9
Hide
Permalink
Sébastien Pennec added a comment - 05/Feb/07 4:56 PM
Hello Sebastian,

I'm having a hard time reproducing this bug.
I've used the class and configuration that you included in the LBCLASSIC-15.

If I hit the reload button (the one which does not take any parameter), then the configuration is reloaded (I see the info messages coming each 5 seconds).
If I invoke the other reload method, specifying a working path, it also works: I can see the configuration changes. Lastly, if I invoke this method with an incorrect path, then an error pops out (which might be better managed, I must admit) and everything stops, until either I specify a valid path or hit the other reload button.

Can you help me a bit more on this bug? :)

Thanks for you reports!

Sébastien
Show
Sébastien Pennec added a comment - 05/Feb/07 4:56 PM Hello Sebastian, I'm having a hard time reproducing this bug. I've used the class and configuration that you included in the LBCLASSIC-15. If I hit the reload button (the one which does not take any parameter), then the configuration is reloaded (I see the info messages coming each 5 seconds). If I invoke the other reload method, specifying a working path, it also works: I can see the configuration changes. Lastly, if I invoke this method with an incorrect path, then an error pops out (which might be better managed, I must admit) and everything stops, until either I specify a valid path or hit the other reload button. Can you help me a bit more on this bug? :) Thanks for you reports! Sébastien
Hide
Permalink
Joern Huxhorn added a comment - 19/Oct/08 2:38 PM
I think this problem might be fixed by http://jira.qos.ch/browse/LBCLASSIC-51
Show
Joern Huxhorn added a comment - 19/Oct/08 2:38 PM I think this problem might be fixed by http://jira.qos.ch/browse/LBCLASSIC-51

People

  • Assignee:
    Logback dev list
    Reporter:
    Sebastian Davids
Vote (0)
Watch (0)

Dates

  • Created:
    04/Feb/07 4:55 PM
    Updated:
    07/Nov/08 4:07 PM
    Resolved:
    07/Nov/08 4:07 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for logback. Try JIRA - bug tracking software for your team.