Open monwolf opened 4 years ago
Hello, apologies for the delay. I tested a sample by running it in my local wlp and it worked fine. Although I couldn't test in the docker. Could you please try running the application in the local wlp and see whether you see the same error?
Good Morning,
I'm trying to migrate from the classical approach "java -jar myApp.jar" to use openliberty as an application server getting the benefits of the lib cache.
I haven't been able to start the application because some of the steps such as download the config from consul at start time are not happening.
We a re using sping.cloud.consul and spring.cloud.vault to get the properties and the secrets of the app:
https://cloud.spring.io/spring-cloud-consul/reference/html/ https://cloud.spring.io/spring-cloud-vault/reference/html/
We are trying to follow the petclinic example found in your github:
https://github.com/OpenLiberty/ci.docker/blob/master/samples/spring-petclinic/Dockerfile
But after following the steps. We can't see any request to consul in the startup log. only Vault is running (I set logging.level.org.springframework.web=DEBUG):
The property timezone is declared in a yaml in consul KV file.
We are running this app with the following env vars:
We tried to enable in the bootstrap properties consul but the same error ocurred. If I set the wrong path for the keystore or a wrong password for consul configuration I can see an exception saying the keystore isn't valid.
This is our server.xml:
And the image used is "openliberty/open-liberty:kernel-java11-openj9-ubi"
Could you help me with this?