Thanks, this is so close... but not quite. I used 4.0.1sp1 (newer than 4.0.1rc2, and if I understand correctly it is a production release rather than beta or release candidate).
1) The release notes in the docs section have a minor error (I noticed it by comparing the config files of 4.0.0 and 4.0.1sp1). The instructions at http://docs.jboss.org/jbossas/whatsnew40/html_single/ say to set tomcat50.sar/META-INF/jboss-service.xml Java2ClassLoadingCompliance to "false". I believe the correct value is "true",as it was in 4.0.0, but I don't claim to understand what it does. With the false value you get a pile of exceptions. With true, it "mostly works". 2) Once setup as above, it no longer throws exceptions and the application's log4j.xml takes over logging as expected. Problem is, it also takes all of the server logging messages! Could it be that the fix that you mentioned was done in 4.0.1RC2 was perhaps done in 4.0.2RC1? 2B) Of course, I might have made a mistake in my log4j initialization (I don't think so, but you never know), so here is my log4j.xml file, loaded from the file system with DOMConfigurator.configure(log4jCfgFile): < ?xml version="1.0" encoding="UTF-8" ?> < !DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> < log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> < appender name="rollfile" class="org.apache.log4j.RollingFileAppender"> < param name="Threshold" value="DEBUG"/> < param name="File" value="/jboss-4.0.1sp1/server/default/log/co.log"/> < param name="Append" value="true" /> < param name="MaxFileSize" value="500KB"/> < param name="MaxBackupIndex" value="2"/> < layout class="org.apache.log4j.PatternLayout"> < param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss} %-5p [%C.%M,%L] %m%n"/> < /layout> < /appender> < root> < priority value ="debug"/> < appender-ref ref="rollfile"/> < /root> < /log4j:configuration> View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870393#3870393 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870393 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
