weblogic-monitoring-exporter icon indicating copy to clipboard operation
weblogic-monitoring-exporter copied to clipboard

Command line parameters for sidecar

Open dargow opened this issue 3 years ago • 1 comments

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 ?

dargow avatar Mar 18 '22 10:03 dargow

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?

russgold avatar Mar 18 '22 13:03 russgold

There has been no activity

mriccell avatar Sep 15 '22 20:09 mriccell