-
1. Re: log4j from within a bean hangs jboss
crobert Aug 29, 2002 12:21 PM (in response to crobert)
With JBoss 3.0.1 and JDK 1.3.1, the problem is still there. Isn't any of you experiencing the same problem with log4j when being used from a stateless session bean, as above ?
Robert -
2. Re: log4j from within a bean hangs jboss
adrian.brock Aug 29, 2002 12:42 PM (in response to crobert)Turn off "quick edit mode" on your console.
Right click on the window title bar and select
properties.
Regards,
Adrian -
3. Re: log4j from within a bean hangs jboss
crobert Sep 9, 2002 9:25 AM (in response to crobert)
Ummm.. It's already turned off! (I had such a problem before, with the "quick edit edit mode": I had to press a key on the server's console, for the remote call to execute -- problem with the log4j Console Appender I guess -- and that's when I turned off the quick edit mode)
So right now, when it hangs, it's _frozen_ .. I have to kill the java process in order to terminate the execution. Very strange. Anyway, thanks for the suggestion.
Robert -
4. Re: log4j from within a bean hangs jboss
sdixit Oct 9, 2002 2:41 PM (in response to crobert)Did you find any solution to this problem?
Sandeep -
5. Re: log4j from within a bean hangs jboss
crobert Oct 29, 2002 3:53 AM (in response to crobert)
Unfortunately no. :-/ I stopped using log4j and implemented a lightweight logger with no threads inside and my problem dissapeared. (I haven't tested the problem with Jboss 3.0.2 or 3.0.3 though)
Were you able to reproduce it too ?
Robert -
6. Re: log4j from within a bean hangs jboss
crobert Nov 11, 2002 9:18 AM (in response to crobert)
Ok. According to the "Changes between JBoss-3.0.4 and JBoss-3.0.3", this appears to be fixed:
"module: src/main/org/jboss/logging/util; files: CategoryStream.java
comments: Remove the synchronized on write as it can cause deadlock if a thread is a log4j call at the same time another thread is issuing a System.out. Fixed bug #619171"