wood burning stoves
The moose likes Glassfish and the fly likes admin console connection pool ping fails Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Glassfish
Bookmark "admin console connection pool ping fails" Watch "admin console connection pool ping fails" New topic

admin console connection pool ping fails

David Libke

Joined: Apr 10, 2010
Posts: 1
With this error: Ping Connection Pool failed for postgreSQLPool. Connection could not be allocated because: FATAL: database "/localhost:5432/mydatabase" does not exist

Pool configuration is as follows:
Pool Name: postgreSQLPool
Resource Type: javax.sql.ConnectionPoolDataSource
Datasource Classname: org.postgresql.ds.PGConnectionPoolDataSource
portNumber: 5432
databaseName: myDatabase
datasourceName: myDatabaseDS
roleName: myRole
networkProtocol: jdbc:postgresql:
serverName: //localhost
user: myUser
password: myPassword

The postgresql server is running because I can connect to the database using the same connection values as above.

postgresql-9.3-1100.jdbc4.jar is in $glasfish_home/domains/domain1/lib directory

Any help would be appreciated,

Michael A Hoffman
Ranch Hand

Joined: Mar 04, 2009
Posts: 37

Remove the double slash before server name. Also, remove the additional colon after network protocol.
I agree. Here's the link: http://aspose.com/file-tools
subject: admin console connection pool ping fails
It's not a secret anymore!