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.

No able to connect to locally running profiling application

Moderators: Vladimir Kondratyev, Anton Katilin

No able to connect to locally running profiling application

Postby jms_knaack » Thu Jun 30, 2005 3:54 pm

Hello,
When trying to connect to a locally running application from the profiler, I get following message:

'There is no application running at localhost with profiler agent configured to listen on port 3696'

I started the application in these two different ways:

java -cp . -Xrunyjpagent MyApplication
java -cp . -Xrunyjpagent:port=3696 MyApplication

I would appreciate very much you help,
Thanks is advance
jms_knaack
 
Posts: 3
Joined: Thu Jun 30, 2005 3:36 pm

Postby Vladimir Kondratyev » Thu Jun 30, 2005 5:48 pm

Most probable you are running UI and your java application under different users. Please try to connect to local application as to remote "localhost:port_number".

Lookup will be improved in the next AP build (http://www/yourkit.com/eap/).

Regards,
Vladimir
Vladimir Kondratyev
 
Posts: 1519
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

No able to connect to locally running profiling application

Postby jms_knaack » Fri Jul 01, 2005 7:52 am

Hello Vladimir,

Thanks for you help, but could you be more specific?. I never managed to connect to a remote application (this is my next challenge) and I do not find any documentation on how to do it.

If I try something like this

java -cp . -Xrunyjpagent:localhost:port=3696 MyApplication
or
java -cp . -Xrunyjpagent:port=localhost:3696 MyApplication
or
java -cp . -Xrunyjpagent:localhost:3696 MyApplication

it is certainly wrong.

Thanks in advance for your help
Jose
jms_knaack
 
Posts: 3
Joined: Thu Jun 30, 2005 3:36 pm

Postby Vladimir Kondratyev » Fri Jul 01, 2005 8:04 am

Use the following line to start your application (do not use "localhost" word in port specification):
java -cp . -Xrunyjpagent:port=3696 MyApplication

After your app is started, launch profiler UI and connect to it as to remote application at localhost:3696
Vladimir Kondratyev
 
Posts: 1519
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany


Return to Java Profiler

Who is online

Users browsing this forum: Google [Bot] 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.