Hi,
I am trying to configure yourkit profiler on Fuse-ESB-6.3.0.
I didn't find any configuration on which I can define my agentPath and all.
Can anyone help to configure the same.
Regards,
Pankaj
Attaching profiler agent to Fuse-ESB-6.3.0
-
- Posts: 4
- Joined: Thu Aug 22, 2019 10:51 am
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Attaching profiler agent to Fuse-ESB-6.3.0
Hello Pankaj
Is there a way to specify Java options such as -Xmx or -Dproperty=value? The -agentpath should be specified among them.
Best regards,
Anton
Is there a way to specify Java options such as -Xmx or -Dproperty=value? The -agentpath should be specified among them.
Best regards,
Anton
-
- Posts: 4
- Joined: Thu Aug 22, 2019 10:51 am
Re: Attaching profiler agent to Fuse-ESB-6.3.0
Hi Anton,
I have configured it in the JVM options present in the Fuse-containers configuration using command line.
there I have mentioned the below properties,
-Dfile.encoding=UTF-8 -Duser.timezone=UTC+01:00 -Xmx4096M -agentpath:/apps/urkit/YourKit-JavaProfiler-2019.1/bin/linux-x86-64/libyjpagent.so=delay=10000,port=10002,listen=all
agnetpath details is properly defined ?
Because from YourKit UI, I can see the server on the list but getting below message while connecting it.
"
There's no application running at 127.0.0.1 with profiler agent configured to listen on port 57578 or profiler agent is incompatible with current version of profiler
Detail:
n/a
"
P.s. > Version - Yourkit Java Profiler 2019.1-b112
Regards,
Pankaj
I have configured it in the JVM options present in the Fuse-containers configuration using command line.
there I have mentioned the below properties,
-Dfile.encoding=UTF-8 -Duser.timezone=UTC+01:00 -Xmx4096M -agentpath:/apps/urkit/YourKit-JavaProfiler-2019.1/bin/linux-x86-64/libyjpagent.so=delay=10000,port=10002,listen=all
agnetpath details is properly defined ?
Because from YourKit UI, I can see the server on the list but getting below message while connecting it.
"
There's no application running at 127.0.0.1 with profiler agent configured to listen on port 57578 or profiler agent is incompatible with current version of profiler
Detail:
n/a
"
P.s. > Version - Yourkit Java Profiler 2019.1-b112
Regards,
Pankaj
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Attaching profiler agent to Fuse-ESB-6.3.0
Version 2019.1 is not supported, please use the latest version 2019.8:P.s. > Version - Yourkit Java Profiler 2019.1-b112
https://www.yourkit.com/download/
If you need v2019.1 please use its latest build #133.
https://www.yourkit.com/download/archive.jsp
-agentpath seems correct.
Please see remote profiling troubleshooting instructions here:
https://www.yourkit.com/docs/java/help/ ... ection.jsp
Is it with green or orange circle?Because from YourKit UI, I can see the server on the list
-
- Posts: 4
- Joined: Thu Aug 22, 2019 10:51 am
Re: Attaching profiler agent to Fuse-ESB-6.3.0
This seems green when I attach servers PID with attach.sh <pid> <serveroptions>Is it with green or orange circle?
Can I use my license on latest version? if so, I have to deactivate the existing and than use the license on the newer version ?
Regards,
Pankaj
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Attaching profiler agent to Fuse-ESB-6.3.0
Please contact [email protected] and specify your license key.Can I use my license on latest version? if so, I have to deactivate the existing and than use the license on the newer version ?
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Attaching profiler agent to Fuse-ESB-6.3.0
This means you have loaded the agent with the remote attach wizard.This seems green when I attach servers PID with attach.sh <pid> <serveroptions>
Please try the latest version with the evaluation license if your license doesn't work.
-
- Posts: 4
- Joined: Thu Aug 22, 2019 10:51 am
Re: Attaching profiler agent to Fuse-ESB-6.3.0
Hi Anton,
Means, I have to detach my agent ?
If so, how to detach agent ?
And than I have to restart the server with agentpath ?
Considering license, if it works with existing than do I really required to download a latest one ?
Regards,
Pankaj
Means, I have to detach my agent ?
If so, how to detach agent ?
And than I have to restart the server with agentpath ?
Considering license, if it works with existing than do I really required to download a latest one ?
Regards,
Pankaj
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Attaching profiler agent to Fuse-ESB-6.3.0
Hello Pankaj
Best regards,
Anton
No. There is no such thing as agent detach. The agent can be loaded either way, from start or attached to a running process.Means, I have to detach my agent ?
If so, how to detach agent ?
To apply -agentpath the server should be restarted, of course.And than I have to restart the server with agentpath ?
If the newest version works with your existing license, just use it.Considering license, if it works with existing than do I really required to download a latest one ?
Best regards,
Anton