Menu

#4390 [HHQ-4255] WebSphere Plugin error: Plugin class not found: c

Bug
open
None
7
2015-01-21
2010-09-14
No

http://jira.hyperic.com/browse/HHQ-4255
WebSphere Plugin error: Plugin class not found: com.ibm.websphere.management.exception.ConnectorException (invalid classpath or corrupt plugin jar).



After installing a hq-agent on the server running WebSphere Application Server, setting the configuration properties yields:


The configuration has not been set for this resource due to : Invalid configuration: Plugin error: Plugin class not found: com.ibm.websphere.management.exception.ConnectorException (invalid classpath or corrupt plugin jar)



The agent.log reports:


Plugin error: Plugin class not found: com.ibm.websphere.management.exception.ConnectorException (invalid classpath or corrupt plugin jar)


org.hyperic.hq.product.PluginException: Plugin class not found: com.ibm.websphere.management.exception.ConnectorException (invalid classpath or corrupt plugin jar)


at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:277)


at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:135)


at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:127)


at org.hyperic.hq.measurement.agent.server.MeasurementCommandsService.getMeasurements(MeasurementCommandsService.java:201)


at org.hyperic.hq.measurement.agent.server.MeasurementCommandsServer.dispatchCommand(MeasurementCommandsServer.java:168)


at org.hyperic.hq.agent.server.CommandDispatcher.processRequest(CommandDispatcher.java:112)


at org.hyperic.hq.agent.server.CommandListener.listenLoop(CommandListener.java:191)


at org.hyperic.hq.agent.server.AgentDaemon.start(AgentDaemon.java:844)


at org.hyperic.hq.agent.server.AgentDaemon$RunnableAgent.run(AgentDaemon.java:926)


at java.lang.Thread.run(Thread.java:736)


Caused by:


java.lang.NoClassDefFoundError: com.ibm.websphere.management.exception.ConnectorException


at java.lang.J9VMInternals.verifyImpl(Native Method)


at java.lang.J9VMInternals.verify(J9VMInternals.java:72)


at java.lang.J9VMInternals.verify(J9VMInternals.java:70)


at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)


at java.lang.J9VMInternals.newInstanceImpl(Native Method)


at java.lang.Class.newInstance(Class.java:1325)


at org.hyperic.hq.product.MeasurementPlugin.getNewCollector(MeasurementPlugin.java:478)


at org.hyperic.hq.product.Collector.getValue(Collector.java:504)


at org.hyperic.hq.product.MeasurementPlugin.getValue(MeasurementPlugin.java:445)


at org.hyperic.hq.plugin.websphere.WebsphereMeasurementPlugin.getValue(WebsphereMeasurementPlugin.java:55)


at org.hyperic.hq.product.MeasurementPluginManager.getPluginValue(MeasurementPluginManager.java:176)


at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:274)


... 9 more


Caused by:


java.lang.ClassNotFoundException: com.ibm.websphere.management.exception.ConnectorException


at java.net.URLClassLoader.findClass(URLClassLoader.java:421)


at java.lang.ClassLoader.loadClass(ClassLoader.java:652)


at java.lang.ClassLoader.loadClass(ClassLoader.java:618)


... 21 more


2010-08-27 14:43:52,775 DEBUG [Thread-8] [MeasurementCommandsService] Error getting real time measurement 'vmlin-was-005CellManager01/dmgr:Module=transactionModule:globalTransRolledBack:admin.host=10.0.0.124,admin.port=8879,username=wasadmin,password=wasadmin__RATE__=1m': Plugin error: Plugin class not found: com.ibm.websphere.management.exception.ConnectorException (invalid classpath or corrupt plugin jar)


org.hyperic.hq.product.PluginException: Plugin class not found: com.ibm.websphere.management.exception.ConnectorException (invalid classpath or corrupt plugin jar)


at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:277)


at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:135)


at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:127)


at org.hyperic.hq.measurement.agent.server.MeasurementCommandsService.getMeasurements(MeasurementCommandsService.java:201)


at org.hyperic.hq.measurement.agent.server.MeasurementCommandsServer.dispatchCommand(MeasurementCommandsServer.java:168)


at org.hyperic.hq.agent.server.CommandDispatcher.processRequest(CommandDispatcher.java:112)


at org.hyperic.hq.agent.server.CommandListener.listenLoop(CommandListener.java:191)


