-
1. Re: Java2ClassLoadingCompliance==false -> NO jmx-console
rme May 31, 2003 10:36 AM (in response to rme)Thanks to everyone who did not respond. I was forced to dig
deeply into JBoss and uncover the magic incantation.
I've got it working now.
Thanks again.
Richard -
2. Re: Java2ClassLoadingCompliance==false -> NO jmx-console
rseegel Jun 3, 2003 12:58 PM (in response to rme)What was the magic incantation you used? I had the
same problem
Thanks,
Rob -
3. Re: Java2ClassLoadingCompliance==false -> NO jmx-console
pickatrail Jun 12, 2003 8:40 PM (in response to rme)You can control Java2 delegation for individual web application. According to $JBOSS_HOME/docs/dtd/jboss-web_3_2.dtd, you can control Java2 delegation for individual web applications. In the perfect world you would add the following to jmx-console.war/WEB-INF/jboss-web.xml:
<class-loading java2ClassLoadingCompliance="true"/>
However, due to a bug in JBoss 3.2 (and probably 3.2.1 too), you really have to say:
<class-loading servlet23ClassLoading="true"/>
I haven't tried this. Good luck.
p.s. You may expect java2ClassLoadingCompliance and servlet23ClassLoading to be complement of each other, namely servlet23ClassLoading=false for Java2 delegation. The bug is just using the wrong name for the attribute. See http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/jboss/src/main/org/jboss/web/AbstractWebContainer.java.diff?r1=1.51.2.14&r2=1.51.2.15 for details.