Announcement Announcement Module
Collapse
No announcement yet.
Writing changes in MBean back to file? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Writing changes in MBean back to file?

    Hello,

    I have managed to create a MBean with JMX in a Tomcat application. The MBean is visible in jconsole and the contents can be changed from the application and the console. The managed content is loaded from a xml file. I would like to see the changes also in the xml file, so after a Tomcat restart the application can start with the changed content.

    What should I do next to get the changes into the xml file with JMX?

    Andreas.

  • #2
    Did u get the solution for this?

    Please post it and help me out.. Am facing the same problem now.


    Thanks In Advance,
    Sudheesh

    Comment


    • #3
      Since xml write is not supported in JMX I have used (written) another function to write the changes into xml file. The MBean is like an ordinary Bean, so see how to read and write Beans.

      Andreas.

      Comment

      Working...
      X