at org.hyperic.hq.agent.server.AgentDaemon.start(AgentDaemon.java:844)


at org.hyperic.hq.agent.server.AgentDaemon$RunnableAgent.run(AgentDaemon.java:926)


at java.lang.Thread.run(Thread.java:736)


Caused by:


java.lang.NoClassDefFoundError: com.ibm.websphere.management.exception.ConnectorException


at java.lang.J9VMInternals.verifyImpl(Native Method)


at java.lang.J9VMInternals.verify(J9VMInternals.java:72)


at java.lang.J9VMInternals.verify(J9VMInternals.java:70)


at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)


at java.lang.J9VMInternals.newInstanceImpl(Native Method)


at java.lang.Class.newInstance(Class.java:1325)


at org.hyperic.hq.product.MeasurementPlugin.getNewCollector(MeasurementPlugin.java:478)


at org.hyperic.hq.product.Collector.getValue(Collector.java:504)


at org.hyperic.hq.product.MeasurementPlugin.getValue(MeasurementPlugin.java:445)


at org.hyperic.hq.plugin.websphere.WebsphereMeasurementPlugin.getValue(WebsphereMeasurementPlugin.java:55)


at org.hyperic.hq.product.MeasurementPluginManager.getPluginValue(MeasurementPluginManager.java:176)


at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:228)


... 9 more


Caused by:


java.lang.ClassNotFoundException: com.ibm.websphere.management.exception.ConnectorException


at java.net.URLClassLoader.findClass(URLClassLoader.java:421)


at java.lang.ClassLoader.loadClass(ClassLoader.java:652)


at java.lang.ClassLoader.loadClass(ClassLoader.java:618)


... 21 more


2010-08-27 14:43:52,777 DEBUG [Thread-8] [MeasurementCommandsService] Error getting real time measurement 'vmlin-was-005CellManager01/dmgr:Module=transactionModule:globalTransCommitted:admin.host=10.0.0.124,admin.port=8879,username=wasadmin,password=wasadmin__RATE__=1m': Plugin error: Plugin class not found: com.ibm.websphere.management.exception.ConnectorException (invalid classpath or corrupt plugin jar)


org.hyperic.hq.product.PluginException: Plugin class not found: com.ibm.websphere.management.exception.ConnectorException (invalid classpath or corrupt plugin jar)


at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:277)


at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:135)


at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:127)


at org.hyperic.hq.measurement.agent.server.MeasurementCommandsService.getMeasurements(MeasurementCommandsService.java:201)


at org.hyperic.hq.measurement.agent.server.MeasurementCommandsServer.dispatchCommand(MeasurementCommandsServer.java:168)


at org.hyperic.hq.agent.server.CommandDispatcher.processRequest(CommandDispatcher.java:112)


at org.hyperic.hq.agent.server.CommandListener.listenLoop(CommandListener.java:191)


at org.hyperic.hq.agent.server.AgentDaemon.start(AgentDaemon.java:844)


at org.hyperic.hq.agent.server.AgentDaemon$RunnableAgent.run(AgentDaemon.java:926)


at java.lang.Thread.run(Thread.java:736)


Caused by:


java.lang.NoClassDefFoundError: com.ibm.websphere.management.exception.ConnectorException


at java.lang.J9VMInternals.verifyImpl(Native Method)


at java.lang.J9VMInternals.verify(J9VMInternals.java:72)


at java.lang.J9VMInternals.verify(J9VMInternals.java:70)


at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)


at java.lang.J9VMInternals.newInstanceImpl(Native Method)


at java.lang.Class.newInstance(Class.java:1325)


at org.hyperic.hq.product.MeasurementPlugin.getNewCollector(MeasurementPlugin.java:478)


at org.hyperic.hq.product.Collector.getValue(Collector.java:504)


at org.hyperic.hq.product.MeasurementPlugin.getValue(MeasurementPlugin.java:445)


at org.hyperic.hq.plugin.websphere.WebsphereMeasurementPlugin.getValue(WebsphereMeasurementPlugin.java:55)


at org.hyperic.hq.product.MeasurementPluginManager.getPluginValue(MeasurementPluginManager.java:176)


at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:228)


... 9 more


Caused by:


java.lang.ClassNotFoundException: com.ibm.websphere.management.exception.ConnectorException


