1

Does jprofiler work on alpine linux?

/bin/jpenable returns:

ERROR: The agent could not be loaded: Failed to load agent library

Thank you

Newd
  • 2,174
  • 2
  • 17
  • 31
user2187935
  • 751
  • 2
  • 8
  • 19
  • You could run `ldd bin\linux-x64\libjprofilerti.so` to check which dependencies are missing. – Ingo Kegel Jan 19 '17 at 09:49
  • How have you installed jprofiler? – Jakub Jirutka Jan 19 '17 at 16:08
  • @Ingo Kegel I'll give this one a try. Thank you. – user2187935 Jan 19 '17 at 17:12
  • @Jakub Jirutka running this from the inside of the docker container, by adding jprofiler9 to /usr/local/, from this [post](https://hub.docker.com/r/gingerbeard/java8-jprofiler/~/dockerfile/). Then, running /jpenable -> option 1 -> port 8849 = ERROR: The agent could not be loaded: Failed to load agent library. – user2187935 Jan 19 '17 at 17:16

1 Answers1

0

Yes. This is an old question, but I'll confirm that I was able to get Jprofiler connected to an alpine 3.5 container. Detailed instructions for building the baseimage are in my other post:

UnsatisfiedLinkError when running jpenable in alpine / Jprofile 10

Bjorn Loftis
  • 156
  • 10