wood burning stoves 2.0*
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
Author

admin console connection pool ping fails

David Libke
Greenhorn

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,

Dave
Michael A Hoffman
Ranch Hand

Joined: Mar 04, 2009
Posts: 36

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
 
Similar Threads
Connect ECLIPSE WITH SQL Server 2008
eclipse with sql server 2005
Connecting jsp with derby
Tutorial PostgreSQL 8.3 on Glassfish V2.1 for ConnectionPool in Netbeans 6.5.1, WindowsXP (Post 3)
JDBC / RedHat 9/ PostgreSQL