Results 1 to 3 of 3

Thread: Writing changes in MBean back to file?

  1. #1
    Join Date
    Jul 2007
    Location
    Germany
    Posts
    4

    Default 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. #2

    Default

    Did u get the solution for this?

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


    Thanks In Advance,
    Sudheesh

  3. #3
    Join Date
    Jul 2007
    Location
    Germany
    Posts
    4

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •