You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2003/05/22 01:12:05 UTC

DO NOT REPLY [Bug 20134] New: - log4j incompatible with jdk1.2.2: IllegalMonitorStateException

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20134>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20134

log4j incompatible with jdk1.2.2: IllegalMonitorStateException

           Summary: log4j incompatible with jdk1.2.2:
                    IllegalMonitorStateException
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Configurator
        AssignedTo: log4j-dev@jakarta.apache.org
        ReportedBy: stefanmueller@swissonline.ch


When run log4j with jdk1.2.2 on Windows2000, there is the following exception:

IllegalMonitorStateException: current thread not owner

when calling PropertyConfigurator.configure. See stacktrace of the JUnit test 
case below. With jdk1.3 and 1.4 it works fine. This is a show stopper, as we 
can not upgrade to 1.3 or 1.4! Please fix!

Kind regards
Stefan Mueller


TestCase: testInitialize
(ch.steria.jaba.test.toolkit.log.log4jimpl.LogBooterApplicationComponentTest)
Exception was: java.lang.IllegalMonitorStateException: current thread not owner
	at org.apache.log4j.PropertyConfigurator.doConfigure
(PropertyConfigurator.java:406)
	at org.apache.log4j.PropertyConfigurator.configure
(PropertyConfigurator.java:340)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org