Dan

I got it to work on the latest 2.2.3 CXF version.  I don't see a way to
set the mbeanserver in the 2.1.3 version.  The 2.1.3 version does a
lookup of a mbeanserver with a name of "org.apache.cxf". 

Thanks for your feedback. 

Sonam
CXF User
 

-----Original Message-----
From: Daniel Kulp [mailto:[email protected]] 
Sent: Tuesday, September 22, 2009 12:17 PM
To: [email protected]
Cc: Nepali, Sonam (GE Healthcare, consultant)
Subject: Re: cxf jmx management integration with Weblogic mbeanserver



The InstrumentationManagerImpl that you configure in your spring config
has a 
bunch of properties that can be used to tell it what MBeanServer to use.
If 
using the latest CXF releases, there is a "usePlatformMBeanServer"
true/false flag that makes it just call
ManagementFactory.getPlatformMBeanServer() which 
may just be the Weblogic one.   Not really sure.     You may also need
to set 
createMBServerConnectorFactory to false.   

If you know the MBeanServer name for the weblogic server, you can set
the serverName property and it should look it up.

Hopefully that provides some information for you to try.

Dan


On Tue September 22 2009 1:45:29 pm Nepali, Sonam (GE Healthcare,
consultant)
wrote:
> Hi
> 
> How do I integrate the CXF JMX mbeans into a Weblogic MBeanServer?  I 
> would like to access all of the mbeans through one address instead of 
> having to specify different addresses for accessing the WebLogic 
> server mbeans (service:jmx:rmi:///jndi/rmi://localhost:9999/jmxrmi)  
> and one for CXF MBeans
(service:jmx:rmi:///jndi/rmi://localhost:9914/jmxrmi).
> 
> thanks
> 
> 
> 
> 
> Sonam
> 
> CXF User
> 

--
Daniel Kulp
[email protected]
http://www.dankulp.com/blog

Reply via email to