VMware Cloud Community
drbp
Contributor
Contributor

Cannot auto detect WebSphere 7 servers on Solaris

Hi,

I am running Hyperic 4.6.6 successfully on a non production environment as follows:-

- HQ Server running on Win-32

- HQ Agent running on Solaris Sparc

I have a number of WebSphere app servers (version 7.0.0.17) running in this non-prod environment that are correctly auto detected by Hyperic and everything works well. The WebSphere home in this environment is /opt/IBM/WebSphere/AppServer

I am now trying to add monitoring to a prodction server also containing a number of WebSphere app servers (7.0.0.15) but I cannot get Hyperic to detect these servers. The WebSphere home on this environment is /opt/app/WebSphere7/AppServer . I have updated the agent.properties file on this server to contain websphere.installpath=/opt/app/WebSphere7/AppServer

When I run the following PDK command on the non-prod server, I get the output below before the WebSphere servers are successfully found:

>java -jar hq-pdk-4.6.6.jar -m discover -p websphere -Dplugins.include=websphere -Dlog=debug

DEBUG [main] [WebsphereProductPlugin] websphere.useext=false
DEBUG [main] [WebsphereDetector] [getServerProcessList] process=was.install.root=/opt/IBM/WebSphere/AppServer, server.root=/opt/IBM/WebSphere/AppServer/profiles/drcrm801, server.server='server1', server.node='drcrm801', server.cell='drcrm801'
DEBUG [main] [WebsphereDetector] [getServerProcessList] process=was.install.root=/opt/IBM/WebSphere/AppServer/, server.root=/opt/IBM/WebSphere/AppServer//profiles/drcramd8/WAS/drcramd8, server.server='server1', server.node='drcramd8', server.cell='drcramd8'
DEBUG [main] [WebsphereDetector] [getServerProcessList] process=was.install.root=/opt/IBM/WebSphere/AppServer/, server.root=/opt/IBM/WebSphere/AppServer//profiles/drcramd9/WAS/drcramd9, server.server='server1', server.node='drcramd9', server.cell='drcramd9'
DEBUG [main] [WebsphereProductPlugin] websphere.installpath configured using process table (/opt/IBM/WebSphere/AppServer)
DEBUG [main] [WebsphereDetector] [getServerProcessList] process=was.install.root=/opt/IBM/WebSphere/AppServer, server.root=/opt/IBM/WebSphere/AppServer/profiles/drcrm801, server.server='server1', server.node='drcrm801', server.cell='drcrm801'
DEBUG [main] [WebsphereDetector] [getServerProcessList] process=was.install.root=/opt/IBM/WebSphere/AppServer/, server.root=/opt/IBM/WebSphere/AppServer//profiles/drcramd8/WAS/drcramd8, server.server='server1', server.node='drcramd8', server.cell='drcramd8'
DEBUG [main] [WebsphereDetector] [getServerProcessList] process=was.install.root=/opt/IBM/WebSphere/AppServer/, server.root=/opt/IBM/WebSphere/AppServer//profiles/drcramd9/WAS/drcramd9, server.server='server1', server.node='drcramd9', server.cell='drcramd9'
DEBUG [main] [WebsphereProductPlugin] Getting WAS properties from profile under server.root: /opt/IBM/WebSphere/AppServer/profiles/drcrm801/properties/soap.client.props
DEBUG [main] [WebsphereProductPlugin] default soap config is /opt/IBM/WebSphere/AppServer/profiles/drcrm801/properties/soap.client.props
DEBUG [main] [WebsphereProductPlugin] Using soap properties: /opt/IBM/WebSphere/AppServer/profiles/drcrm801/properties/soap.client.props
DEBUG [main] [WebsphereProductPlugin] isOSGi=true
DEBUG [main] [WebsphereProductPlugin] Using ssl properties: /opt/IBM/WebSphere/AppServer/profiles/drcrm801/properties/ssl.client.props
DEBUG [main] [WebsphereProductPlugin] Adding OSGi packages from /opt/IBM/WebSphere/AppServer/lib/
DEBUG [main] [WebsphereProductPlugin] - Classpath += /opt/IBM/WebSphere/AppServer/lib/bootstrap.jar
DEBUG [main] [WebsphereProductPlugin] Adding OSGi packages from /opt/IBM/WebSphere/AppServer/plugins/
DEBUG [main] [WebsphereProductPlugin] - Classpath += /opt/IBM/WebSphere/AppServer/plugins/javax.j2ee.management.jar
DEBUG [main] [WebsphereProductPlugin] - Classpath += /opt/IBM/WebSphere/AppServer/plugins/com.ibm.ws.admin.core.jar
DEBUG [main] [WebsphereProductPlugin] - Classpath += /opt/IBM/WebSphere/AppServer/plugins/com.ibm.ws.emf.jar
DEBUG [main] [WebsphereProductPlugin] - Classpath += /opt/IBM/WebSphere/AppServer/plugins/com.ibm.ws.security.crypto.jar
DEBUG [main] [WebsphereProductPlugin] - Classpath += /opt/IBM/WebSphere/AppServer/plugins/org.eclipse.emf.common.jar
DEBUG [main] [WebsphereProductPlugin] - Classpath += /opt/IBM/WebSphere/AppServer/plugins/com.ibm.ffdc.jar
DEBUG [main] [WebsphereProductPlugin] - Classpath += /opt/IBM/WebSphere/AppServer/plugins/com.ibm.ws.prereq.javamail.jar
DEBUG [main] [WebsphereProductPlugin] - Classpath += /opt/IBM/WebSphere/AppServer/plugins/org.eclipse.emf.ecore.jar
DEBUG [main] [WebsphereProductPlugin] - Classpath += /opt/IBM/WebSphere/AppServer/plugins/com.ibm.ws.prereq.soap.jar
DEBUG [main] [WebsphereProductPlugin] - Classpath += /opt/IBM/WebSphere/AppServer/plugins/com.ibm.wsfp.main.jar
DEBUG [main] [WebsphereProductPlugin] - Classpath += /opt/IBM/WebSphere/AppServer/plugins/com.ibm.ws.runtime.jar
DEBUG [main] [PluginLoader] websphere-plugin.jar += /opt/IBM/WebSphere/AppServer/lib/bootstrap.jar
DEBUG [main] [PluginLoader] websphere-plugin.jar += /opt/IBM/WebSphere/AppServer/plugins/javax.j2ee.management.jar
DEBUG [main] [PluginLoader] websphere-plugin.jar += /opt/IBM/WebSphere/AppServer/plugins/com.ibm.ws.admin.core.jar
DEBUG [main] [PluginLoader] websphere-plugin.jar += /opt/IBM/WebSphere/AppServer/plugins/com.ibm.ws.emf.jar
DEBUG [main] [PluginLoader] websphere-plugin.jar += /opt/IBM/WebSphere/AppServer/plugins/com.ibm.ws.security.crypto.jar
DEBUG [main] [PluginLoader] websphere-plugin.jar += /opt/IBM/WebSphere/AppServer/plugins/org.eclipse.emf.common.jar
DEBUG [main] [PluginLoader] websphere-plugin.jar += /opt/IBM/WebSphere/AppServer/plugins/com.ibm.ffdc.jar
DEBUG [main] [PluginLoader] websphere-plugin.jar += /opt/IBM/WebSphere/AppServer/plugins/com.ibm.ws.prereq.javamail.jar
DEBUG [main] [PluginLoader] websphere-plugin.jar += /opt/IBM/WebSphere/AppServer/plugins/org.eclipse.emf.ecore.jar
DEBUG [main] [PluginLoader] websphere-plugin.jar += /opt/IBM/WebSphere/AppServer/plugins/com.ibm.ws.prereq.soap.jar
DEBUG [main] [PluginLoader] websphere-plugin.jar += /opt/IBM/WebSphere/AppServer/plugins/com.ibm.wsfp.main.jar
DEBUG [main] [PluginLoader] websphere-plugin.jar += /opt/IBM/WebSphere/AppServer/plugins/com.ibm.ws.runtime.jar
DEBUG [main] [PluginDiscoverer] Adding Auto Scanners=[ServerSignature {stName=WebSphere Admin 6.0, match=[/**/lib/wasjmx.jar], exclude=[null], regMatch=[InstallLocation]}, ServerSignature {stName=WebSphere 6.0, match=[null], exclude=[null], regMatch=[null]}, ServerSignature {stName=WebSphere 6.1, match=[null], exclude=[null], regMatch=[null]}, ServerSignature {stName=WebSphere Admin 6.1, match=[/**/lib/wasjmx.jar], exclude=[null], regMatch=[InstallLocation]}, ServerSignature {stName=WebSphere 7.0, match=[null], exclude=[null], regMatch=[null]}, ServerSignature {stName=WebSphere Admin 7.0, match=[/**/lib/wasjmx.jar], exclude=[null], regMatch=[InstallLocation]}]

