0 Replies Latest reply on Dec 19, 2006 1:12 AM by gommo

    Log4J and JBoss. Piping output

    gommo

      (Using WinXP)

      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.

      Any tips would be great.

      Thanks