[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tptp] Attaching to remote JVM to profile it from workbench fails

Hello,

Server Linux Opteron, using agntctrl.linux_em64t-TPTP-4.4.1-200708280100.zip
1.TPTP_AC_HOME=/tmp/hichamm/
PATH contains /tmp/hichamm/bin
LD_LIBRARY_PATH contains /tmp/hichamm/lib/:/tmp/hichamm/plugins/org.eclipse.tptp.javaprofiler/
JAVA_PROFILER_HOME=/tmp/hichamm/plugins/org.eclipse.tptp.javaprofiler
2. I start ACStart.sh and run successfully SampleClient


3. I start an inhouse process, that loads the JVM1.6.0 .so for linux x86-64,
with these jvm optioms:
-verbose
-agentlib:jdwp=transport=dt_socket,address=8456,server=y,suspend=n
-agentlib:JPIBootLoader=JPIAgent:server=enabled;CGProf:execdetails=true



4. from my WinXP32 eclipse europa 3.3.0 (june25 build), I go to Profiling perspective: set serverhost, the port, test connection ok, in Agents, i select the execution time analysis.
I click Profile, then eclipse shows Launching processname, connection to JVMTI agent, and then
the process (with shared-in jvm) exits.
The only error the JVM reports to stdout/err is [Error: Attach failed]


servicelog.log shows:
<CommonBaseEvent creationTime="2007-09-03T11:43:04.041278Z" globalInstanceId="A6DBF3480000A1355A5C3D9B7501A70A" msg="Agent is locked" severity="50" version="1.0.1">
<sourceComponentId component="AgentController" componentIdType="TPTPComponent" executionEnvironment="AgentManager.c, line 3659" instanceId="1" location="k2.orcsoftware.com" locationType="IPV4" processId="15953" subComponent="Agent Manager" threadId="15953" componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2007-09-03T11:43:04.791237Z" globalInstanceId="A6DBF348000C12BE7BB36F3A66FE5ED1" msg="Agent is locked" severity="50" version="1.0.1">
<sourceComponentId component="AgentController" componentIdType="TPTPComponent" executionEnvironment="AgentManager.c, line 3659" instanceId="1" location="k2.orcsoftware.com" locationType="IPV4" processId="15953" subComponent="Agent Manager" threadId="15953" componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2007-09-03T11:43:40.650510Z" globalInstanceId="A6DBF36C0009ED0661B22C8F449B1D26" msg="Agent is locked" severity="50" version="1.0.1">
<sourceComponentId component="AgentController" componentIdType="TPTPComponent" executionEnvironment="AgentManager.c, line 3659" instanceId="1" location="k2.orcsoftware.com" locationType="IPV4" processId="15953" subComponent="Agent Manager" threadId="15953" componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2007-09-03T11:43:42.791749Z" globalInstanceId="A6DBF36E000C14BD58084EB33666979F" msg="The requested connection (119d) could not be found during sendMessage" severity="50" version="1.0.1">
<sourceComponentId component="AgentController" componentIdType="TPTPComponent" executionEnvironment="ConnectionManager.c, line 534" instanceId="2" location="k2.orcsoftware.com" locationType="IPV4" processId="15953" subComponent="Connection Manager" threadId="15953" componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2007-09-03T11:43:42.792243Z" globalInstanceId="A6DBF36E000C16AE3598E63B635F790B" msg="A processExitedEvent was received for which we have no corresponding agent." severity="30" version="1.0.1">
<sourceComponentId component="AgentController" componentIdType="TPTPComponent" executionEnvironment="AgentManager.c, line 3006" instanceId="1" location="k2.orcsoftware.com" locationType="IPV4" processId="15953" subComponent="Agent Manager" threadId="15953" componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2007-09-03T11:43:42.792657Z" globalInstanceId="A6DBF36E000C184D7E48542A6BBF2DDD" msg="A processExitedEvent was received for which we have no corresponding agent." severity="30" version="1.0.1">
<sourceComponentId component="AgentController" componentIdType="TPTPComponent" executionEnvironment="AgentManager.c, line 3006" instanceId="1" location="k2.orcsoftware.com" locationType="IPV4" processId="15953" subComponent="Agent Manager" threadId="15953" componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2007-09-03T11:43:42.793092Z" globalInstanceId="A6DBF36E000C1A011A8EC7BB3697E3ED" msg="A processExitedEvent was received for which we have no corresponding agent." severity="30" version="1.0.1">
<sourceComponentId component="AgentController" componentIdType="TPTPComponent" executionEnvironment="AgentManager.c, line 3006" instanceId="1" location="k2.orcsoftware.com" locationType="IPV4" processId="15953" subComponent="Agent Manager" threadId="15953" componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2007-09-03T11:43:42.793492Z" globalInstanceId="A6DBF36E000C1B9132EA578933C23D71" msg="A processExitedEvent was received for which we have no corresponding agent." severity="30" version="1.0.1">
<sourceComponentId component="AgentController" componentIdType="TPTPComponent" executionEnvironment="AgentManager.c, line 3006" instanceId="1" location="k2.orcsoftware.com" locationType="IPV4" processId="15953" subComponent="Agent Manager" threadId="15953" componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>



a few errors appear there,

best regards,