-
Nov 16th, 2005, 07:00 PM
#1
JMX in Weblogic 9
Can anyone provide a configuration excerpt for Weblogic 9 and JMX?
I'm having a really frustrating time trying to connect to the embedded MBeanServer in WL9. Here is what I have so far but the exporter fails at startup because it says it can find an MBean Server...
<bean id="exporter" class="org.springframework.jmx.export.MBeanExporte r">
<property name="beans">
<map>
<!-- there is a bean named 'repository' defined elsewhere -->
<entry key="bean:name=repository1" value-ref="repository"/>
</map>
</property>
</bean>
<!-- expose weblogic server's runtime mbeanserver connection -->
<bean id="runtimeMbeanServerConnection"
class="org.springframework.jmx.support.MBeanServer ConnectionFactoryBean">
<property name="serviceUrl"
value="service:jmx:t3://${WS_HOST}:${WS_PORT}/jndi/weblogic.management.mbeanservers.runtime"/>
<property name="environment">
<props>
<prop key="java.naming.security.principal">${WS_USERNAME }</prop>
<prop key="java.naming.security.credentials">${WS_USERNA ME}</prop>
<prop key="jmx.remote.protocol.provider.pkgs">weblogic.m anagement.remote</prop>
</props>
</property>
</bean>
Basically, I need to know how to set the "server" property on the exporter. Thanks, in advance.
Dan.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules