Errai: The browser as a platform
JBoss Errai offers a set of components for building rich web applications using the Google Web Toolkit (GWT).
Monday, March 29, 2010
Visual Bus Monitor
For the past few weeks, I've been focusing on seeing how we can improve the development / debugging experience with ErraiBus. The biggest component of this, is our new Swing-based ErraiBus Monitor application.
It's really straight-forward to get up and running.
You simply add it as a runtime dependency, and bootstrap GWT Development Mode with the -Derrai.tools.bus_monitor_attach=true VM flag, and this magical UI should automatically appear as ErraiBus bootstraps.
When the monitor is activated, it attaches probes in into the bus and records all activity accordingly. You can drill down into individual services and examine individual messages that have been received to debug any mysterious problems that arise.
There will be more details to come as I firm up the tool, but I thought I'd share my progress with the community since Heiko says I don't blog enough :)
Is it possible to use the monitor in an jboss AS 7 situation?
ReplyDeleteI have tried it by adding the define to the standalone.conf.bat but no luck.
Hi
ReplyDeleteYou say the UI automatically appears. This is not the case for me. Do I need to open a special view? I did not find anything "ERRAI" like. Should I see anything in the JBoss server log?
I am on Eclipse Juno with ERRAI 2.1
We found the solution. We use JBoss and needed to add the following flags to the JBoss launch configuration VM arguments
ReplyDelete-Derrai.tools.bus_monitor_attach=true -Djava.awt.headless=false
In the first place, we added the flags to the GWT web app launcher, which was wrong.