The Red Hat Single Sign-On (RH SSO) Operator is returning a "database does not exist" error even though it exists
Issue
We have confirmed that the <DATABASE> exists, however it still returns the error below:
[org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (MSC service thread 1-6) IJ000604: Throwable while attempting to get a new connection: null: javax.resource.ResourceException: IJ031084: Unable to create connection
...
Caused by: org.postgresql.util.PSQLException: FATAL: database "<DATABASE>" does not exist
...
at org.jboss.ironjacamar.jdbcadapters@1.5.11.Final-redhat-00001//org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.createLocalManagedConnection(LocalManagedConnectionFactory.java:335)
... 46 more
Environment
- Red Hat Single Sign-On (RH SSO)
- 7.X (Operator)
- Red Hat OpenShift Container Platform (OCP)
- 4.X
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.