[jboss-user] [Installation, Configuration & Deployment] - Re: Stupid problem: no logging period for an EAR file

SmokingAPipe do-not-reply at jboss.com
Tue Jan 16 01:54:49 EST 2007


I looked at the jmx-console and looked at the log4j mbean, and set the CatchSystemErr and CatchSystemOut to false, and that didn't seem to change anything.  The one thing that does work is (Java 6) System.console().printf().  That cannot be redirected at all from within Java.  Unfortunately if I want to see exception traces using that I still need to use try / catch blocks, AND it won't do me any good for looking at exceptions that occur outside my code.

The other alternative is to run a totally separate JBoss instance on another port and don't use virtual hosts at all.

But this all seems absurd.  JBoss is such an advanced product, there must be some way to log exceptions and use virtual hosts.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002137#4002137

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002137



More information about the jboss-user mailing list