I'm trying to bring production deployment up to 1.2.8 from RC1.  The JVM
involved is 1.2.2 and is bundled along with the commercial ejb server so I'm
stuck there.  I don't see the problem with JDK1.3x and above.  But, with
jdk1.2.2 I'm getting the trace below.  I wondered if any others are seeing
this.  If I remove the log4j.xml (or properties as it happens with both)
then I do not get the IllegalMonitorStateException, but I still get the
chgTarg JIT error.  


Apparantly I can use log4j-1.2.7 as indicated by test7, but if the situation
remains I'll be stuck there.  The relevent (xerces is 1.4.4) classpath is: 
                .;D:\lib\log4j-1.2.8.jar;D:\lib\xerces.jar


Log4j.xml is a simple case; it hasn't much mattered what that file was, even
if it was nearly empty or a .properties file:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration>
        <appender name="ROLLING_LOG"
class="org.apache.log4j.RollingFileAppender">
                <param name="File" value="log4j.log"/>
                <layout class="org.apache.log4j.TTCCLayout"/>
        </appender>
        <root>
                <priority value="debug"/>
                <appender-ref ref="ROLLING_LOG"/>
        </root>
</log4j:configuration>



Is anyone else able to duplicate this problem?  Is jdk1.2 obsolete or
"unsupported"?  Thanks millions for any help or comments!
-rsh



---
d:\log4j>test 7
java version "1.2.2"
Classic VM (build JDK-1.2.2-W, native threads, symcjit)
0 [main] INFO examples.Trivial Client #45890 - Awake awake. Put on thy
strength.
20 [main] DEBUG examples.Trivial Client #45890 DB - Now king David was old.
20 [main] INFO examples.Trivial$InnerTrivial Client #45890 - Entered foo.
20 [main] INFO examples.Trivial Client #45890 - Exiting Trivial.

d:\log4j>test 8
java version "1.2.2"
Classic VM (build JDK-1.2.2-W, native threads, symcjit)
log4j:ERROR Could not parse input source [EMAIL PROTECTED]
java.lang.IllegalMonitorStateException: current thread not owner
        at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666)
        at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
        at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602)
        at
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.
java:460)
        at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
        at examples.Trivial.<clinit>(Trivial.java:36)
A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has
occurred in :
  'org/apache/log4j/Hierarchy.getLogger
(Ljava/lang/String;Lorg/apache/log4j/spi/LoggerFactory;)Lorg/apache/log4j/Lo
gger;': Interpre
ting method.
  Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi

A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has
occurred in :
  'org/apache/log4j/Category.callAppenders
(Lorg/apache/log4j/spi/LoggingEvent;)V': Interpreting method.
  Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi

0 [main] INFO examples.Trivial Client #45890 - Awake awake. Put on thy
strength.
20 [main] DEBUG examples.Trivial Client #45890 DB - Now king David was old.
20 [main] INFO examples.Trivial$InnerTrivial Client #45890 - Entered foo.
20 [main] INFO examples.Trivial Client #45890 - Exiting Trivial.

d:\log4j>


        >>>>>>  CHANGE TO JDK1.3.1      <<<<<<<<<<<


d:\log4j>set java_home=d:\jdk1.3.1

d:\log4j>set path=%java_home%\bin;%path%

d:\log4j>java -version
java version "1.3.1_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_04-b02)
Java HotSpot(TM) Client VM (build 1.3.1_04-b02, mixed mode)

d:\log4j>test 7
Could Not Find d:\log4j\log4j.log
java version "1.3.1_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_04-b02)
Java HotSpot(TM) Client VM (build 1.3.1_04-b02, mixed mode)
0 [main] INFO examples.Trivial Client #45890 - Awake awake. Put on thy
strength.
10 [main] DEBUG examples.Trivial Client #45890 DB - Now king David was old.
10 [main] INFO examples.Trivial$InnerTrivial Client #45890 - Entered foo.
10 [main] INFO examples.Trivial Client #45890 - Exiting Trivial.

d:\log4j>test 8
java version "1.3.1_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_04-b02)
Java HotSpot(TM) Client VM (build 1.3.1_04-b02, mixed mode)
0 [main] INFO examples.Trivial Client #45890 - Awake awake. Put on thy
strength.
0 [main] DEBUG examples.Trivial Client #45890 DB - Now king David was old.
0 [main] INFO examples.Trivial$InnerTrivial Client #45890 - Entered foo.
0 [main] INFO examples.Trivial Client #45890 - Exiting Trivial.

d:\log4j>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to