Announcement Announcement Module
Collapse
No announcement yet.
Spring JMX in a distributed Weblogic 9.2.2 environment Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring JMX in a distributed Weblogic 9.2.2 environment

    I am new to Spring/JMX.

    I am using MBean to configure runtime environment variable. Let us say I want to turn on/off the validation flag based on userís requirement (some users may not want to do the validation).

    <bean id="responseValidatorMBeanExporter"
    class="org.springframework.jmx.export.MBeanExporte r"
    lazy-init="false">
    <property name="beans">
    <map>
    <entry key="request:name=read-response-validator"
    value-ref="requestProcessor" />
    </map>
    </property>
    <property name="assembler">
    <bean class="org.springframework.jmx.export.assembler.In terfaceBasedMBeanInfoAssembler">
    <property name="interfaceMappings">
    <props>
    <prop
    key="request:name=read-response-validator">
    Ö...request.ResponseValidatorMBeanInterface
    </prop>
    </props>
    </property>
    </bean>
    </property>
    <property name="server" ref="mbeanServer" />
    <property name="registrationBehaviorName"
    value="REGISTRATION_REPLACE_EXISTING" />
    </bean>

    <bean id="mbeanServer"
    class="org.springframework.jndi.JndiObjectFactoryB ean">
    <property name="jndiName" value="java:comp/env/jmx/runtime"/>
    </bean>

    I am having success in deploying and turning on/off on my local (single-node) environment. How can I configure the same in clustered Weblogic environment to reflect the updated flag by one node in all rest of the nodes? i.e. assume that I have 3 nodes (node1, node2, node3) and now I have pinned my jconsole to node1 and turning on the flag (true) and I want the same to be reflect the flag value in node2 and node3 to true.
    Do let me know if you need any other info.
    Help is much appreciated.

    Thanks,
    Prasad
Working...
X