VMware Cloud Community
laullon
VMware Employee
VMware Employee
Jump to solution

Webpshere 6.0 HQ-Agent 2.7.5 NoClassDefFound ConnectorException

c-156: /aplicaciones/hyperic-hq-agent-2.7.5 # java -jar pdk/lib/hq-product.jar -p websphere -m discover -Dlog=debug
.
.
.
[INFO] ProductPluginManager - Loading plugin: websphere-plugin.jar
[DEBUG] WebsphereProductPlugin - websphere.installpath found in process table
[DEBUG] WebsphereProductPlugin - Using profile: AppSrv01
[DEBUG] WebsphereProductPlugin - Using soap properties: /aplicaciones/websphere/profiles/AppSrv01/properties/soap.client.props
[DEBUG] WebsphereProductPlugin - Unable to find ssl.client.props
[DEBUG] ProductPluginManager - adding to websphere classpath:
[DEBUG] ProductPluginManager - + /aplicaciones/websphere/lib/j2ee.jar
[DEBUG] ProductPluginManager - + /aplicaciones/websphere/lib/bootstrap.jar
[DEBUG] ProductPluginManager - + /aplicaciones/websphere/lib/urlprotocols.jar
[DEBUG] ProductPluginManager - + /aplicaciones/websphere/lib/mail-impl.jar
[DEBUG] ProductPluginManager - + /aplicaciones/websphere/etc/tmx4jTransform.jar
.
.
.
[DEBUG] PluginDiscoverer - Adding Auto Scanners=[ServerSignature {stName=WebSphere Admin 5.0, match=[/**/lib/wasjmx.jar], exclude=[null], regMatch=[InstallLocation]}, ServerSignature {stName=WebSphere Admin 6.0, match=[/**/lib/wasjmx.jar], exclude=[null], regMatch=[InstallLocation]}, ServerSignature {stName=WebSphere Admin 6.1, match=[/**/lib/wasjmx.jar], exclude=[null], regMatch=[InstallLocation]}]
[DEBUG] AutoScan - Running AutoServerDetector for: WebSphere Admin 5.0
[DEBUG] WebsphereDetector - WebSphere Admin 5.0 '/aplicaciones/websphere/profiles/AppSrv01/lib/jmxc.jar'.exists()=false
[DEBUG] WebsphereDetector - /aplicaciones/websphere/profiles/Dmgr01/bin/startNode.sh Not found
[DEBUG] WebsphereDetector - WebSphere Admin 5.0 '/aplicaciones/websphere/profiles/AppSrv01/lib/jmxc.jar'.exists()=false
[DEBUG] AutoScan - Running AutoServerDetector for: WebSphere Admin 6.0
[DEBUG] WebsphereDetector - WebSphere Admin 6.0 '/aplicaciones/websphere/profiles/AppSrv01/../../properties/version/WAS.product'.exists()=true
[DEBUG] WebsphereDetector - Detected c-156 WebSphere Admin 6.0 in /aplicaciones/websphere/profiles/AppSrv01
[DEBUG] WebsphereDetector - /aplicaciones/websphere/profiles/Dmgr01/bin/startNode.sh Not found
[DEBUG] WebsphereDetector - WebSphere Admin 6.0 '/aplicaciones/websphere/profiles/AppSrv01/../../properties/version/WAS.product'.exists()=true
[DEBUG] WebsphereDetector - Detected c-156 WebSphere Admin 6.0 in /aplicaciones/websphere/profiles/AppSrv01
[DEBUG] AutoScan - Running AutoServerDetector for: WebSphere Admin 6.1
[DEBUG] WebsphereDetector - WebSphere Admin 6.1 '/aplicaciones/websphere/profiles/AppSrv01/../../properties/version/WAS.product'.exists()=true
[DEBUG] WebsphereDetector - /aplicaciones/websphere/profiles/Dmgr01/bin/startNode.sh Not found
[DEBUG] WebsphereDetector - WebSphere Admin 6.1 '/aplicaciones/websphere/profiles/AppSrv01/../../properties/version/WAS.product'.exists()=true
1 servers detected

