Well, we have progress: the Agents list now contains the agent controller with a given PID. I don't know what the problem was, maybe a mixture of Eclipse restarts, computer restarts, acserver / arservice starts and stops, but this seems to be working.
There is still a problem left to solve. Upon starting the Tomcat server in profiling mode, the cursor quickly alternates between hourglass / arrow for a second or two and a Windows dialog pops up saying that javaw.exe has crashed. It's surely the JVM dedicated to Tomcat since the Eclipse workbench is still up and running.
Is there a way around this problem?
Thanks once again,
GB
There is still a problem left to solve. Upon starting the Tomcat server in profiling mode, the cursor quickly alternates between hourglass / arrow for a second or two and a Windows dialog pops up saying that javaw.exe has crashed. It's surely the JVM dedicated to Tomcat since the Eclipse workbench is still up and running.
Is there a way around this problem?
Thanks once again,
GB
----- Original Message ----
From: Eugene Chan <[EMAIL PROTECTED]>
To: Guillaume Bilodeau <[EMAIL PROTECTED]>; TPTP Tracing and Profiling Tools Project developer discussions <tptp-tracing-profiling-tools-dev@eclipse.org>; Joseph P Toomey <[EMAIL PROTECTED]>
Sent: Tuesday, July 11, 2006 6:06:21 PM
Subject: Re: [tptp-tracing-profiling-tools-dev] Unable to profile Tomcat application
Hi.
First of all, there is no need to manually modify the -XrunpiAgent option in your Tomcat install as it's what profile on server function doing under the cover for you. Second, Integrated Agent Controller is stated transparently in scenario (1) listed in your note.
Can you check the following for me to proceed?
- stop all RAService/ACService, verify in Task Manager that none of them are running
- shut down Tomcat
- verify in Task Manager that there is no java.exe process other than your workbench running
restart workbench if possible and rerun scenario (1) in your earlier email.
Regards,
------------------------------------------------------------------------------
Eugene Chan
IBM Toronto Laboratory, Canada
I've seen this option, but I didn't add it for a simple reason: I don't know what to do next :) How is Eclipse / TPTP supposed to retrieve the data gathered by the agent?
Thanks Joe,
GB
----- Original Message ----
From: Joseph P Toomey <[EMAIL PROTECTED]>
To: TPTP Tracing and Profiling Tools Project developer discussions <tptp-tracing-profiling-tools-dev@eclipse.org>
Cc: [EMAIL PROTECTED]
Sent: Tuesday, July 11, 2006 5:45:21 PM
Subject: Re: [tptp-tracing-profiling-tools-dev] Unable to profile Tomcat application
Have you modified your tomcat config to load the agent? (You need to pass the following JVM argument to Tomcat's JVM: -XrunpiAgent:server=enabled)
See the following page in the help for more details:
http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse.tptp.platform.doc.user/tasks/teprofsa.htm
Thanks,
--Joe
Joe Toomey
Senior Software Engineer
Rational Software
IBM Software Group
tel: (919) 543-6278
Hi Guillaume,
You are on the right track and both (1) and (2) are the correct steps to profile a server. I am running with the same environment as yours and profile on server works fine. I have the following components in my Eclipse build:
Eclipse 3.2 :
eclipse-SDK-3.2-win32
EMF/XSD/GEF/JEM:
emf-sdo-xsd-SDK-2.2.0
GEF-runtime-3.2
JEM-runtime-1.2
WTP 1.5:
wtp-R-1.5.0-200606281455
TPTP 4.2:
tptp.runtime-TPTP-4.2.0
TPTP Agent Controller 4.2:
agntctrl.win_ia32-TPTP-4.2.0
I profiled a simple web application on Tomcat 5.5.17 with IBM JDK 1.5
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pwi32devifx-20060124)
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows 2000 x86-32 j9vmwi3223ifx-20060124 (JIT enabled)
I setup my system path to include Agent Controller\bin folder, run bin\setConfig.bat to setup the controller and starts the Agent controller with RAServer.exe(ACServer.exe should also work). Did you get any error message regarding agent controller connection? Does 'Refresh Data' in Profile on Server dialog helps?
Please let me know if you need more information.
Thanks.
------------------------------------------------------------------------------
Eugene Chan
IBM Toronto Laboratory, Canada
Please excuse me for posting this on the "dev" mailing list, unfortunately I
couldn't find any "user" mailing list.
I'm trying to profile a Tomcat application but with no success. Environment
is Eclipse 3.2 with WTP, Tomcat 5.5.17, Java 5 and Windows XP.
I have downloaded the tptp.runtime-TPTP-4.2.0.zip and the
agntctrl.win_ia32-TPTP-4.2.0.zip files, unzipped the first in my Eclipse
directory and the second in its own. I have added the RASERVER_HOME
environment variable and modified the PATH environment variable to include
%RASERVER_HOME%\bin.
I have tried several ways to make this work:
1. Open Eclipse, select Tomcat server and click on "Start server in
profiling mode". The server starts, a "Profile on server" dialog opens and
asks me to select an agent, but the Agents list is empty. I must cancel the
dialog and stop the server.
2. Run ACServer.exe, open Eclipse, select Tomcat server and click on "Start
server in profiling mode". The server starts, a "Profile on server" dialog
opens and asks me to select an agent, but the Agents list is still empty. I
must cancel the dialog and stop the server.
3. Open Eclipse, select Tomcat server and click on "Start the server".
Select Run > Profile..., create a New Attach - Java Process. No matter
which Host I select in the first tab, the Agents list in the second tab is
empty.
I cannot find any documentation on how to make this work. Somehow this
should be quite simple? Thanks for pointing me in the right direction.
Cheers,
GB
--
View this message in context: http://www.nabble.com/Unable-to-profile-Tomcat-application-tf1924011.html#a5268069
Sent from the Eclipse - Tracing and Profiling Tools - Dev forum at Nabble.com.
_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev
_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev
_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev
From: Eugene Chan <[EMAIL PROTECTED]>
To: Guillaume Bilodeau <[EMAIL PROTECTED]>; TPTP Tracing and Profiling Tools Project developer discussions <tptp-tracing-profiling-tools-dev@eclipse.org>; Joseph P Toomey <[EMAIL PROTECTED]>
Sent: Tuesday, July 11, 2006 6:06:21 PM
Subject: Re: [tptp-tracing-profiling-tools-dev] Unable to profile Tomcat application
Hi.
First of all, there is no need to manually modify the -XrunpiAgent option in your Tomcat install as it's what profile on server function doing under the cover for you. Second, Integrated Agent Controller is stated transparently in scenario (1) listed in your note.
Can you check the following for me to proceed?
- stop all RAService/ACService, verify in Task Manager that none of them are running
- shut down Tomcat
- verify in Task Manager that there is no java.exe process other than your workbench running
restart workbench if possible and rerun scenario (1) in your earlier email.
Regards,
------------------------------------------------------------------------------
Eugene Chan
IBM Toronto Laboratory, Canada
Guillaume Bilodeau <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 07/11/2006 09:48 AM
|
|
I've seen this option, but I didn't add it for a simple reason: I don't know what to do next :) How is Eclipse / TPTP supposed to retrieve the data gathered by the agent?
Thanks Joe,
GB
----- Original Message ----
From: Joseph P Toomey <[EMAIL PROTECTED]>
To: TPTP Tracing and Profiling Tools Project developer discussions <tptp-tracing-profiling-tools-dev@eclipse.org>
Cc: [EMAIL PROTECTED]
Sent: Tuesday, July 11, 2006 5:45:21 PM
Subject: Re: [tptp-tracing-profiling-tools-dev] Unable to profile Tomcat application
Have you modified your tomcat config to load the agent? (You need to pass the following JVM argument to Tomcat's JVM: -XrunpiAgent:server=enabled)
See the following page in the help for more details:
http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse.tptp.platform.doc.user/tasks/teprofsa.htm
Thanks,
--Joe
Joe Toomey
Senior Software Engineer
Rational Software
IBM Software Group
tel: (919) 543-6278
Eugene Chan <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 07/11/2006 09:29 AM
|
|
Hi Guillaume,
You are on the right track and both (1) and (2) are the correct steps to profile a server. I am running with the same environment as yours and profile on server works fine. I have the following components in my Eclipse build:
Eclipse 3.2 :
eclipse-SDK-3.2-win32
EMF/XSD/GEF/JEM:
emf-sdo-xsd-SDK-2.2.0
GEF-runtime-3.2
JEM-runtime-1.2
WTP 1.5:
wtp-R-1.5.0-200606281455
TPTP 4.2:
tptp.runtime-TPTP-4.2.0
TPTP Agent Controller 4.2:
agntctrl.win_ia32-TPTP-4.2.0
I profiled a simple web application on Tomcat 5.5.17 with IBM JDK 1.5
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pwi32devifx-20060124)
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows 2000 x86-32 j9vmwi3223ifx-20060124 (JIT enabled)
I setup my system path to include Agent Controller\bin folder, run bin\setConfig.bat to setup the controller and starts the Agent controller with RAServer.exe(ACServer.exe should also work). Did you get any error message regarding agent controller connection? Does 'Refresh Data' in Profile on Server dialog helps?
Please let me know if you need more information.
Thanks.
------------------------------------------------------------------------------
Eugene Chan
IBM Toronto Laboratory, Canada
Guillaume Bilodeau <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 07/11/2006 08:06 AM
|
|
Please excuse me for posting this on the "dev" mailing list, unfortunately I
couldn't find any "user" mailing list.
I'm trying to profile a Tomcat application but with no success. Environment
is Eclipse 3.2 with WTP, Tomcat 5.5.17, Java 5 and Windows XP.
I have downloaded the tptp.runtime-TPTP-4.2.0.zip and the
agntctrl.win_ia32-TPTP-4.2.0.zip files, unzipped the first in my Eclipse
directory and the second in its own. I have added the RASERVER_HOME
environment variable and modified the PATH environment variable to include
%RASERVER_HOME%\bin.
I have tried several ways to make this work:
1. Open Eclipse, select Tomcat server and click on "Start server in
profiling mode". The server starts, a "Profile on server" dialog opens and
asks me to select an agent, but the Agents list is empty. I must cancel the
dialog and stop the server.
2. Run ACServer.exe, open Eclipse, select Tomcat server and click on "Start
server in profiling mode". The server starts, a "Profile on server" dialog
opens and asks me to select an agent, but the Agents list is still empty. I
must cancel the dialog and stop the server.
3. Open Eclipse, select Tomcat server and click on "Start the server".
Select Run > Profile..., create a New Attach - Java Process. No matter
which Host I select in the first tab, the Agents list in the second tab is
empty.
I cannot find any documentation on how to make this work. Somehow this
should be quite simple? Thanks for pointing me in the right direction.
Cheers,
GB
--
View this message in context: http://www.nabble.com/Unable-to-profile-Tomcat-application-tf1924011.html#a5268069
Sent from the Eclipse - Tracing and Profiling Tools - Dev forum at Nabble.com.
_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev
_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev
_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev
_______________________________________________ tptp-tracing-profiling-tools-dev mailing list tptp-tracing-profiling-tools-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev