Closed gkwan-ibm closed 8 months ago
workaround: press r
in the dev mode console to force restarting the Liberty instance
I just verified changes to server.xml are picked up by dev mode in version 3.10.1 using another getting started guide.
@gkwan-ibm - Not sure if you are saying that the install feature (of the new mp telemetry feature) seems to be happening but it's still not working vs. the feature isn't getting installed at all.
It'd probably help to run with mvn -X
logging. Just be sure to redirect it somewhere outside of the original filesystem (e.g. up a level like mvn liberty:-dev -X > ../trace.log
so dev mode doesn't react to the log file updates.
close
LMP 3.10 and 3.10.1 do not pickup the change from server.xml. Tried on Mac. LMP 3.9 has no problem.
Steps to reproduce the problem.
git clone https://github.com/openliberty/guide-microprofile-telemetry-jaeger.git
cd guide-microprofile-telemetry-jaeger/start/system
mvn liberty:dev
cd guide-microprofile-telemetry-jaeger/start
replace
system/src/main/liberty/config/server.xml
by the following. It only added<feature>mpTelemetry-1.1</feature>
otel.service.name=system otel.sdk.disabled=false