"No Applications Found" when attempting to profile db2 java stored procedures

Questions about YourKit Java Profiler
Locked
laaaarry
Posts: 4
Joined: Wed Aug 21, 2024 3:50 pm

"No Applications Found" when attempting to profile db2 java stored procedures

Post by laaaarry »

hi

i'm try to profile some db2 java stored procedures. i have the profiler agent attached to the db2 java jvm and i can 'connect' to it successfully within the yourkit ui client, but it says "No Applications Found". the db2 jvm stays running from invocation of the first stored procedure, and i can see that the agent in still listening with `netstat -a`. why cant yourkit see the jvm?

thanks for your help

larry
Vladimir Kondratyev
Posts: 1660
Joined: Tue Aug 10, 2004 7:52 pm

Re: "No Applications Found" when attempting to profile db2 java stored procedures

Post by Vladimir Kondratyev »

As fas as I understand you are using SSH to connect profiler UI to the machine where db2 runs. Please make sure that SSH port forwarding is enabled:

https://www.yourkit.com/docs/java-profi ... requisites

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
laaaarry
Posts: 4
Joined: Wed Aug 21, 2024 3:50 pm

Re: "No Applications Found" when attempting to profile db2 java stored procedures

Post by laaaarry »

no, i'm using a direct connect to port 8901 (https://www.yourkit.com/docs/java-profi ... onnect.jsp)
Vladimir Kondratyev
Posts: 1660
Joined: Tue Aug 10, 2004 7:52 pm

Re: "No Applications Found" when attempting to profile db2 java stored procedures

Post by Vladimir Kondratyev »

If profiler agent is loaded, you should be able to check its status with web browser: https://www.yourkit.com/docs/java-profi ... sp#browser

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
laaaarry
Posts: 4
Joined: Wed Aug 21, 2024 3:50 pm

Re: "No Applications Found" when attempting to profile db2 java stored procedures

Post by laaaarry »

netstat -a is showing it's using ip6 and not ip4 which is aparently a problem for the firewall rules according to my sysadmin. i tried with both listen=all and listen=64.54.147.107 and they both use ip6. is there a way to make the agent use ip4?
laaaarry
Posts: 4
Joined: Wed Aug 21, 2024 3:50 pm

Re: "No Applications Found" when attempting to profile db2 java stored procedures

Post by laaaarry »

my sysadmin figured it out the firewall issue and now i can access the agent from the gui. thanks for your help !
Vladimir Kondratyev
Posts: 1660
Joined: Tue Aug 10, 2004 7:52 pm

Re: "No Applications Found" when attempting to profile db2 java stored procedures

Post by Vladimir Kondratyev »

Great! Thank you for the notice.

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Locked