Hello,
i start my Java application and it is listed in local applications with orange circle.
I click it and yourkit says "profiler agent has attached to the process".
But my application stays with orange circle and clicking it again - yourkit says:
"this process has been started without the profiler agent... attach failed: profiler is already loaded"
Why is yourkit trying to attach agent again?
Thank you for help
profiler is already loaded
-
- Posts: 1659
- Joined: Tue Aug 10, 2004 7:52 pm
Re: profiler is already loaded
We've identified two potential causes for the issue you're experiencing:
1) The profiler agent is operating in a connection broker mode.
2) There might be a version mismatch between the profiler agent and the UI.
To assist you further, could you please confirm the exact versions of the profiler agent and the UI currently in use?
Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
1) The profiler agent is operating in a connection broker mode.
2) There might be a version mismatch between the profiler agent and the UI.
To assist you further, could you please confirm the exact versions of the profiler agent and the UI currently in use?
Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
-
- Posts: 3
- Joined: Mon Jan 08, 2024 4:51 pm
Re: profiler is already loaded
Hello,
i do not have connection broker.
I think, there is no version mismatch. I did not used manual setup of agent. I just clicked in the UI local java aplication which is runnig without agent and ui asked to attach agent to it. Agent was succesfuly attached (dialog in the UI says it). But the application stays with orange circle and clicking it again shows the dialog saying it is started without agent and also that attaching failed because profiler already loaded.
I have noticed, that supported Windows OS is only the Server version. Is it that I can not profile application running on my Windows 11 Pro?
i do not have connection broker.
I think, there is no version mismatch. I did not used manual setup of agent. I just clicked in the UI local java aplication which is runnig without agent and ui asked to attach agent to it. Agent was succesfuly attached (dialog in the UI says it). But the application stays with orange circle and clicking it again shows the dialog saying it is started without agent and also that attaching failed because profiler already loaded.
I have noticed, that supported Windows OS is only the Server version. Is it that I can not profile application running on my Windows 11 Pro?
-
- Posts: 1659
- Joined: Tue Aug 10, 2004 7:52 pm
Re: profiler is already loaded
Windows 11 Pro should not be an issue. Please send to support@yourkit.com the following details:I have noticed, that supported Windows OS is only the Server version. Is it that I can not profile application running on my Windows 11 Pro?
1) Exact profiler version are you using (including the build number)
2) Output for "java -version" for the Java which you are using to run your app.
3) Do the following:
* Close profiler and close the app to which you are trying to attach.
* Delete all the files from %USER_HOME%/.yjp/log directoty.
* Start profiler, start your app.
* Try to attach.
* Send _all_ the files from %USER_HOME%/.yjp/log directory.
Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
-
- Posts: 3
- Joined: Mon Jan 08, 2024 4:51 pm
Re: profiler is already loaded
I have deleted everything from %USER_HOME%/.yjp, started my java application (web app on Tomcat), started Yourkit and now it is working. Yourkit successfuly connected to my application and I can now use this great tool.
Thank you for your assitance.
Thank you for your assitance.