Fully featured low overhead profiler for Java EE and Java SE platforms.
Performance monitoring and profiling of Jenkins, TeamCity, Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

Tomcat 5.5.4 does not start with tomcat5_with_yjp.bat

Moderators: Vladimir Kondratyev, Anton Katilin

Tomcat 5.5.4 does not start with tomcat5_with_yjp.bat

Postby LR » Sun May 01, 2005 5:52 pm

Hi,

I am using tomcat 5.5.4 with Eclipse 3.1M6. I usually start Tomcat from the servers view of the Web Tools Plateform in Eclipse.

I dont have understood how I should use the plugin for eclipse ?

And I also dont understand how I should profile Tomcat as standalone application. When I try to execute tomcat5_with_yjp.bat, it says :

============================
D:\Program_Files\Tomcat 5.5\bin>tomcat5_with_yjp.bat

D:\Program_Files\Tomcat 5.5\bin>rem Generated with YourKit Java Profiler 4.0.10


D:\Program_Files\Tomcat 5.5\bin>set PATH=C:\Program Files\YourKit Java Profiler
4.0.10\bin\win32;c:\ruby\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\
Wbem;D:\java\j2sdk1.4.2_01\bin;.\;C:\Program Files\ATI Technologies\ATI Control
Panel;D:\Program Files\MySQL\MySQL-4.1.8\bin;C:\WINDOWS\System32;D:\Program File
s\jad;D:\Program Files\apache-ant-1.6.2\bin;D:\Program Files\eclipse3.1M6\bin

D:\Program_Files\Tomcat 5.5\bin>set JAVA_TOOL_OPTIONS=-agentlib:yjpagent=session
name=Tomcat

D:\Program_Files\Tomcat 5.5\bin>tomcat5.exe //TS//Tomcat5 --JvmOptions="-Xrunyjp
agent:sessionname=Tomcat"
Picked up JAVA_TOOL_OPTIONS: -agentlib:yjpagent=sessionname=Tomcat
[YourKit Java Profiler 4.0.10] Using JVMTI
[YourKit Java Profiler 4.0.10] Listening on port 1843...
============================

In YourKit Java Profiler 4.0.10, I clicked "Connect to remote application" end enters "localhost:1843" and it says "There's no application running at localhost with profiler agent configured to listen on port 1843".

How should I do ?

Thank you
Best regards
Lilian
LR
 
Posts: 1
Joined: Sun May 01, 2005 5:46 pm

Postby Anton Katilin » Fri May 13, 2005 1:17 pm

Hi,

I am using tomcat 5.5.4 with Eclipse 3.1M6. I usually start Tomcat from the servers view of the Web Tools Plateform in Eclipse.

I dont have understood how I should use the plugin for eclipse ?


This kind of run configurations is not supported at the moment.
Please run Tomcat manually. You can use plugin for naviagtion to source code from profiling results.



In YourKit Java Profiler 4.0.10, I clicked "Connect to remote application" end enters "localhost:1843" and it says "There's no application running at localhost with profiler agent configured to listen on port 1843".


Why don't you use Connect to local application instead?
Anton Katilin
 
Posts: 5966
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 1 guest

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.