java.lang.RuntimeException: Unable to read database password

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via ambari-user by 624238814, 1 year ago
Unable to read database password
via ambari-user by 624238814, 1 year ago
Unable to read database password
via ambari-user by 624238814, 1 year ago
Unable to read database password
via incubator-ambari-user by 624238814, 1 year ago
Unable to read database password
via incubator-ambari-user by 624238814, 1 year ago
Unable to read database password
via apache.org by Unknown author, 2 years ago
Unable to read database password
java.lang.RuntimeException: Unable to read database password
at org.apache.commons.io.FileUtils.openInputStream(FileUtils.java:265)
at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:1457)
at org.apache.ambari.server.configuration.Configuration.readPasswordFromFile(Configuration.java:636)
at org.apache.ambari.server.configuration.Configuration.getDatabasePassword(Configuration.java:603)
at org.apache.ambari.server.controller.ControllerModule.buildJpaPersistModule(ControllerModule.java:132)
at org.apache.ambari.server.controller.ControllerModule.configure(ControllerModule.java:75)
at com.google.inject.AbstractModule.configure(AbstractModule.java:59)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
at com.google.inject.spi.Elements.getElements(Elements.java:101)
at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:133)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:103)
at com.google.inject.Guice.createInjector(Guice.java:95)
at com.google.inject.Guice.createInjector(Guice.java:72)
at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:443)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.