Support Migration Notice: To update migrated JIRA cases click here to open a new case use www.vmware.com/go/sr | vFabric Hyperic 5.7.0 is Now Available

Hyperic HQ

Resin Plugin command line discover shows java.io.IOException: Operation not permitted

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Deferred
  • Affects Version/s: 4.5 M5, 4.5 Sprint 25, 4.5
  • Fix Version/s: None
  • Component/s: Plugins
  • Environment:
    HQ-server 4.5.0-EE running on RHEL 5.4
    HQ-agent 4.5.0-EE running on RHEL 5.4
     - Resin 3.1.10 running with HQ-agent
  • Case Links:
    none
  • Regression:
    Yes
  • Tags:

Description

Resin Plugin command line discover shows java.io.IOException: Operation not permitted.

Executing a command line discover for the Resin plugin, the debug output shows:

DEBUG [Thread-1] [MxServerDetector] Cannot configure local jmx.url: State.Name.sw=java,Args..eq=com.caucho.server.resin.Resin,Args..eq=-Dresin.home=/opt/s2/resin/resin-3.1.10/ java.io.IOException: Operation not permitted
java.io.IOException: State.Name.sw=java,Args..eq=com.caucho.server.resin.Resin,Args..eq=-Dresin.home=/opt/s2/resin/resin-3.1.10/ java.io.IOException: Operation not permitted
at org.hyperic.hq.product.jmx.MxUtil.getUrlFromPid(MxUtil.java:397)
at org.hyperic.hq.product.jmx.MxServerDetector.configureLocalMxURL(MxServerDetector.java:126)
at org.hyperic.hq.product.jmx.MxServerDetector.getServerResource(MxServerDetector.java:351)
at org.hyperic.hq.product.jmx.MxServerDetector.getServ

erResources(MxServerDetector.java:379)
at org.hyperic.hq.autoinventory.scanimpl.NullScan.scan(NullScan.java:83)
at org.hyperic.hq.autoinventory.Scanner.start(Scanner.java:196)
at org.hyperic.hq.autoinventory.ScanManager.mainRunLoop(ScanManager.java:141)
at org.hyperic.hq.autoinventory.ScanManager.access$000(ScanManager.java:41)
at org.hyperic.hq.autoinventory.ScanManager$1.run(ScanManager.java:107)

This is not reported in previous HQ 4.4.

Expected Result:
No new errors reported when running the same commands on previous versions

Actual Result:
IOExecption reported when running command line discover.

Steps to Reproduce:
Execute the command line discover for Resin:
java -jar hq-pdk-shared-4.5.0.BUILD-SNAPSHOT.jar -Dplugins.include=resin -m discover -Dlog=debug -Djmx.url=service:jmx:rmi:///jndi/rmi://localhost:1199/jmxrmi -Djmx.username=hqRole -Djmx.password=hqRole

Work Around:
None

Additional Information:
This is regression. Running the same command with HQ 4.4 does not reproduce this error.

Activity

Hide
Yoav Epelman added a comment -

Bulk change to new components

Show
Yoav Epelman added a comment - Bulk change to new components
Hide
Idan Hod added a comment -

As part of our continuous effort to improve product quality, The Hyperic product team has decided to implement a "zero bug policy" methodology.

Following this methodology, only defects that are planned to be handled in the near future will remain open. Any other defect will be deferred, with the option to be reevaluated if the need arises, or if changes to the Hyperic road-map make such defect a candidate for a fix.

We believe this new process will help create clarity and focus in the Hyperic road-map and ultimately benefit our customer base.

This bug has been deferred as part of the new policy.

We appreciate your cooperation and continues contribution to the improvement of Hyperic.

Show
Idan Hod added a comment - As part of our continuous effort to improve product quality, The Hyperic product team has decided to implement a "zero bug policy" methodology. Following this methodology, only defects that are planned to be handled in the near future will remain open. Any other defect will be deferred, with the option to be reevaluated if the need arises, or if changes to the Hyperic road-map make such defect a candidate for a fix. We believe this new process will help create clarity and focus in the Hyperic road-map and ultimately benefit our customer base. This bug has been deferred as part of the new policy. We appreciate your cooperation and continues contribution to the improvement of Hyperic.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:
    Last comment:
    41 weeks ago