-
1. Improve jmx-console and admin console
alexpr Jan 11, 2011 9:10 PM (in response to alexpr)Do i post this thread in right section . If this, please Mod move my thread to correct place.
Thanks
-
2. Improve jmx-console and admin console
pilhuhn Jan 12, 2011 4:20 AM (in response to alexpr)Hey,
your post is for the admin-console in the right section
Admin-console is built on top of RHQ (http://rhq-project.org) and its jboss-as5 plugin. The plugin itself already allows to to log file parsing. So form how I understand it, you would need to a) define the logfile location in the plugin connection settings (may need some mods of the plugin) from the UI code and add a tab (like there already is in RHQ) that shows the logfile portion.
The other option (especially for jmx-console) is that you write an MBean, which fires a swing app like the Hsqldb Mbean does to allow you a console.
-
3. Re: Improve jmx-console and admin console
alexpr Jan 13, 2011 1:55 AM (in response to pilhuhn)Hi,
Thanks for your reply. Could you tell me more about the first option .
I just try second option (fire a swing app) but this way is only done with local access. When I call Mbean (which fire the swing app) remotely, an exception was :
"Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it."
Similar above if I call HSQLDB MBean...
Because of my purpose is "tail log file remotely". So, could you so me how
Thanks so much!
Br,
ducls