help with serviceability agent?

Keith McGuigan Keith.McGuigan at Sun.COM
Thu Aug 14 12:23:36 PDT 2008


Hello,

I was wondering if someone could help me figure out how to run 
serviceability agent.  I've never run it before, so expect naive 
questions/issues.

So I build the a VM from the openjdk hotspot-rt baseline and placed it 
into a jdk7 JDK.  I build the SA from the same repo by cd'ing into the 
agent/make directory and running gnumake (this is on solaris-sparc, by 
the way).  I then fire off a test process (java2d demo), and in the 
agent/build/classes directory, I run 'java sun.jvm.hotspot.HSDB'.

The window comes up fine, but when I try to attach to a JVM process, I 
get the following error:

"Error connecting to dbx process"

dbx is in my path (I tried both SS11 and SS12), and I tried passing 
-Dsun.jvm.hotspot.runtime.VM.disableVersionCheck but no luck.  I don't 
see any log file hanging around that will help me debug this.

So... any suggestions on what I'm doing wrong or what I can do to help 
myself figure this out?

--
- Keith



More information about the serviceability-dev mailing list