ks-frederic-marchand opened a new issue, #939: URL: https://github.com/apache/polaris/issues/939
### Describe the bug
I'm having the following properties file:
```
polaris.persistence.type=eclipse-link
polaris.persistence.eclipselink.configuration-file=/app/config/persistence.xml
polaris.persistence.eclipselink.persistence-unit=polaris
```
It seems that `polaris.persistence.eclipselink.configuration-file` and
`polaris.persistence.eclipselink.persistence-unit` are not recognized.
```
Exception in thread "main" java.lang.ExceptionInInitializerError
at io.quarkus.runner.ApplicationImpl.<clinit>(Unknown Source)
at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native
Method)
at
java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1160)
at
java.base/jdk.internal.reflect.MethodHandleAccessorFactory.ensureClassInitialized(MethodHandleAccessorFactory.java:300)
at
java.base/jdk.internal.reflect.MethodHandleAccessorFactory.newConstructorAccessor(MethodHandleAccessorFactory.java:103)
at
java.base/jdk.internal.reflect.ReflectionFactory.newConstructorAccessor(ReflectionFactory.java:200)
at
java.base/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:549)
at
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:70)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:44)
at io.quarkus.runner.GeneratedMain.main(Unknown Source)
Caused by: io.smallrye.config.ConfigValidationException: Configuration
validation failed:
SRCFG00050: polaris.persistence.eclipselink.configuration-file in
PropertiesConfigSource[source=file:/app/config/application.properties]:10 does
not map to any root
SRCFG00050: polaris.persistence.eclipselink.persistence-unit in
PropertiesConfigSource[source=file:/app/config/application.properties]:11 does
not map to any root
at
io.smallrye.config.SmallRyeConfig.buildMappings(SmallRyeConfig.java:139)
at io.smallrye.config.SmallRyeConfig.<init>(SmallRyeConfig.java:93)
at
io.smallrye.config.SmallRyeConfigBuilder.build(SmallRyeConfigBuilder.java:767)
at io.quarkus.runtime.generated.Config.<clinit>(Unknown Source)
```
### To Reproduce
_No response_
### Actual Behavior
_No response_
### Expected Behavior
_No response_
### Additional context
_No response_
### System information
OS: Alpine, Docker
Polaris: latest
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