at java.net.URLClassLoader.findClass(URLClassLoader.java:421)


at java.lang.ClassLoader.loadClass(ClassLoader.java:652)


at java.lang.ClassLoader.loadClass(ClassLoader.java:618)


... 21 more


2010-08-27 14:43:52,780 DEBUG [Thread-8] [MeasurementCommandsService] Error getting real time measurement 'vmlin-was-005CellManager01/dmgr:Module=jvmRuntimeModule:Availability:admin.host=10.0.0.124,admin.port=8879,username=wasadmin,password=**': Plugin error: Plugin class not found: com.ibm.websphere.management.exception.ConnectorException (invalid classpath or corrupt plugin jar)


org.hyperic.hq.product.PluginException: Plugin class not found: com.ibm.websphere.management.exception.ConnectorException (invalid classpath or corrupt plugin jar)


at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:277)


at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:135)


at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:127)


at org.hyperic.hq.measurement.agent.server.MeasurementCommandsService.getMeasurements(MeasurementCommandsService.java:201)


at org.hyperic.hq.measurement.agent.server.MeasurementCommandsServer.dispatchCommand(MeasurementCommandsServer.java:168)


at org.hyperic.hq.agent.server.CommandDispatcher.processRequest(CommandDispatcher.java:112)


at org.hyperic.hq.agent.server.CommandListener.listenLoop(CommandListener.java:191)


at org.hyperic.hq.agent.server.AgentDaemon.start(AgentDaemon.java:844)


at org.hyperic.hq.agent.server.AgentDaemon$RunnableAgent.run(AgentDaemon.java:926)


at java.lang.Thread.run(Thread.java:736)


Caused by:


java.lang.NoClassDefFoundError: com.ibm.websphere.management.exception.ConnectorException


at java.lang.J9VMInternals.verifyImpl(Native Method)


at java.lang.J9VMInternals.verify(J9VMInternals.java:72)


at java.lang.J9VMInternals.verify(J9VMInternals.java:70)


at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)


at java.lang.J9VMInternals.newInstanceImpl(Native Method)


at java.lang.Class.newInstance(Class.java:1325)


at org.hyperic.hq.product.MeasurementPlugin.getNewCollector(MeasurementPlugin.java:478)


at org.hyperic.hq.product.Collector.getValue(Collector.java:504)


at org.hyperic.hq.product.MeasurementPlugin.getValue(MeasurementPlugin.java:445)


at org.hyperic.hq.plugin.websphere.WebsphereMeasurementPlugin.getValue(WebsphereMeasurementPlugin.java:55)


at org.hyperic.hq.product.MeasurementPluginManager.getPluginValue(MeasurementPluginManager.java:176)


at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:274)


... 9 more


Caused by:


java.lang.ClassNotFoundException: com.ibm.websphere.management.exception.ConnectorException


at java.net.URLClassLoader.findClass(URLClassLoader.java:421)


at java.lang.ClassLoader.loadClass(ClassLoader.java:652)


at java.lang.ClassLoader.loadClass(ClassLoader.java:618)


... 21 more



Expected Result:


After setting configuration properties for WAS, the settings are saved and availability/metrics begin collecting.



Actual Result:


Unable to set configuration properties for WAS; no availability/metrics can be collected.



Steps to Reproduce:


1. Install hq-agent on platform running WAS.


2. Log into Hyperic


3. Import auto-discovered WAS platform into inventory


4. Selected newly added (step 3) platform resource


5. Select Inventory tab


6. Click 'Configuration Properties' link or Edit button within Configuration Properties section


7. Configure admin.port, admin.host, username, and password


8. Click OK button


9. Note the reported error:


The configuration has not been set for this resource due to : Invalid configuration: Plugin error: Plugin class not found: com.ibm.websphere.management.exception.ConnectorException (invalid classpath or corrupt plugin jar)



Work around:


None



Additional Information:


Java used which starts WAS:

java -version



java version "1.6.0"


Java(TM) SE Runtime Environment (build pxa6460sr7ifix-20100220_02(SR7+IZ69890+IZ70326))


IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr7-20100219_54097 (JIT enabled, AOT enabled)


J9VM - 20100219_054097


JIT - r9_20091123_13891


GC - 20100216_AA)


JCL - 20091202_01



Running command line auto-discover correctly discovers two servers and reports no error

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.