Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » TPTP and Tomcat Plugin
TPTP and Tomcat Plugin [message #28071] Wed, 24 August 2005 18:19 Go to next message
Jerry Lampi is currently offline Jerry Lampi
Messages: 4
Registered: July 2009
Junior Member
I'm using eclipse 3.1.0 and TPTP 4.0 on Windows 2000 Professional.

I use the Sysdeo tomcat plugin to launch tomcat from within eclipse.

I have set my System environment PATH statement to point to the correct bin
folder for the TPTP agent. I can start the agent by running RAServer.exe.

I have successfully run TPTP in the previous release (3.3) using eclipse
3.0.1. The point of mentioning this is that I am not a complete novice to
TPTP; I'm no expert, either, but I have successfully installed and used it
before.

In the previous release of TPTP (3.x) and eclipse (3.0.1), I was able to
monitor my webapp by going to the Tomcat Plugin preferences page
(Window->Preferences->Tomcat->JVM Settings) and specify
he -XrunpiAgent:server=enabled parameter, start Tomcat and then attach to
it from the Profiling and Logging perspective via Profile->Attach Java
Process. This allowed me to start and run tomcat as always, but turn on
monitoring if desired.

In the current relase, however, when I click the "Start Tomcat" button,
eclipse hangs. I have the RAServer runnning, so I know this is not the
issue. The "Start Tomcat" toolbar button image changes to the down state
(i.e., pressed) and then eclipse hangs completely, resulting in me having to
do a Ctl-Alt-Del/End Process to get it to shut down.

I have contacted Sysdeo, suspecting that it is a problem with thier new
eclipse 3.1 plugin, but I was wondeiring if anyone here has any advice?

Thanks you,

Jerry
Re: TPTP and Tomcat Plugin [message #28112 is a reply to message #28071] Wed, 24 August 2005 21:10 Go to previous message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
Do you have any old versions of the agent controller installed in addition
to the new agent controller that you have downloaded?

Make sure you have the bin directory of the new installation of the agent
controller in your system path and remove any old path of the agent
controller from your path variable.



Does this happen with any other JVM process? Try to create a simple java
program with the same flag that you're starting your tomcat server and
ensure that you can attach and profile the agent.



Can you also try to disable the JIT to see if that helps (you can disable
the JIT using: -Djava.compiler=none )





"Jerry Lampi" <jal@sdsusa.com> wrote in message
news:deidoa$agf$1@news.eclipse.org...
> I'm using eclipse 3.1.0 and TPTP 4.0 on Windows 2000 Professional.
>
> I use the Sysdeo tomcat plugin to launch tomcat from within eclipse.
>
> I have set my System environment PATH statement to point to the correct
> bin
> folder for the TPTP agent. I can start the agent by running RAServer.exe.
>
> I have successfully run TPTP in the previous release (3.3) using eclipse
> 3.0.1. The point of mentioning this is that I am not a complete novice to
> TPTP; I'm no expert, either, but I have successfully installed and used it
> before.
>
> In the previous release of TPTP (3.x) and eclipse (3.0.1), I was able to
> monitor my webapp by going to the Tomcat Plugin preferences page
> (Window->Preferences->Tomcat->JVM Settings) and specify
> he -XrunpiAgent:server=enabled parameter, start Tomcat and then attach to
> it from the Profiling and Logging perspective via Profile->Attach Java
> Process. This allowed me to start and run tomcat as always, but turn on
> monitoring if desired.
>
> In the current relase, however, when I click the "Start Tomcat" button,
> eclipse hangs. I have the RAServer runnning, so I know this is not the
> issue. The "Start Tomcat" toolbar button image changes to the down state
> (i.e., pressed) and then eclipse hangs completely, resulting in me having
> to
> do a Ctl-Alt-Del/End Process to get it to shut down.
>
> I have contacted Sysdeo, suspecting that it is a problem with thier new
> eclipse 3.1 plugin, but I was wondeiring if anyone here has any advice?
>
> Thanks you,
>
> Jerry
>
>
>
Previous Topic:Execution flow
Next Topic:Starting Agent Controller
Goto Forum:
  


Current Time: Thu Oct 02 04:36:23 GMT 2014

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

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