Cannot start YourKit in a container

Questions about YourKit Connection Broker
Locked
Lucinda
Posts: 3
Joined: Thu Aug 24, 2023 7:46 pm

Cannot start YourKit in a container

Post by Lucinda »

22.3-107 0.008: Cannot start: failed to create jar file: /tmp/yjp202208111259.jar; to set alternate location for the file, use startup option 'tmpdir=<directory>'. To learn how to specify a startup option, read https://www.yourkit.com/docs/java/help/ ... ptions.jsp

Tried supplying a different tmpdir but didn't help.
Vladimir Kondratyev
Posts: 1656
Joined: Tue Aug 10, 2004 7:52 pm

Re: Cannot start YourKit in a container

Post by Vladimir Kondratyev »

What was the problem with alternate temp directory?
Lucinda
Posts: 3
Joined: Thu Aug 24, 2023 7:46 pm

Re: Cannot start YourKit in a container

Post by Lucinda »

Same error.
Vladimir Kondratyev
Posts: 1656
Joined: Tue Aug 10, 2004 7:52 pm

Re: Cannot start YourKit in a container

Post by Vladimir Kondratyev »

You have to specify the directory where profiler agent has write access. Which profiler version are you using?
Lucinda
Posts: 3
Joined: Thu Aug 24, 2023 7:46 pm

Re: Cannot start YourKit in a container

Post by Lucinda »

We found what the problem was. The container file system was made read-only, so we had to change that for yourkit init container.
Vladimir Kondratyev
Posts: 1656
Joined: Tue Aug 10, 2004 7:52 pm

Re: Cannot start YourKit in a container

Post by Vladimir Kondratyev »

It's great that the issue is resolved.

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