I'm playing around with launching JBoss from another JBoss application by launching the run.bat and shutdown.bat files etc..
I can do this in a way that no commandline windows appear. What I'd like to be able to do (and if possible with log4j ??) is pipe the output normally going to the console window into a JFrame running in my launcher Java app.
The reason I want to do this is obviously to have a way to see JBoss running in realtime rather than by checking log files, but the whole idea is so my launcher Java app can do schema updating on the database automatically before JBoss launches.