Technote (troubleshooting)
Problem(Abstract)
This technote explains how to avoid the "error java.lang.NoClassDefFoundError: com.ibm.ffdc.Manager" when running an IBM® Websphere® Application Server Thin client that tries to use the Java Management Extensions (JMX) API.
Symptom
When executing the following code from a Websphere Application Server Thin client :
|
the following console output is displayed:
Exception in thread "main" java.lang.NoClassDefFoundError:
com.ibm.ffdc.Manager
at com.ibm.websphere.management.AdminClientFactory.loadPropertiesFromFile
(AdminClientFactory.java:1062) at
com.ibm.websphere.management.AdminClientFactory.access$000
(AdminClientFactory.java:117) at
com.ibm.websphere.management.AdminClientFactory$1.run
(AdminClientFactory.java:295)at
com.ibm.ws.security.util.AccessController.doPrivileged
(AccessController.java:63) at
com.ibm.websphere.management.AdminClientFactory.createAdminClient
(AdminClientFactory.java:293) at jmxTest.JMXTest.main(JMXTest.java:43)
Caused by: java.lang.ClassNotFoundException: com.ibm.ffdc.Manager
at java.net.URLClassLoader.findClass(URLClassLoader.java:419)
at java.lang.ClassLoader.loadClass(ClassLoader.java:643)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:300)
at java.lang.ClassLoader.loadClass(ClassLoader.java:609)
... 6 more
Resolving the problem
Add the WebSphere Application Server Administration Thin Client JAR jar
com.ibm.ws.admin.client_X.0.0.jar to the application Java Build Path located in the runtimes folder of the WebSphere Application Server installation directory.
For example, for WebSphere Application Server 7.0, the file name is:
com.ibm.ws.admin.client_7.0.0.jar
and it is located in:
C:\Program Files\IBM\SDP\runtimes\base_v70\runtimes
Related information
Using the Administration Thin Client
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.