Red Hat Bugzilla – Bug 816641
Torquebox: jmx4r does not work in integration tests
Last modified: 2015-08-02 19:42:44 EDT
Created attachment 580508 [details]
Description of problem:
jmx4r does not work properly in Torquebox integration tests.
jmx4r relies on com.sun.tools.attach.VirtualMachine.list() method which returns empty list when called during integration tests.
Version-Release number of selected component (if applicable):
Integration tests fail
RSpec html report is attached
OpenJDK 1.6.0_22 or Sun JDK 1.6.0_20
We need to figure out how to run the integ tests locally with the EAP/WFK build and I'll get back to you on this. Iniitially I cannot fathom why it's not working, unless JMX is disabled in EAP?
Created attachment 587680 [details]
Added server log from running integration tests with Torquebox 2.0.3.redhat.1 and EAP6 ER8
I don't have the appropriate permissions to link things, but this is tracked upstream in https://issues.jboss.org/browse/TORQUE-842. I've replicated this in a RHEL 6 virtual machine and am testing a fix now.
Fixed committed to our 2.0.x-dev branch in https://github.com/torquebox/torquebox/commit/73b05d4db66e186690aa7290fd4a446735df100b
Removed Target Version, this was not productized so far.
Benjamin Browning <firstname.lastname@example.org> updated the status of jira TORQUE-842 to Closed
Moving target version to 2.1.0.
Already in product branch as commit -
Distributed as a part of WFK 2.1.0.GA release.