Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Agents cannot be found sometimes
Agents cannot be found sometimes [message #71636] Tue, 23 May 2006 14:56 Go to next message
Eclipse UserFriend
Originally posted by: jian.fang.acntv.com

Hi,

I still face the problem to get the profiler running. My system is as
follows,

OS: Linux Fedora Core 5
Eclipse: 3.2RC5
JRE: 1.5.0_06

Using RAC, I first run the program as junit with the VM argument:

-XrunpiAgent:server=enabled -Xms128m -Xmx256m

I also tried -XrunpiAgent:server=controlled. Then launch profiler by
attach java process. Sometimes, I can indeed find the agent to attach
to from the agents tab and the profiler works fine. But sometimes,
I cannot find the agent at all. The configuration is the same. What
would be the reasons that cause this problem?

I looked at the log file for unsuccessful runs, the message is attached
(truncated),

Any ideas on how to solve this?

Thanks,

Jian


<CommonBaseEvent creationTime="2006-05-23T14:36:32.557416Z"
globalInstanceId="A4731DF00008815C15650BE939C636F4" msg="Plugin loader:
Config file for plugin:
org.eclipse.hyades.logging.parsers_4.2.0.v200604131758 loaded
successfully" severity="10" version="1.0.1">
<sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="127.0.0.1" locationType="IPV4"
processId="17878"
subComponent="framework/RAServerConfig/RAServerConfigBinding.cpp "
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="2006-05-23T14:36:32.557618Z"
globalInstanceId="A4731DF00008822924E0BBDC3FA1B2A3" msg="Finished
processing plugin:
org.eclipse.hyades.logging.parsers_4.2.0.v200604131758" severity="10"
version="1.0.1">
<sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="127.0.0.1" locationType="IPV4"
processId="17878"
subComponent="framework/RAServerConfig/RAServerConfigBinding.cpp "
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="2006-05-23T14:36:32.557799Z"
globalInstanceId="A4731DF0000882DE3BE0955D215B9D48" msg="Active
configuration set to: default" severity="10" version="1.0.1">
<sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="127.0.0.1" locationType="IPV4"
processId="17878"
subComponent="framework/RAServerConfig/RAServerConfigBinding.cpp "
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="2006-05-23T14:36:32.559753Z"
globalInstanceId="A4731DF000088A7E428FFF6A71ACA235" msg="Loaded
configuration: default" severity="10" version="1.0.1">
<sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="127.0.0.1" locationType="IPV4"
processId="17878"
subComponent="framework/RAServerConfig/RAServerConfigBinding.cpp "
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="2006-05-23T14:36:32.559909Z"
globalInstanceId="A4731DF000088B1B2B861AC773BD274A" msg="Service started
successfully" severity="10" version="1.0.1">
<sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="127.0.0.1" locationType="IPV4"
processId="17878"
subComponent="framework/RAServerConfig/RAServerConfigBinding.cpp "
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="2006-05-23T14:36:32.560154Z"
globalInstanceId="A4731DF000088C104C17BA6A595A3FE9" msg="Java job
submitted for starting insecured file server" severity="10" version="1.0.1">
<sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="127.0.0.1" locationType="IPV4"
processId="17878" subComponent="framework/RAServer/RACommS.c"
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="2006-05-23T14:36:32.894442Z"
globalInstanceId="A4731DF0000DA5D840587DD514D10FC0" msg="Insecure File
Server port set to 10005" severity="10" version="1.0.1">
<sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="127.0.0.1" locationType="IPV4"
processId="17878" subComponent="framework/RAServer/RACommS.c"
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="2006-05-23T14:36:32.894676Z"
globalInstanceId="A4731DF0000DA6CA73F4126B59DC1A41" msg="Insecure File
Server initialized successfully" severity="10" version="1.0.1">
<sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="127.0.0.1" locationType="IPV4"
processId="17878" subComponent="framework/RAServer/RACommS.c"
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="2006-05-23T14:36:32.956587Z"
globalInstanceId="A4731DF0000E9899336579026519A057" msg="Insecure File
Server started successfully" severity="10" version="1.0.1">
<sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="127.0.0.1" locationType="IPV4"
processId="17878" subComponent="framework/RAServer/RACommS.c"
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="2006-05-23T14:37:09.034904Z"
globalInstanceId="A4731E150000884C559811F432B6F36A" msg="Incoming
connection request from agent Java Profiling Agent in process 21641 with
uuid UUID-1148395029-31636-1305250941-841175353" severity="10"
version="1.0.1">
<sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="127.0.0.1" locationType="IPV4"
processId="17878" subComponent="framework/RAServer/messagePump.c"
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="2006-05-23T14:37:09.035140Z"
globalInstanceId="A4731E150000893977DC6C370759F390" msg="Registering
process 21641" severity="10" version="1.0.1">
<sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="127.0.0.1" locationType="IPV4"
processId="17878" subComponent="framework/RAServer/messagePump.c"
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="2006-05-23T14:37:09.035307Z"
globalInstanceId="A4731E15000089E2595A118E3EB4AB47" msg="Registered
Agent UUID-1148395029-31636-1305250941-841175353." severity="10"
version="1.0.1">
<sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="127.0.0.1" locationType="IPV4"
processId="17878" subComponent="framework/RAServer/messagePump.c"
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="2006-05-23T14:39:50.461447Z"
globalInstanceId="A4731EB600070A76672BAE69422650A8" msg="Deregistering
agent UUID-1148395029-31636-1305250941-841175353. " severity="10"
version="1.0.1">
<sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="127.0.0.1" locationType="IPV4"
processId="17878" subComponent="framework/RAServer/util.c"
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>
Re: Agents cannot be found sometimes [message #72526 is a reply to message #71636] Wed, 31 May 2006 16:37 Go to previous message
Andy Kaylor is currently offline Andy KaylorFriend
Messages: 23
Registered: July 2009
Junior Member
It looks like the log file records the agent successfully registering with
the RAC.

In that case I would expect the RAC to set up a connection between the agent
and the client. You mentioned that the log was truncated. The next few
messages are likely relevant.

-Andy

"Jian Fang" <jian.fang@acntv.com> wrote in message
news:e4v7p0$atd$1@utils.eclipse.org...
> Hi,
>
> I still face the problem to get the profiler running. My system is as
> follows,
>
> OS: Linux Fedora Core 5
> Eclipse: 3.2RC5
> JRE: 1.5.0_06
>
> Using RAC, I first run the program as junit with the VM argument:
>
> -XrunpiAgent:server=enabled -Xms128m -Xmx256m
>
> I also tried -XrunpiAgent:server=controlled. Then launch profiler by
> attach java process. Sometimes, I can indeed find the agent to attach
> to from the agents tab and the profiler works fine. But sometimes,
> I cannot find the agent at all. The configuration is the same. What
> would be the reasons that cause this problem?
>
> I looked at the log file for unsuccessful runs, the message is attached
> (truncated),
>
> Any ideas on how to solve this?
>
> Thanks,
>
> Jian
>
>
> <CommonBaseEvent creationTime="2006-05-23T14:36:32.557416Z"
> globalInstanceId="A4731DF00008815C15650BE939C636F4" msg="Plugin loader:
> Config file for plugin:
> org.eclipse.hyades.logging.parsers_4.2.0.v200604131758 loaded
> successfully" severity="10" version="1.0.1">
> <sourceComponentId component="Data Collection Engine"
> componentIdType="Application" location="127.0.0.1" locationType="IPV4"
> processId="17878"
> subComponent="framework/RAServerConfig/RAServerConfigBinding.cpp "
> 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="2006-05-23T14:36:32.557618Z"
> globalInstanceId="A4731DF00008822924E0BBDC3FA1B2A3" msg="Finished
> processing plugin: org.eclipse.hyades.logging.parsers_4.2.0.v200604131758"
> severity="10" version="1.0.1">
> <sourceComponentId component="Data Collection Engine"
> componentIdType="Application" location="127.0.0.1" locationType="IPV4"
> processId="17878"
> subComponent="framework/RAServerConfig/RAServerConfigBinding.cpp "
> 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="2006-05-23T14:36:32.557799Z"
> globalInstanceId="A4731DF0000882DE3BE0955D215B9D48" msg="Active
> configuration set to: default" severity="10" version="1.0.1">
> <sourceComponentId component="Data Collection Engine"
> componentIdType="Application" location="127.0.0.1" locationType="IPV4"
> processId="17878"
> subComponent="framework/RAServerConfig/RAServerConfigBinding.cpp "
> 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="2006-05-23T14:36:32.559753Z"
> globalInstanceId="A4731DF000088A7E428FFF6A71ACA235" msg="Loaded
> configuration: default" severity="10" version="1.0.1">
> <sourceComponentId component="Data Collection Engine"
> componentIdType="Application" location="127.0.0.1" locationType="IPV4"
> processId="17878"
> subComponent="framework/RAServerConfig/RAServerConfigBinding.cpp "
> 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="2006-05-23T14:36:32.559909Z"
> globalInstanceId="A4731DF000088B1B2B861AC773BD274A" msg="Service started
> successfully" severity="10" version="1.0.1">
> <sourceComponentId component="Data Collection Engine"
> componentIdType="Application" location="127.0.0.1" locationType="IPV4"
> processId="17878"
> subComponent="framework/RAServerConfig/RAServerConfigBinding.cpp "
> 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="2006-05-23T14:36:32.560154Z"
> globalInstanceId="A4731DF000088C104C17BA6A595A3FE9" msg="Java job
> submitted for starting insecured file server" severity="10"
> version="1.0.1">
> <sourceComponentId component="Data Collection Engine"
> componentIdType="Application" location="127.0.0.1" locationType="IPV4"
> processId="17878" subComponent="framework/RAServer/RACommS.c"
> 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="2006-05-23T14:36:32.894442Z"
> globalInstanceId="A4731DF0000DA5D840587DD514D10FC0" msg="Insecure File
> Server port set to 10005" severity="10" version="1.0.1">
> <sourceComponentId component="Data Collection Engine"
> componentIdType="Application" location="127.0.0.1" locationType="IPV4"
> processId="17878" subComponent="framework/RAServer/RACommS.c"
> 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="2006-05-23T14:36:32.894676Z"
> globalInstanceId="A4731DF0000DA6CA73F4126B59DC1A41" msg="Insecure File
> Server initialized successfully" severity="10" version="1.0.1">
> <sourceComponentId component="Data Collection Engine"
> componentIdType="Application" location="127.0.0.1" locationType="IPV4"
> processId="17878" subComponent="framework/RAServer/RACommS.c"
> 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="2006-05-23T14:36:32.956587Z"
> globalInstanceId="A4731DF0000E9899336579026519A057" msg="Insecure File
> Server started successfully" severity="10" version="1.0.1">
> <sourceComponentId component="Data Collection Engine"
> componentIdType="Application" location="127.0.0.1" locationType="IPV4"
> processId="17878" subComponent="framework/RAServer/RACommS.c"
> 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="2006-05-23T14:37:09.034904Z"
> globalInstanceId="A4731E150000884C559811F432B6F36A" msg="Incoming
> connection request from agent Java Profiling Agent in process 21641 with
> uuid UUID-1148395029-31636-1305250941-841175353" severity="10"
> version="1.0.1">
> <sourceComponentId component="Data Collection Engine"
> componentIdType="Application" location="127.0.0.1" locationType="IPV4"
> processId="17878" subComponent="framework/RAServer/messagePump.c"
> 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="2006-05-23T14:37:09.035140Z"
> globalInstanceId="A4731E150000893977DC6C370759F390" msg="Registering
> process 21641" severity="10" version="1.0.1">
> <sourceComponentId component="Data Collection Engine"
> componentIdType="Application" location="127.0.0.1" locationType="IPV4"
> processId="17878" subComponent="framework/RAServer/messagePump.c"
> 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="2006-05-23T14:37:09.035307Z"
> globalInstanceId="A4731E15000089E2595A118E3EB4AB47" msg="Registered Agent
> UUID-1148395029-31636-1305250941-841175353." severity="10"
> version="1.0.1">
> <sourceComponentId component="Data Collection Engine"
> componentIdType="Application" location="127.0.0.1" locationType="IPV4"
> processId="17878" subComponent="framework/RAServer/messagePump.c"
> 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="2006-05-23T14:39:50.461447Z"
> globalInstanceId="A4731EB600070A76672BAE69422650A8" msg="Deregistering
> agent UUID-1148395029-31636-1305250941-841175353. " severity="10"
> version="1.0.1">
> <sourceComponentId component="Data Collection Engine"
> componentIdType="Application" location="127.0.0.1" locationType="IPV4"
> processId="17878" subComponent="framework/RAServer/util.c"
> 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>
Previous Topic:NPE on running Automation Service without Project property
Next Topic:problem with "/" vs "\" in filename argument profiling Java app
Goto Forum:
  


Current Time: Sat Apr 27 04:15:39 GMT 2024

Powered by FUDForum. Page generated in 0.07154 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top