.

.

.

WebSphere servers are then detected

When I run the same command on the production server I get the following:

DEBUG [main] [WebsphereProductPlugin] websphere.useext=false

DEBUG [main] [WebsphereProductPlugin] websphere.installpath configured using JRE (/opt/app/WebSphere7/AppServer)

DEBUG [main] [WebsphereProductPlugin] Unable to find soap.client.props in null

DEBUG [main] [WebsphereProductPlugin] isOSGi=true

DEBUG [main] [WebsphereProductPlugin] Unable to find ssl.client.props

DEBUG [main] [WebsphereProductPlugin] Adding OSGi packages from /opt/app/WebSphere7/AppServer/lib/

DEBUG [main] [WebsphereProductPlugin] - Classpath += /opt/app/WebSphere7/AppServer/lib/bootstrap.jar

DEBUG [main] [WebsphereProductPlugin] Adding OSGi packages from /opt/app/WebSphere7/AppServer/plugins/

DEBUG [main] [WebsphereProductPlugin] - Classpath += /opt/app/WebSphere7/AppServer/plugins/com.ibm.ws.admin.core.jar

DEBUG [main] [WebsphereProductPlugin] - Classpath += /opt/app/WebSphere7/AppServer/plugins/com.ibm.ws.emf.jar

DEBUG [main] [WebsphereProductPlugin] - Classpath += /opt/app/WebSphere7/AppServer/plugins/org.eclipse.emf.common.jar

