weblogic-monitoring-exporter
weblogic-monitoring-exporter copied to clipboard
Command line parameters for sidecar
How I can use parameters for sidecar jar,
such as EXPORTER_PORT or WLS_PORT ?
I tried to apply:
java -jar ./target/wls-exporter-sidecar.jar EXPORTER_PORT=8081
java -jar ./target/wls-exporter-sidecar.jar -DEXPORTER_PORT=8081
java -jar ./target/wls-exporter-sidecar.jar EXPORTER_PORT='8081'
java -jar ./target/wls-exporter-sidecar.jar EXPORTER_PORT 8081
java -jar ./target/wls-exporter-sidecar.jar EXPORTER_PORT "8081"
It didn't work. How to correctly pass parameters ?
I would use
java -DEXPORTER_PORT=8081 -jar ./target/wls-exporter-sidecar.jar
but can you tell me about your environment? The sidecar is generally intended for use with the Weblogic Kubernetes Operator, which can configure it automatically. What are you trying to do?
There has been no activity