-
Jul 31st, 2007, 06:26 AM
#1
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.
-
Jun 19th, 2008, 07:23 AM
#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
-
Jun 19th, 2008, 01:08 PM
#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.
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