sbhatti
Dec 13th, 2005, 01:38 PM
I am using Spring 1.2.1 with Weblogic 8.1.5 and Java 1.4.2 to export a few MBeans from spring configuration file as:
<bean id="myMBean" class="com...." singleton="true">
</bean>
<bean id="exporter" class="org.springframework.jmx.export.MBeanExporter">
<property name="beans">
<map>
<entry key="bean:name=myNameMBean" value-ref="myMBean"/>
</map>
</property>
<property name="server">
<bean class="org.springframework.jmx.support.WebLogicMBeanServe rFactoryBean">
<property name="username"><value>weblogic</value></property>
<property name="password"><value>weblogic</value></property>
<property name="serverName"><value>localhost</value></property>
<property name="serverUrl"><value>t3://localhost:9001/</value></property>
</bean>
</property>
</bean>
However, when I point MC4J1.2 beta9 to t3://localhost:9001, I don't see
them. All I see under MBean category are following categories:
JMImplementation:
Security:
WeblogicManagement:
odp (name of our J2EE/EJB app):
weblogic:
I checked mbeans in each of above category but didn't see mine mbeans. Also, can I specify my own category so that it's easy to find my mbeans.
Thanks in advance.
<bean id="myMBean" class="com...." singleton="true">
</bean>
<bean id="exporter" class="org.springframework.jmx.export.MBeanExporter">
<property name="beans">
<map>
<entry key="bean:name=myNameMBean" value-ref="myMBean"/>
</map>
</property>
<property name="server">
<bean class="org.springframework.jmx.support.WebLogicMBeanServe rFactoryBean">
<property name="username"><value>weblogic</value></property>
<property name="password"><value>weblogic</value></property>
<property name="serverName"><value>localhost</value></property>
<property name="serverUrl"><value>t3://localhost:9001/</value></property>
</bean>
</property>
</bean>
However, when I point MC4J1.2 beta9 to t3://localhost:9001, I don't see
them. All I see under MBean category are following categories:
JMImplementation:
Security:
WeblogicManagement:
odp (name of our J2EE/EJB app):
weblogic:
I checked mbeans in each of above category but didn't see mine mbeans. Also, can I specify my own category so that it's easy to find my mbeans.
Thanks in advance.