Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Configuring tptp agent to monitor on sun one application server
Configuring tptp agent to monitor on sun one application server [message #132980] Mon, 21 July 2008 21:01 Go to next message
Eclipse UserFriend
Originally posted by: karl.f.v.ramas.accenture.com

Hi,

I'm trying to use TPTP to profile and monitor an application deployed
externally to a Sun One Application Server (ver. 8.2).

I believe that I have everything installed correctly. On the server side,
I can start the agent controller and launch the application server with
the -XrunpiAgent:server=enabled option as a JVM Option under
Configurations > server-config > JVM Settings > JVM Options. I do have the
debug option disabled and the profiler option enabled.

On the eclipse side, I can connect to the agent controller and attach to a
Profiling Agent. The only problem is that no data is displayed when I
begin to start monitoring. The message I get on the windows is as follows:

============
No memory statistics is available for display.
Either you have no trace selected in the Profiling Monitor view or the
current selection does not contain memory statistic information.

Note:
This view is available only if the trace contains memory statistics. To
collect this type of information, on the Profile tab in the Launch
configuration, choose the Memory Analysis option.
============

It says that it's monitoring and collecting, but at the bottom of Eclipse,
it reads "Processed: 0 bytes...."

My guess is that the agent is being started by the application server but
is not actually configured to monitor anything. Does anyone have any
experience with configuring this to work with Sun One Application Server?
Where do I need to specify what the agent should be monitoring?

Thank you for your time.

- Karl -
Re: Configuring tptp agent to monitor on sun one application server [message #133033 is a reply to message #132980] Tue, 22 July 2008 14:36 Go to previous messageGo to next message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member
Hi Karl,

When you connect and attach to the Profiling Agent, you should create your
own profiling filter and make sure your package is not filtered out by the
filter configuration. The default filter created may have filtered out all
your package and hence no data is collected.

Eugene.


"Karl Ramas" <karl.f.v.ramas@accenture.com> wrote in message
news:cebcc9f5a67656892fbacbd63156a303$1@www.eclipse.org...
> Hi,
>
> I'm trying to use TPTP to profile and monitor an application deployed
> externally to a Sun One Application Server (ver. 8.2).
>
> I believe that I have everything installed correctly. On the server side,
> I can start the agent controller and launch the application server with
> the -XrunpiAgent:server=enabled option as a JVM Option under
> Configurations > server-config > JVM Settings > JVM Options. I do have the
> debug option disabled and the profiler option enabled.
>
> On the eclipse side, I can connect to the agent controller and attach to a
> Profiling Agent. The only problem is that no data is displayed when I
> begin to start monitoring. The message I get on the windows is as follows:
>
> ============
> No memory statistics is available for display.
> Either you have no trace selected in the Profiling Monitor view or the
> current selection does not contain memory statistic information.
>
> Note:
> This view is available only if the trace contains memory statistics. To
> collect this type of information, on the Profile tab in the Launch
> configuration, choose the Memory Analysis option.
> ============
>
> It says that it's monitoring and collecting, but at the bottom of Eclipse,
> it reads "Processed: 0 bytes...."
>
> My guess is that the agent is being started by the application server but
> is not actually configured to monitor anything. Does anyone have any
> experience with configuring this to work with Sun One Application Server?
> Where do I need to specify what the agent should be monitoring?
>
> Thank you for your time.
>
> - Karl -
>
Re: Configuring tptp agent to monitor on sun one application server [message #133124 is a reply to message #133033] Wed, 23 July 2008 15:20 Go to previous message
Eclipse UserFriend
Originally posted by: karl.f.v.ramas.accenture.com

Thanks for the reply, Eugene. I did try fixing the filters, but to no
avail. Nothing shows even when I include *.

When I select the agent to connect to, it shows up as "unknown" in the
Agents tab of the launch configuration. How do I ensure that it is
actually monitoring a specific application?
Previous Topic:relations between tested methods and test cases
Next Topic:Instrumentation Source -> Add ARM Instrumentation
Goto Forum:
  


Current Time: Tue Nov 25 00:54:39 GMT 2014

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

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