Hi,Thanks a lot. I had already read this. Anyway, I decided to read it more carefully.
What jars that didn't ship with tomcat are in your runtime classpath?I;ve nothing set on my classpath. I saw that tomcat override
whatever you set . The script
setclasspath.sh does the job. It does this.
I'm aware of this script and what it does -- thanks ;) But that's not what I asked. By what's in your runtime classpath, I mean exactly that: your runtime classpath includes the WEB-INF/classes directory of your webapp, WEB-INF/lib, common/lib, shared/lib, the bootstrap classloader, system endorsed directories, and others possibly. (See tomcat's classloader howto if you're not sure what I'm talking about). If one of these directories that comes before common/lib in the runtime classpath has an older JMX jar without the exception, you'd get the error you're getting.
As this was not a simple problem to find. I found good information about this problem.
In my case it was not the jmx.jar file that was duplicated. But, some old stuff installed
in the jdk 1.4 ext diretory was messing up the class loaders. I found good information
on these two articles that leaded me to the reason of the problem.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html
http://marc.theaimsgroup.com/?l=tomcat-user&m=103843452413727&w=2
Thanks for all the help the group gave.
Joao,
Yoav Shapira
This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
