on 04-14-2005 7:16 PM
hi all,
when i try to import the javax.management.DynamicMBean i get a NoClassDefFoundError. I assumed that JMX came with the J2EE server and that the jar files would be in the server classpath and would be loaded by the parent classloader(before application classloader). this would mean that the application will get this class. Is this wrong. or am I supposed to do something to get JMX enabled on the server. Can someone help me with this please. thanks in advance.
-RD
Hi RD,
You have to declare a reference to the jmx library in your application-j2ee-engine.xml descriptor, just like this:
<reference reference-type="weak">
<reference-target target-type="library" provider-name="sap.com">
tc/jmx
</reference-target>
</reference>
Hope that helps!
Vladimir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.