Showing posts with label JBoss. Show all posts
Showing posts with label JBoss. Show all posts

Wednesday, January 24, 2007

Jboss: "console stream is looping" error

This is incredibly aggrevating. I downloaded JBoss 4.0.4 and JBoss 4.0.5. Both versions fail to startup due to the following error:

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.