Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Controlling log4j using Spring JMX and jmanage

  1. #11
    Join Date
    Aug 2004
    Location
    Southampton, UK
    Posts
    826

    Default

    Karl,

    I don't think it is even possible to get this to work, I seem to recall trying this in the past and having some issues with it. Give it a try though:

    1. Download MX4J. This is a decent open source JMX impl
    2. Add this to your WAR lib directory
    3. Use MBeanServerFactoryBean to configure an instance of the MBeanServer
    4. Add the following to weblogic.xml:

    Code:
    <container-descriptor>
      	<prefer-web-inf-classes>true</prefer-web-inf-classes>
      </container-descriptor>
    Let me know how you go on.

    Rob[/code]
    Rob Harrop
    Lead Engineer, dm Server
    SpringSource
    http://www.springsource.com

    Co-Author - Pro Spring

  2. #12

    Default Wich JMX-Implementation to use ?

    Hi karl,

    try out MX4J, itīs easy to set up and works fine.

  3. #13

    Default Donīt see robs answer, sorry.

    Sorry, didnīt see that karls question was answered on page 2 of this thread.

  4. #14
    Join Date
    Aug 2004
    Location
    New York
    Posts
    168

    Default

    Posted an entry on how i got around the issue here.
    Karl Baum
    weblog: www.jroller.com/page/kbaum

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •