Community
Participate
Working Groups
Build ID: M20070905-1045 Steps To Reproduce: 1. Run the java profiling agent from the command line, in enabled mode. e.g.: java -agentlib:JPIBootLoader=JPIAgent:server=enabled;CGProf StartStop Program should start as usual w/ program output on the console. 2. Connect to the agent in eclipse using 'Attach to Agent'. Command line Java program terminates with an "[Error: Attach failed]" message. Eclipse client receives no profiling data. More information: Using TPTP-4.4.1-200709101254, IBM Java 1.5, external AC, on Windows XP.
Also, reproduced on Vista
Maybe a symptom of the same problem: testing DetachAttachTest1 on Vista when I try to detach from the agent I get in the console (was launched as an external java application which is enabled mode) ... Please enter a string : [Error: Detach failed] ... the monitor does report detached but when I try to reattach I get: "The JVMTI agent appears to be inactive" and the monitor state changes to terminated.
Alan, I've seen the message that you describe on all of my attach/detach tests, and I believe that that symptom is as a result of bug 202550.
(In reply to comment #3) > Alan, I've seen the message that you describe on all of my attach/detach tests, > and I believe that that symptom is as a result of bug 202550. I think you're right. I also just logged a probable duplicate 203018. Please ignore that comment on this log.
*** This bug has been marked as a duplicate of bug 202550 ***
Closing.