Server: c-156 WebSphere Admin 6.0 [/aplicaciones/websphere/profiles/AppSrv01]
config...
product..{admin.port=8880, was.install.root=/aplicaciones/websphere, server.node=c-156Node01, admin.host=localhost}
metric...{}
control..{program=/aplicaciones/websphere/profiles/AppSrv01/bin/startNode.sh}
[DEBUG] PluginDiscoverer - Runtime discover for c-156 WebSphere Admin 6.0, config={password=null, log=debug, admin.port=8880, timeout=300, prefix=, was.install.root=/aplicaciones/websphere, username=null, server.node=c-156Node01, installpath=/aplicaciones/websphere/profiles/AppSrv01, program=/usr/local/apps/websphere-admin-6.0/bin/startServer.sh, admin.host=localhost}
[DEBUG] PluginDiscoverer - WebSphere Admin 6.0 Solaris-->java.lang.NoClassDefFoundError: com/ibm/websphere/management/exception/ConnectorException <java.lang.NoClassDefFoundError: com/ibm/websphere/management/exception/ConnectorException>java.lang.NoClassDefFoundError: com/ibm/websphere/management/exception/ConnectorException
at org.hyperic.hq.plugin.websphere.WebsphereDetector5.discoverServers(WebsphereDetector5.java:59)
at org.hyperic.hq.product.ServerDetector.discoverResources(ServerDetector.java:184)
at org.hyperic.hq.product.util.PluginDiscoverer.runtimeScan(PluginDiscoverer.java:589)
at org.hyperic.hq.product.util.PluginDiscoverer.start(PluginDiscoverer.java:307)
at org.hyperic.hq.product.util.PluginDumper.testDiscovery(PluginDumper.java:1065)
at org.hyperic.hq.product.util.PluginDumper.invoke(PluginDumper.java:431)
at org.hyperic.hq.product.util.PluginMain.main(PluginMain.java:273)
0 Kudos
1 Solution

Accepted Solutions
dougm_hyperic
VMware Employee
VMware Employee
Jump to solution


Hi German,

You'll need to install this update:
http://jira.hyperic.com/browse/HHQ-763

It has only been tested against 3.0.2 but should also work fine with 2.7.x

On Mar 27, 2007, at 8:42 AM, German Laullon wrote:

c-156: /aplicaciones/hyperic-hq-agent-2.7.5 # java -jar pdk/lib/hq-product.jar -p websphere  -m discover -Dlog=debug
.
.
.
[INFO] ProductPluginManager - Loading plugin: websphere-plugin.jar
[DEBUG] WebsphereProductPlugin - websphere.installpath found in process table
[DEBUG] WebsphereProductPlugin - Using profile: AppSrv01
[DEBUG] WebsphereProductPlugin - Using soap properties: /aplicaciones/websphere/profiles/AppSrv01/properties/soap.client.props
[DEBUG] WebsphereProductPlugin - Unable to find ssl.client.props
[DEBUG] ProductPluginManager - adding to websphere classpath:
[DEBUG] ProductPluginManager -    + /aplicaciones/websphere/lib/j2ee.jar
[DEBUG] ProductPluginManager -    + /aplicaciones/websphere/lib/bootstrap.jar
[DEBUG] ProductPluginManager -    + /aplicaciones/websphere/lib/urlprotocols.jar
[DEBUG] ProductPluginManager -    + /aplicaciones/websphere/lib/mail-impl.jar
[DEBUG] ProductPluginManager -    + /aplicaciones/websphere/etc/tmx4jTransform.jar
.
.
.
[DEBUG] PluginDiscoverer - Adding Auto Scanners=[ServerSignature {stName=WebSphere Admin 5.0, match=[/**/lib/wasjmx.jar], exclude=[null], regMatch=[InstallLocation]}, ServerSignature {stName=WebSphere Admin 6.0, match=[/**/lib/wasjmx.jar], exclude=[null], regMatch=[InstallLocation]}, ServerSignature {stName=WebSphere Admin 6.1, match=[/**/lib/wasjmx.jar], exclude=[null], regMatch=[InstallLocation]}]
[DEBUG] AutoScan - Running AutoServerDetector for: WebSphere Admin 5.0
[DEBUG] WebsphereDetector - WebSphere Admin 5.0 '/aplicaciones/websphere/profiles/AppSrv01/lib/jmxc.jar'.exists()=false
[DEBUG] WebsphereDetector - /aplicaciones/websphere/profiles/Dmgr01/bin/startNode.sh Not found
[DEBUG] WebsphereDetector - WebSphere Admin 5.0 '/aplicaciones/websphere/profiles/AppSrv01/lib/jmxc.jar'.exists()=false
[DEBUG] AutoScan - Running AutoServerDetector for: WebSphere Admin 6.0
[DEBUG] WebsphereDetector - WebSphere Admin 6.0 '/aplicaciones/websphere/profiles/AppSrv01/../../properties/version/WAS.product'.exists()=true
[DEBUG] WebsphereDetector - Detected c-156 WebSphere Admin 6.0 in /aplicaciones/websphere/profiles/AppSrv01
[DEBUG] WebsphereDetector - /aplicaciones/websphere/profiles/Dmgr01/bin/startNode.sh Not found
[DEBUG] WebsphereDetector - WebSphere Admin 6.0 '/aplicaciones/websphere/profiles/AppSrv01/../../properties/version/WAS.product'.exists()=true
[DEBUG] WebsphereDetector - Detected c-156 WebSphere Admin 6.0 in /aplicaciones/websphere/profiles/AppSrv01
[DEBUG] AutoScan - Running AutoServerDetector for: WebSphere Admin 6.1
[DEBUG] WebsphereDetector - WebSphere Admin 6.1 '/aplicaciones/websphere/profiles/AppSrv01/../../properties/version/WAS.product'.exists()=true
[DEBUG] WebsphereDetector - /aplicaciones/websphere/profiles/Dmgr01/bin/startNode.sh Not found
[DEBUG] WebsphereDetector - WebSphere Admin 6.1 '/aplicaciones/websphere/profiles/AppSrv01/../../properties/version/WAS.product'.exists()=true
1 servers detected

