Results 1 to 4 of 4

Thread: referencing local MBeanServer on Weblogic 8.1

  1. #1
    Join Date
    Aug 2004
    Location
    New York
    Posts
    168

    Default referencing local MBeanServer on Weblogic 8.1

    On weblogic 8.1 and spring 1.2.5, I am attempting to use WebLogicMBeanServerFactoryBean to reference the weblogic MBeanServer within my managed server. The issue is that the WeblogicMBeanServerFactoryBean is demanding that i supply it with serverUrl, username, password, and servername. Since I would like this configuration to work on any node in my cluster and on any environment, I would rather not supply this information. I know programatically I can gain reference to this MBeanServer without using environment specific server information. For example:

    Code:
    mBeanHome = (MBeanHome) new InitialContext().lookup(MBeanHome.LOCAL_JNDI_NAME);
    MBeanServer server = mBeanHome.getMBeanServer();
    I can implement my own custom weblogic mbean server factory bean, but I was wondering if this is possible with the jmx mbean factory beans available out of box.

    Thanks.

    -karl
    Karl Baum
    weblog: www.jroller.com/page/kbaum

  2. #2
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    1. you can create a look-up class to find the mbean server and send the credentials.
    2. raise an issue on JIRA and the functionality will be added to the official distribution (I don't think it's in there).
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

  3. #3
    Join Date
    Aug 2004
    Location
    New York
    Posts
    168

    Default

    1. you can create a look-up class to find the mbean server and send the credentials.
    That is true, but might as well just roll out my own WebLogicMBeanServerFactoryBean at that point since in either case i will have to look up the MBeanServer.

    2. raise an issue on JIRA and the functionality will be added to the official distribution (I don't think it's in there).
    I will raise the issue in Jira and attach my own custom WeblogicMBeanServerFactoryBean. Or should I modify the existing WeblogicMBeanServerFactoryBean? Think that might make more sense.
    Karl Baum
    weblog: www.jroller.com/page/kbaum

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

    Default

    Jira issue raised.

    Thanks.

    -karl
    Karl Baum
    weblog: www.jroller.com/page/kbaum

Similar Threads

  1. Replies: 1
    Last Post: Sep 17th, 2005, 02:19 AM
  2. Replies: 2
    Last Post: Aug 6th, 2005, 04:30 PM
  3. JMX and MBeanServer
    By tjdebroy in forum Web
    Replies: 4
    Last Post: Jun 11th, 2005, 10:24 AM
  4. Replies: 2
    Last Post: May 26th, 2005, 02:30 AM
  5. Referencing local lists
    By washik in forum Container
    Replies: 1
    Last Post: Feb 10th, 2005, 10:34 AM

Posting Permissions

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