File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Storm Applied this week in the Other Open Source APIs forum!
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:
subject: admin console connection pool ping fails