JBoss から Postgres に接続すると "There is no record on pg_hba.conf" エラーが発生します
Issue
Postgres データベースに接続すると以下のエラーが表示されます。
org.postgresql.util.PSQLException:FATAL: there is no record on pg_hba.conf for 172.26.112.26, user MYUSER, database MYDATABASE, SSL inactive
at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:276)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:95)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:124)
at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:30)
at org.postgresql.jdbc3.Jdbc3Connection.(Jdbc3Connection.java:24)
...
Environment
- Postgres 8.x
- JBoss Operational Network (JON)
- 2.3
- 2.4
- 3.0
- 3.1.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.