Server: c-156 WebSphere Admin 6.0 [/aplicaciones/websphere/profiles/AppSrv01]
 config...
 product..{admin.port=8880, was.install.root=/aplicaciones/websphere, server.node=c-156Node01, admin.host=localhost}
 metric...{}
 control..{program=/aplicaciones/websphere/profiles/AppSrv01/bin/startNode.sh}
[DEBUG] PluginDiscoverer - Runtime discover for c-156 WebSphere Admin 6.0, config={password=null, log=debug, admin.port=8880, timeout=300, prefix=, was.install.root=/aplicaciones/websphere, username=null, server.node=c-156Node01, installpath=/aplicaciones/websphere/profiles/AppSrv01, program=/usr/local/apps/websphere-admin-6.0/bin/startServer.sh, admin.host=localhost}
[DEBUG] PluginDiscoverer - WebSphere Admin 6.0 Solaris-->java.lang.NoClassDefFoundError: com/ibm/websphere/management/exception/ConnectorException <java.lang.NoClassDefFoundError: com/ibm/websphere/management/exception/ConnectorException>java.lang.NoClassDefFoundError: com/ibm/websphere/management/exception/ConnectorException
        at org.hyperic.hq.plugin.websphere.WebsphereDetector5.discoverServers(WebsphereDetector5.java:59)
        at org.hyperic.hq.product.ServerDetector.discoverResources(ServerDetector.java:184)
        at org.hyperic.hq.product.util.PluginDiscoverer.runtimeScan(PluginDiscoverer.java:589)
        at org.hyperic.hq.product.util.PluginDiscoverer.start(PluginDiscoverer.java:307)
        at org.hyperic.hq.product.util.PluginDumper.testDiscovery(PluginDumper.java:1065)
        at org.hyperic.hq.product.util.PluginDumper.invoke(PluginDumper.java:431)
        at org.hyperic.hq.product.util.PluginMain.main(PluginMain.java:273)



View solution in original post

0 Kudos
4 Replies
dougm_hyperic
VMware Employee
VMware Employee
Jump to solution


Hi German,

You'll need to install this update:
http://jira.hyperic.com/browse/HHQ-763

It has only been tested against 3.0.2 but should also work fine with 2.7.x

On Mar 27, 2007, at 8:42 AM, German Laullon wrote:

