ERROR: invalid console appender config detected, console stream is looping
I see postings all over the internet about this. I see postings all over the JBoss forums specifically about this, all with zero replies. It is just ridiculous that a straight off the website download doesn't even startup correctly. It is very sad that the community over at jboss.org cannot help eachother out with this.
I am attempting to run these versions on my windows laptop for an experiment during my 40 minute train ride. I am betting this has something to do with it, as I haven't seen this problem before on my Linux machines. (Don't even think about blaming windows for this, it is a jboss problem).
Well, anyway, after digging around for 30 minutes I stumbled on a post that claims you shouldn't need the following hack post-jboss-3.2.1. Well, guess what, you need it in 4.0.5 as well apparently.
set JAVA_OPTS=-Dorg.jboss.logging.Log4jService.catchSystemOut=false
bin\run.bat
Or, do as I did and put it right in your run.bat file:
set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME% -Dorg.jboss.logging.Log4jService.catchSystemOut=false
What a pain.
22 comments:
Thanks a lot. You saved me a lot of time and frustration. Peace.
This post also saved me like at least one hour of work. Thanks a lot buddy!
Thank you so much for posting this.
I'm glad Google finds my post for this quickly, it took me forever to find the answer.
I blogged it here originally so I wouldn't have to look for it again :P
Thanks for saving me time researching this issue.
Yazeed Alfawadleh
I've used JBos 4.0.3, 4.0.4, 4.0.5 and never had this problem. maybe it's an issue with the installer versus using the zip file version - I use the zip file version - I hate the installer!
Thanks you saved my day
Thanks this worked for me as well in windows using Jboss 4.2.2.GA, this is new project hence haven't moved it to linux environment yet..
Also the install i am using is Zip version.
Thanks a Lot Ray !!
I was really struggling with this one. I have configured JBoss with my Eclipse and was facing this issue.
thank you very much, it solved my problem !
Great help....Thanks
Great!
That's funny because another problem:
ERROR [STDERR] log4j:ERROR A "org.jboss.logging.appender.FileAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
actually... fixes it!
It seems that failed attempt to load it's own config with doubled Log4j Jars forces JBOSS to load safe (project config + project Jar) configuration skipping it's own Jar and log4j config.
Dude, you're a God to me. Thanks for taking the time.
I had this error, but it was MY FAULT.
I configured my application with its own XML configuration, per the JBoss O'Reilly book, but -
I screwed up the build.xml files and was failing to actually deploy my log4j configuration files.
FWIW - the O'Reilly examples completely fail to log any error conditions when initializing log4j - the exception catch blocks are empty, and there are no else clauses to the positive cases.
Once I fixed up the O'Reilly source code to actually tell me what was happening, it was obvious where the problem was.
Very odd however that JBoss issues this "console looping" error for the simple case where a call to the DOMConfigurator was failing due to missing files.
Thanks a lot.. You saved lots of my time :)
Thank you so much.
Andreas
Thanks a lot. This error was causing us to not see the logs in eclipse but externally.
You Saved my time a lot, thanks you very very much.
Suranga Kasthuriarachchi
Thanks!
You saved me!
Thank you this was usefull.
I absolutely cannot believe that people are still dealing with this. The post was from 2007 for shit's sake.
I'm glad folks are finding it useful at least :)
I use it key even at 2013 year, we still have an app under JBOSS4, Thank You Ray,
but I couldn't find what catchSystemOut means? ^:)
Post a Comment