jsvc does not expose java.rt.vmArgs monitor information for Java Attach API
---------------------------------------------------------------------------

                 Key: DAEMON-248
                 URL: https://issues.apache.org/jira/browse/DAEMON-248
             Project: Commons Daemon
          Issue Type: Bug
          Components: Jsvc
    Affects Versions: 1.0.2
            Reporter: Elias Ross


Run a process using jsvc.exec

Then use the Attach API to locate the process.

Note that java.rt.vmArgs are not available. See the attached program.

            monitoredhost = MonitoredHost.getMonitoredHost(new 
HostIdentifier((String) null));
            set = monitoredhost.activeVms();
... iterate

                    MonitoredVm monitoredvm = monitoredhost.getMonitoredVm(new 
VmIdentifier(s));
                    List<Monitor> l = monitoredvm.findByPattern(".*");
                    for (Monitor m : l) {
                       System.out.println("> " + m.getName() + " " + 
m.getValue());
                    }


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to