c-156: /aplicaciones/hyperic-hq-agent-2.7.5 # java -jar pdk/lib/hq-product.jar -p websphere  -m discover -Dlog=debug
.
.
.
[INFO] ProductPluginManager - Loading plugin: websphere-plugin.jar
[DEBUG] WebsphereProductPlugin - websphere.installpath found in process table
[DEBUG] WebsphereProductPlugin - Using profile: AppSrv01
[DEBUG] WebsphereProductPlugin - Using soap properties: /aplicaciones/websphere/profiles/AppSrv01/properties/soap.client.props
[DEBUG] WebsphereProductPlugin - Unable to find ssl.client.props
[DEBUG] ProductPluginManager - adding to websphere classpath:
[DEBUG] ProductPluginManager -    + /aplicaciones/websphere/lib/j2ee.jar
[DEBUG] ProductPluginManager -    + /aplicaciones/websphere/lib/bootstrap.jar
[DEBUG] ProductPluginManager -    + /aplicaciones/websphere/lib/urlprotocols.jar
[DEBUG] ProductPluginManager -    + /aplicaciones/websphere/lib/mail-impl.jar
[DEBUG] ProductPluginManager -    + /aplicaciones/websphere/etc/tmx4jTransform.jar
.
.
.
[DEBUG] PluginDiscoverer - Adding Auto Scanners=[ServerSignature {stName=WebSphere Admin 5.0, match=[/**/lib/wasjmx.jar], exclude=[null], regMatch=[InstallLocation]}, ServerSignature {stName=WebSphere Admin 6.0, match=[/**/lib/wasjmx.jar], exclude=[null], regMatch=[InstallLocation]}, ServerSignature {stName=WebSphere Admin 6.1, match=[/**/lib/wasjmx.jar], exclude=[null], regMatch=[InstallLocation]}]
[DEBUG] AutoScan - Running AutoServerDetector for: WebSphere Admin 5.0
[DEBUG] WebsphereDetector - WebSphere Admin 5.0 '/aplicaciones/websphere/profiles/AppSrv01/lib/jmxc.jar'.exists()=false
[DEBUG] WebsphereDetector - /aplicaciones/websphere/profiles/Dmgr01/bin/startNode.sh Not found
[DEBUG] WebsphereDetector - WebSphere Admin 5.0 '/aplicaciones/websphere/profiles/AppSrv01/lib/jmxc.jar'.exists()=false
[DEBUG] AutoScan - Running AutoServerDetector for: WebSphere Admin 6.0
[DEBUG] WebsphereDetector - WebSphere Admin 6.0 '/aplicaciones/websphere/profiles/AppSrv01/../../properties/version/WAS.product'.exists()=true
[DEBUG] WebsphereDetector - Detected c-156 WebSphere Admin 6.0 in /aplicaciones/websphere/profiles/AppSrv01
[DEBUG] WebsphereDetector - /aplicaciones/websphere/profiles/Dmgr01/bin/startNode.sh Not found
[DEBUG] WebsphereDetector - WebSphere Admin 6.0 '/aplicaciones/websphere/profiles/AppSrv01/../../properties/version/WAS.product'.exists()=true
[DEBUG] WebsphereDetector - Detected c-156 WebSphere Admin 6.0 in /aplicaciones/websphere/profiles/AppSrv01
[DEBUG] AutoScan - Running AutoServerDetector for: WebSphere Admin 6.1
[DEBUG] WebsphereDetector - WebSphere Admin 6.1 '/aplicaciones/websphere/profiles/AppSrv01/../../properties/version/WAS.product'.exists()=true
[DEBUG] WebsphereDetector - /aplicaciones/websphere/profiles/Dmgr01/bin/startNode.sh Not found
[DEBUG] WebsphereDetector - WebSphere Admin 6.1 '/aplicaciones/websphere/profiles/AppSrv01/../../properties/version/WAS.product'.exists()=true
1 servers detected

Server: c-156 WebSphere Admin 6.0 [/aplicaciones/websphere/profiles/AppSrv01]
 config...
 product..{admin.port=8880, was.install.root=/aplicaciones/websphere, server.node=c-156Node01, admin.host=localhost}
 metric...{}
 control..{program=/aplicaciones/websphere/profiles/AppSrv01/bin/startNode.sh}
