I'm new to YourKit and I tried to add profiler to my java application (I running my application inside docker container) following this guide https://www.yourkit.com/docs/java/help/docker.jsp . As far as I see everything goes well, no errors in logs and I can open url on port chosen for profiler , also there is a found application in UI (CPU load changes from 0 to some value)
But when I connect to this profiler I see no recorded data, and a message
Please can you help me with this problem?Local application "PropertiesLauncher" at port localhost:10011 has terminated or connection is lost
I added profiler by this java parameter
Code: Select all
-agentpath:/usr/local/YourKit-JavaProfiler-2019.8/bin/linux-x86-64/libyjpagent.so=port=10011,listen=all
Code: Select all
RUN wget https://www.yourkit.com/download/docker/YourKit-JavaProfiler-2019.8-docker.zip -P /tmp/ \
&& unzip /tmp/YourKit-JavaProfiler-2019.8-docker.zip -d /usr/local \
&& rm /tmp/YourKit-JavaProfiler-2019.8-docker.zip