Author Topic: GlassFish is not able to create connection to the DB!!  (Read 461 times)

jasonjacob

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
GlassFish is not able to create connection to the DB!!
« on: May 07, 2019, 08:13:48 AM »
Both DBServer and AppServer for /opt/SPECjAppServer2004/schema/postgresql/pg_hba.conf show:
# "local" is for Unix domain socket connections only
local   all         all                               trust
# IPv4 local connections:
host    all         all         127.0.0.1/32          trustAkinatorhttps://xender.vip/ https://testmyspeed.onl/

host    all         all         appserver1/24         trust
host    all         all         appserver2/24         trust
host    all         all         appserver3/24         trust
host    all         all         appserver4/24         trust
host    all         all         client1/24            trust
# IPv6 local connections:
host    all         all         ::1/128               trust

Do these default values need to be changed?

Thanks,
« Last Edit: May 07, 2019, 03:51:37 PM by jasonjacob »

lroderic

  • Moderator
  • Full Member
  • *****
  • Posts: 152
  • Karma: +6/-0
Re: GlassFish is not able to create connection to the DB!!
« Reply #1 on: May 07, 2019, 12:53:05 PM »
Did you use the example VM scripts referenced in https://www.spec.org/forums/index.php?topic=15.0 ? If you did, the script updates this file, so you don't need to make any changes.