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
No able to connect to locally running profiling application
-
- Posts: 3
- Joined: Thu Jun 30, 2005 3:36 pm
-
- Posts: 1624
- Joined: Tue Aug 10, 2004 7:52 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
Lookup will be improved in the next AP build (http://www/yourkit.com/eap/).
Regards,
Vladimir
-
- Posts: 3
- Joined: Thu Jun 30, 2005 3:36 pm
No able to connect to locally running profiling application
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
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
-
- Posts: 1624
- Joined: Tue Aug 10, 2004 7:52 pm