DEBUG [main] [WebsphereProductPlugin] - Classpath += /opt/app/WebSphere7/AppServer/plugins/org.eclipse.emf.ecore.jar

DEBUG [main] [WebsphereProductPlugin] - Classpath += /opt/app/WebSphere7/AppServer/plugins/com.ibm.ws.prereq.javamail.jar

DEBUG [main] [WebsphereProductPlugin] - Classpath += /opt/app/WebSphere7/AppServer/plugins/javax.j2ee.management.jar

DEBUG [main] [WebsphereProductPlugin] - Classpath += /opt/app/WebSphere7/AppServer/plugins/com.ibm.ws.prereq.soap.jar

DEBUG [main] [WebsphereProductPlugin] - Classpath += /opt/app/WebSphere7/AppServer/plugins/com.ibm.ws.security.crypto.jar

DEBUG [main] [WebsphereProductPlugin] - Classpath += /opt/app/WebSphere7/AppServer/plugins/com.ibm.ws.runtime.jar

DEBUG [main] [WebsphereProductPlugin] - Classpath += /opt/app/WebSphere7/AppServer/plugins/com.ibm.ffdc.jar

DEBUG [main] [WebsphereProductPlugin] - Classpath += /opt/app/WebSphere7/AppServer/plugins/com.ibm.wsfp.main.jar

DEBUG [main] [PluginLoader] websphere-plugin.jar += /opt/app/WebSphere7/AppServer/lib/bootstrap.jar

DEBUG [main] [PluginLoader] websphere-plugin.jar += /opt/app/WebSphere7/AppServer/plugins/com.ibm.ws.admin.core.jar

DEBUG [main] [PluginLoader] websphere-plugin.jar += /opt/app/WebSphere7/AppServer/plugins/com.ibm.ws.emf.jar

DEBUG [main] [PluginLoader] websphere-plugin.jar += /opt/app/WebSphere7/AppServer/plugins/org.eclipse.emf.common.jar

DEBUG [main] [PluginLoader] websphere-plugin.jar += /opt/app/WebSphere7/AppServer/plugins/org.eclipse.emf.ecore.jar

DEBUG [main] [PluginLoader] websphere-plugin.jar += /opt/app/WebSphere7/AppServer/plugins/com.ibm.ws.prereq.javamail.jar

DEBUG [main] [PluginLoader] websphere-plugin.jar += /opt/app/WebSphere7/AppServer/plugins/javax.j2ee.management.jar

DEBUG [main] [PluginLoader] websphere-plugin.jar += /opt/app/WebSphere7/AppServer/plugins/com.ibm.ws.prereq.soap.jar

DEBUG [main] [PluginLoader] websphere-plugin.jar += /opt/app/WebSphere7/AppServer/plugins/com.ibm.ws.security.crypto.jar

DEBUG [main] [PluginLoader] websphere-plugin.jar += /opt/app/WebSphere7/AppServer/plugins/com.ibm.ws.runtime.jar

DEBUG [main] [PluginLoader] websphere-plugin.jar += /opt/app/WebSphere7/AppServer/plugins/com.ibm.ffdc.jar

DEBUG [main] [PluginLoader] websphere-plugin.jar += /opt/app/WebSphere7/AppServer/plugins/com.ibm.wsfp.main.jar

DEBUG [main] [PluginDiscoverer] Adding Auto Scanners=[ServerSignature {stName=WebSphere Admin 6.0, match=[/**/lib/wasjmx.jar], exclude=[null], regMatch=[InstallLocation]}, ServerSignature {stName=WebSphere 6.0, match=[null], exclude=[null], regMatch=[null]}, ServerSignature {stName=WebSphere 6.1, match=[null], exclude=[null], regMatch=[null]}, ServerSignature {stName=WebSphere Admin 6.1, match=[/**/lib/wasjmx.jar], exclude=[null], regMatch=[InstallLocation]}, ServerSignature {stName=WebSphere 7.0, match=[null], exclude=[null], regMatch=[null]}, ServerSignature {stName=WebSphere Admin 7.0, match=[/**/lib/wasjmx.jar], exclude=[null], regMatch=[InstallLocation]}]

DEBUG [Thread-1] [NullScan] Running AutoServerDetector for: WebSphere Admin 6.0

DEBUG [Thread-1] [NullScan] Running AutoServerDetector for: WebSphere 6.0

DEBUG [Thread-1] [NullScan] Running AutoServerDetector for: WebSphere 6.1

DEBUG [Thread-1] [NullScan] Running AutoServerDetector for: WebSphere Admin 6.1

DEBUG [Thread-1] [NullScan] Running AutoServerDetector for: WebSphere 7.0

DEBUG [Thread-1] [NullScan] Running AutoServerDetector for: WebSphere Admin 7.0

0 servers detected

Can you help me as to why no WebSphere servers are detected on the prod server and what I might try?

Thanks.

0 Kudos
0 Replies