[ https://issues.apache.org/jira/browse/DAEMON-248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13240711#comment-13240711 ]
Elias Ross commented on DAEMON-248: ----------------------------------- Basically, the bug is a request. I need another way to attach to these processes. It might be that command line matching is done using Sigar. I may or may not develop a fix for this. > 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 > Attachments: Test.java > > > 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