[DEBUG] PluginDiscoverer - Runtime discover for c-156 WebSphere Admin 6.0, config={password=null, log=debug, admin.port=8880, timeout=300, prefix=, was.install.root=/aplicaciones/websphere, username=null, server.node=c-156Node01, installpath=/aplicaciones/websphere/profiles/AppSrv01, program=/usr/local/apps/websphere-admin-6.0/bin/startServer.sh, admin.host=localhost}
[DEBUG] PluginDiscoverer - WebSphere Admin 6.0 Solaris-->java.lang.NoClassDefFoundError: com/ibm/websphere/management/exception/ConnectorException <java.lang.NoClassDefFoundError: com/ibm/websphere/management/exception/ConnectorException>java.lang.NoClassDefFoundError: com/ibm/websphere/management/exception/ConnectorException
        at org.hyperic.hq.plugin.websphere.WebsphereDetector5.discoverServers(WebsphereDetector5.java:59)
        at org.hyperic.hq.product.ServerDetector.discoverResources(ServerDetector.java:184)
        at org.hyperic.hq.product.util.PluginDiscoverer.runtimeScan(PluginDiscoverer.java:589)
        at org.hyperic.hq.product.util.PluginDiscoverer.start(PluginDiscoverer.java:307)
        at org.hyperic.hq.product.util.PluginDumper.testDiscovery(PluginDumper.java:1065)
        at org.hyperic.hq.product.util.PluginDumper.invoke(PluginDumper.java:431)
        at org.hyperic.hq.product.util.PluginMain.main(PluginMain.java:273)



0 Kudos
laullon
VMware Employee
VMware Employee
Jump to solution


Thanks Doug... works OK in 2.7.5.

On 3/27/07, Doug MacEachern <dougm@hyperic.com> wrote:

Hi German,

You
'
ll need to install this update:
http://jira.hyperic.com/browse/HHQ-763

It has only been tested against 3.0.2 but should also work fine with 2.7.x

On Mar 27, 2007, at 8:42 AM, German Laullon wrote:


c-156: /aplicaciones/hyperic-hq-agent-2.7.5 # java -jar pdk/lib/hq-product.jar -p websphere  -m discover -Dlog=debug
.
.
.
[INFO] ProductPluginManager - Loading plugin:
websphere-plugin.jar
[DEBUG] WebsphereProductPlugin - websphere.installpath found in process table
[DEBUG] WebsphereProductPlugin - Using profile: AppSrv01
[DEBUG] WebsphereProductPlugin - Using soap properties: /aplicaciones/websphere/profiles/AppSrv01/properties/soap.client.props

[DEBUG] WebsphereProductPlugin - Unable to find ssl.client.props
[DEBUG] ProductPluginManager - adding to websphere classpath:
[DEBUG] ProductPluginManager -    + /aplicaciones/websphere/lib/j2ee.jar
[DEBUG] ProductPluginManager -    + /aplicaciones/websphere/lib/bootstrap.jar

[DEBUG] ProductPluginManager -    + /aplicaciones/websphere/lib/urlprotocols.jar
[DEBUG] ProductPluginManager -    + /aplicaciones/websphere/lib/mail-impl.jar
[DEBUG] ProductPluginManager -    + /aplicaciones/websphere/etc/tmx4jTransform.jar

.
.
.
[DEBUG] PluginDiscoverer - Adding Auto Scanners=[ServerSignature {stName=WebSphere Admin 5.0, match=[/**/lib/wasjmx.jar], exclude=[null], regMatch=[InstallLocation]}, ServerSignature {stName=WebSphere Admin
6.0, match=[/**/lib/wasjmx.jar], exclude=[null], regMatch=[InstallLocation]}, ServerSignature {stName=WebSphere Admin 6.1, match=[/**/lib/wasjmx.jar], exclude=[null], regMatch=[InstallLocation]}]
[DEBUG] AutoScan - Running AutoServerDetector for: WebSphere Admin
5.0
[DEBUG] WebsphereDetector - WebSphere Admin 5.0

'
/aplicaciones/websphere/profiles/AppSrv01/lib/jmxc.jar
'
.exists()=false
[DEBUG] WebsphereDetector - /aplicaciones/websphere/profiles/Dmgr01/bin/startNode.sh Not found

