Search code examples
javaagentsopen-liberty

How can I run Open Liberty without enabling the javaagent: wlp/bin/tools/ws-javaagent.jar?


While using OpenLiberty docker image I found that by default ws-javaagent.jar enabled on server. Is their any way skip this ?


Solution

  • You can disable simply by setting environment variable: WLP_SKIP_BOOTSTRAP_AGENT=true

    As noted in the Open Liberty doc this will prevent you from using certain trace and monitoring capabilities.