I can try looking into this further when I have some spare time.
I remember reading about this issue before (can't remember where, and not
sure if it was related to logback or some other JMX utility), and it
turned out to be just that WebSphere handles JMX somewhat differently, and
therefore JMX MBeans that are registered by deployed applications are not
visible by the standard jConsole. It might have something to do with
WebSphere creating multiple JMX MBean Servers, and the jConsole points to
a different one?
I'll try to dig up more information and will let you know when I find
something.
Thanks,
-Chris
From: ceki <[email protected]>
To: logback users list <[email protected]>
Date: 06/12/2012 10:49 AM
Subject: Re: [logback-user] Websphere specific JMX configuration?
Sent by: [email protected]
Hi Chris,
Would you be interested in investigating this further? You would need to
build logback from sources. This is explained at [1]. If you are using
IntelliJ IDEA, the steps are quite trivial. Under eclipse, it's a bit
more involved. If you can't be bothered with installing Scala, just
remove the "STest" files (tests written in scala) from the source tree.
Let me know what you think.
[1] http://logback.qos.ch/setup.html#ide
On 12.06.2012 16:32, [email protected] wrote:
> I believe this is a WebSphere issue.
>
> When you configure Logback to use <jmxConfigurator/> tag, it does deploy
> a JMX MBean....but for some reason, within WebSphere, it does not show
> up when using jConsole.
>
> But it is deployed, and it can be accessed by other programmatic ways.
>
> Here is a recent post that contains a code sample of how I am accessing
> it via Java code:
>
> http://mailman.qos.ch/pipermail/logback-user/2012-March/003034.html
>
>
> Thanks,
> -Chris
>
_______________________________________________
Logback-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-user
*************************** IMPORTANT
NOTE*****************************-- The opinions expressed in this
message and/or any attachments are those of the author and not
necessarily those of Brown Brothers Harriman & Co., its
subsidiaries and affiliates ("BBH"). There is no guarantee that
this message is either private or confidential, and it may have
been altered by unauthorized sources without your or our knowledge.
Nothing in the message is capable or intended to create any legally
binding obligations on either party and it is not intended to
provide legal advice. BBH accepts no responsibility for loss or
damage from its use, including damage from virus.
********************************************************************************_______________________________________________
Logback-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-user