[DEBUG] WebsphereDetector - WebSphere Admin 5.0
'
/aplicaciones/websphere/profiles/AppSrv01/lib/jmxc.jar
'
.exists()=false
[DEBUG] AutoScan - Running AutoServerDetector for: WebSphere Admin 6.0
[DEBUG] WebsphereDetector - WebSphere Admin
6.0
'
/aplicaciones/websphere/profiles/AppSrv01/../../properties/version/WAS.product
'
.exists()=true
[DEBUG] WebsphereDetector - Detected c-156 WebSphere Admin 6.0 in /aplicaciones/websphere/profiles/AppSrv01

[DEBUG] WebsphereDetector - /aplicaciones/websphere/profiles/Dmgr01/bin/startNode.sh Not found
[DEBUG] WebsphereDetector - WebSphere Admin 6.0
'
/aplicaciones/websphere/profiles/AppSrv01/../../properties/version/WAS.product
'
.exists()=true

[DEBUG] WebsphereDetector - Detected c-156 WebSphere Admin 6.0 in /aplicaciones/websphere/profiles/AppSrv01
[DEBUG] AutoScan - Running AutoServerDetector for: WebSphere Admin 6.1
[DEBUG] WebsphereDetector - WebSphere Admin
6.1
'
/aplicaciones/websphere/profiles/AppSrv01/../../properties/version/WAS.product
'
.exists()=true
[DEBUG] WebsphereDetector - /aplicaciones/websphere/profiles/Dmgr01/bin/startNode.sh Not found
[DEBUG] WebsphereDetector - WebSphere Admin
6.1
'
/aplicaciones/websphere/profiles/AppSrv01/../../properties/version/WAS.product
'
.exists()=true
1 servers detected

Server: c-156 WebSphere Admin 6.0 [/aplicaciones/websphere/profiles/AppSrv01]
 config...

 product..{admin.port=8880, was.install.root=/aplicaciones/websphere, server.node=c-156Node01, admin.host=localhost}
 metric...{}
 control..{program=/aplicaciones/websphere/profiles/AppSrv01/bin/startNode.sh}

[DEBUG] PluginDiscoverer - Runtime discover for c-156 WebSphere Admin 6.0, config={password=null, log=debug, admin.port=8880, timeout=300, prefix=, was.install.root=/aplicaciones/websphere, username=null, server.node=c-156Node01
, installpath=/aplicaciones/websphere/profiles/AppSrv01, program=/usr/local/apps/websphere-admin-6.0/bin/startServer.sh, admin.host=localhost}
[DEBUG] PluginDiscoverer - WebSphere Admin 6.0 Solaris-->java.lang.NoClassDefFoundError
: com/ibm/websphere/management/exception/ConnectorException <java.lang.NoClassDefFoundError: com/ibm/websphere/management/exception/ConnectorException>java.lang.NoClassDefFoundError: com/ibm/websphere/management/exception/ConnectorException

        at org.hyperic.hq.plugin.websphere.WebsphereDetector5.discoverServers(WebsphereDetector5.java:59)
        at org.hyperic.hq.product.ServerDetector.discoverResources(ServerDetector.java:184)
        at
org.hyperic.hq.product.util.PluginDiscoverer.runtimeScan(PluginDiscoverer.java:589)
        at org.hyperic.hq.product.util.PluginDiscoverer.start(PluginDiscoverer.java:307)
        at org.hyperic.hq.product.util.PluginDumper.testDiscovery
(PluginDumper.java:1065)
        at org.hyperic.hq.product.util.PluginDumper.invoke(PluginDumper.java:431)
        at org.hyperic.hq.product.util.PluginMain.main(PluginMain.java:273)








--
-------------------------------------------------------
Germán Laullón
http://www.laullon.com


0 Kudos
JohnMarkOrg
Hot Shot
Hot Shot
Jump to solution

Hi,

Please make sure to mark Doug's answer as helpful so that he can get the points.

-JM
0 Kudos
laullon
VMware Employee
VMware Employee
Jump to solution


yes, i
'
m sure
😉

On 3/28/07, John Mark Walker <johnmark@hyperic.com> wrote:

Hi,

Please make sure to mark Doug
'
s answer as helpful so that he can get the points.

-JM



--
-------------------------------------------------------
Germán Laullón

http://www.laullon.com

0 Kudos