This issue has already been addressed in the JIRA for JBoss J2EE 1.4 compliance, under JBAS-1503.
Anyway, when you follow the directions in the readme.html
file that ships with JBoss 4.0.1sp1, it seems to have problems
with certain war files, and log4j, and commons-logging.jar.
My application, which is an EAR, with EJBs and and a War, seems
to work when I set
<attribute name="Java2ClassLoadingCompliance">true</attribute>
The commons-logging.jar cannot be included in any scoped war deployment currently.