Unsuccessful profiling attempts

Questions about YourKit .NET Profiler
Post Reply
Sofoz
Posts: 4
Joined: Mon Jan 30, 2006 7:53 am

Unsuccessful profiling attempts

Post by Sofoz »

Hi,

I have tried build 64 on at least two applications and neither was successful. The starting ended up with message: "There's no application running at localhost with profiler agent configured to listen on port 2321".

Did I miss something about starting of profiling?
Vitaly Pimenov
Posts: 48
Joined: Tue Aug 23, 2005 10:52 am

Post by Vitaly Pimenov »

Hello! Could you please tell me some details.
Are you using .NET Framework v2.0?
Could it be that applications you were trying to run with profiler can end very quick - just before the profiler would be able to establish connection with application?
Have you seen any logs? They are located at C:\Documents And Settings\{YOUR_USER_NAME}\.ynp\log
Maybe you have some firewall installed and this firewall is blocking profiler's network activity?

Best regards, Vitaly.
Sofoz
Posts: 4
Joined: Mon Jan 30, 2006 7:53 am

Post by Sofoz »

Vitaly,

Thanks for quick response.

1) I am using .NET framework 1.1.
2) No, it is not possible.
3) Here is the log file:
2006-01-25 18:04:54.110 INFO com.yourkit.Main0 : ---------------------------------------------------------------------
2006-01-25 18:04:54.126 INFO com.yourkit.Main0 : Starting application. Build #64; build on Tue Jan 24 17:00:00 EET 2006
2006-01-25 18:04:54.126 INFO com.yourkit.Main0 : number of args: 0
2006-01-25 18:10:50.041 INFO com.yourkit.Main0 : ---------------------------------------------------------------------
2006-01-25 18:10:50.041 INFO com.yourkit.Main0 : Starting application. Build #64; build on Tue Jan 24 17:00:00 EET 2006
2006-01-25 18:10:50.056 INFO com.yourkit.Main0 : number of args: 0
2006-01-25 18:16:16.206 INFO com.yourkit.util.l :
java.lang.Exception: There's no application running at localhost with profiler agent configured to listen on port 1591
at com.yourkit.api.ControllerImpl.a(a:160)
at com.yourkit.api.ControllerImpl.a(a:168)
at com.yourkit.api.ControllerImpl.<init>(a:152)
at com.yourkit.d.g$a$1.a(a:65)
at com.yourkit.ui.ad$b.run(a:28)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at com.yourkit.api.ControllerImpl.a(a:50)
... 3 more
2006-01-25 18:16:32.191 INFO com.yourkit.util.l :
java.lang.Exception: There's no application running at localhost with profiler agent configured to listen on port 1604
at com.yourkit.api.ControllerImpl.a(a:160)
at com.yourkit.api.ControllerImpl.a(a:168)
at com.yourkit.api.ControllerImpl.<init>(a:152)
at com.yourkit.d.g$a$1.a(a:65)
at com.yourkit.ui.ad$b.run(a:28)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at com.yourkit.api.ControllerImpl.a(a:50)
... 3 more
2006-01-25 18:17:04.784 INFO com.yourkit.util.l :
java.lang.Exception: There's no application running at localhost with profiler agent configured to listen on port 1631
at com.yourkit.api.ControllerImpl.a(a:160)
at com.yourkit.api.ControllerImpl.a(a:168)
at com.yourkit.api.ControllerImpl.<init>(a:152)
at com.yourkit.d.g$a$1.a(a:65)
at com.yourkit.ui.ad$b.run(a:28)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at com.yourkit.api.ControllerImpl.a(a:50)
... 3 more
2006-01-25 18:17:15.737 INFO com.yourkit.util.l :
java.lang.Exception: There's no application running at localhost with profiler agent configured to listen on port 1637
at com.yourkit.api.ControllerImpl.a(a:160)
at com.yourkit.api.ControllerImpl.a(a:168)
at com.yourkit.api.ControllerImpl.<init>(a:152)
at com.yourkit.d.g$a$1.a(a:65)
at com.yourkit.ui.ad$b.run(a:28)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at com.yourkit.api.ControllerImpl.a(a:50)
... 3 more
2006-01-30 09:50:09.180 INFO com.yourkit.Main0 : ---------------------------------------------------------------------
2006-01-30 09:50:09.227 INFO com.yourkit.Main0 : Starting application. Build #64; build on Tue Jan 24 17:00:00 EET 2006
2006-01-30 09:50:09.227 INFO com.yourkit.Main0 : number of args: 0
2006-01-30 09:51:19.964 INFO com.yourkit.util.l :
java.lang.Exception: There's no application running at localhost with profiler agent configured to listen on port 2321
at com.yourkit.api.ControllerImpl.a(a:160)
at com.yourkit.api.ControllerImpl.a(a:168)
at com.yourkit.api.ControllerImpl.<init>(a:152)
at com.yourkit.d.g$a$1.a(a:65)
at com.yourkit.ui.ad$b.run(a:28)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at com.yourkit.api.ControllerImpl.a(a:50)
... 3 more
2006-01-30 09:57:32.500 INFO com.yourkit.util.l :
java.lang.Exception: There's no application running at localhost with profiler agent configured to listen on port 2450
at com.yourkit.api.ControllerImpl.a(a:160)
at com.yourkit.api.ControllerImpl.a(a:168)
at com.yourkit.api.ControllerImpl.<init>(a:152)
at com.yourkit.d.g$a$1.a(a:65)
at com.yourkit.ui.ad$b.run(a:28)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at com.yourkit.api.ControllerImpl.a(a:50)
... 3 more
4) My Windows Firewall is off :) and no other installed
Sofoz
Posts: 4
Joined: Mon Jan 30, 2006 7:53 am

Post by Sofoz »

I just noticied this:

Supported platforms

* Microsoft Visual Studio 2005
* Microsoft .NET Framework version 2.0

Too bad for me :(
Vitaly Pimenov
Posts: 48
Joined: Tue Aug 23, 2005 10:52 am

Post by Vitaly Pimenov »

Hi! Unfortunately we do not support .NET Framework 1.1 - please use version 2.0.50727 and higher.
Thanks for log, I want to ask you - what are the files in 'log' folder? Only 0.log.* or there exist some files named {NUMBER}.log? If they are - could you please send it to support at yourkit.com

Best regards, Vitaly.
Sofoz
Posts: 4
Joined: Mon Jan 30, 2006 7:53 am

Post by Sofoz »

No, just the 0.log:
.:
config
log
ynp.license

./config:
filters.xml
registry.xml
sets.xml
snapshots.xml

./log:
0.log
Post Reply