Using Chainsaw to tail your JBoss server log

Log4j is a logging library from Apache.  It consists of loggers (log events) and appenders (a destination for a log message).  There’s always a rootLogger defined, plus however many other loggers you require.  A logger can have several appenders attached to it...

Serving static external content in JBoss

To serve external static content in JBoss you need to add a Context element mapping the url eg. /application/test_data to the external folder as follows: Edit /server/default/deploy/jbossweb-tomcat50.sar/server.xml and add a Context element just under the host tag....