NoClassDefFoundError for HtmlAdaptorServer on Weblogic

I am encountering a NoClassDefFoundError when I attempt to instantiate an instance of the HtmlAdaptorServer class from the JMX 1.2 RI from within my Weblogic server application.

The weblogic ear, and staging directory contain both the jxmri.jar and the jmxtools.jar.Any ideas of what I am missing?

Running the BaseAgent class from the RI packages outside of Weblogic runs fine...

[398 byte] By [mikemila] at [2007-10-3 7:19:13]
# 1

Fixed my own problem. I didn't help adding the jmxtools.jar to my war, then ear.

All I needed to do was add jmxtools.jar to the classpath on my machine before starting Weblogic. Since I don't generally run with a classpath specified, I just had to setup a CLASSPATH with just that jar. Then the instance startup script prepends the WLS jars and appends my CLASSPATH and it works!

mikemila at 2007-7-15 2:16:33 > top of Java-index,Core,Monitoring & Management...