Bug 978429
Summary: | agent is not able to discover resources when running under different java architecture | ||||||
---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | Libor Fuka <lfuka> | ||||
Component: | Agent | Assignee: | Lukas Krejci <lkrejci> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Mike Foley <mfoley> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | JON 3.1.2 | CC: | jshaughn, lfuka, lkrejci, myarboro, rhatlapa | ||||
Target Milestone: | --- | ||||||
Target Release: | JON 3.3.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Solaris | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-09-04 14:17:06 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Libor Fuka
2013-06-26 15:04:38 UTC
increasing the severity and setting the target release so this gets triaged for JON 3.2 Tried the following combinations with RHQ 4.8.0 (on RHEL6.3/x86_64): Agent 64bit + Tomcat 32bit = discovered Agent 32bit + Tomcat 64bit = discovered So in another words this seems to be only happening on Solaris. Yes, the issue is happening only on Solaris. Created attachment 780381 [details]
Discovery issue on Solaris
In the attachment you can see, that EAP 6 running in domain mode is not discovered even though the process is recognized as part of JMX.JMX Server (there are also printed all running processes under current user)
In this case the difference is that agent starts with jdk for solaris10 (I need to figure out why) and EAP 6 uses correctly jdk for solaris 11
I retested it with this environment: Solaris 10 Intel JON 3.3.0.ER1.1 agent OracleJDK 1.6 32-bit tomcat7 OracleJDK 1.6 64-bit tomcat7 discovery works fine. When i set this environment: Solaris 10 Intel JON 3.3.0.ER1.1 agent OracleJDK 1.6 64-bit tomcat7 OracleJDK 1.6 32-bit tomcat7 discovery also works fine. I retested it with this environment: Solaris 11 Intel JON 3.3.0.ER1.1 agent OracleJDK 1.6 32-bit tomcat7 OracleJDK 1.7 64-bit and tomcat7 discovery still doesn't work. installed server with testing server sent to Lukas This is a limitation of the Sigar library that cannot inspect 64 bit processes when running in a 32bit mode and vice versa on Solaris, see the comment in Sigar source code: https://github.com/hyperic/sigar/blob/master/src/os/solaris/solaris_sigar.c#L944 I'm closing this as WONTFIX as this is a limitation of the underlying library. The workaround is to add the tomcat instance manually. |