According to the documentation, zero config setup for Apache derby should work. But if it is used, there is an error preventing db to start:
java.util.MissingResourceException: Can't find bundle for base name org.apache.derby.loc.drda.messages, locale en
at java.base/java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:2055)
at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1689)
at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1593)
at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1556)
at java.base/java.util.ResourceBundle.getBundle(ResourceBundle.java:932)
at org.apache.derby.iapi.tools.i18n.LocalizedResource.setResource(Unknown Source)
Expected behavior
Derby dev service should start.
Actual behavior
No response
How to Reproduce?
Issue could be reproduced with quarkus-quickstart spring-data-jpa-quickstart
Modify https://github.com/quarkusio/quarkus-quickstarts/blob/main/spring-data-jpa-quickstart/pom.xml#L40 to 'quarkus-jdbc-derby'
From the quarkus-quickstarts/spring-data-jpa-quickstart run the test (i.e. mvn package)
Test fails with
Caused by: java.util.MissingResourceException: Can't find bundle for base name org.apache.derby.loc.drda.messages, locale en
at java.base/java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:2055)
at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1689)
at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1593)
at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1556)
at java.base/java.util.ResourceBundle.getBundle(ResourceBundle.java:932)
at org.apache.derby.iapi.tools.i18n.LocalizedResource.setResource(Unknown Source)
at org.apache.derby.iapi.tools.i18n.LocalizedResource.getTextMessage(Unknown Source)
at org.apache.derby.impl.drda.NetworkServerControlImpl.localizeMessage(Unknown Source)
at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessageWork(Unknown Source)
at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessage(Unknown Source)
at org.apache.derby.impl.drda.NetworkServerControlImpl.setUpSocket(Unknown Source)
at org.apache.derby.impl.drda.NetworkServerControlImpl.ping(Unknown Source)
at org.apache.derby.drda.NetworkServerControl.ping(Unknown Source)
at io.quarkus.devservices.derby.deployment.DerbyDevServicesProcessor$1.startDatabase(DerbyDevServicesProcessor.java:42)
Output of uname -a or ver
No response
Output of java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of mvnw --version or gradlew --version)
Describe the bug
According to the documentation, zero config setup for
Apache derby
should work. But if it is used, there is an error preventing db to start:Expected behavior
Derby dev service should start.
Actual behavior
No response
How to Reproduce?
Issue could be reproduced with quarkus-quickstart
spring-data-jpa-quickstart
https://github.com/quarkusio/quarkus-quickstarts/
https://github.com/quarkusio/quarkus-quickstarts/blob/main/spring-data-jpa-quickstart/pom.xml#L40
to 'quarkus-quickstarts/spring-data-jpa-quickstart
run the test (i.e.mvn package
)Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
Workaround
Resource could be added manually into the app. Add following dependency into the https://github.com/quarkusio/quarkus-quickstarts/blob/main/spring-data-jpa-quickstart/pom.xml
and test is successful.