Glassfish requires posgres jdbc driver to connect posgresql.
Errors:
Message ID: test.connection.pool.failed
Complete Message RAR8054: Exception while creating an unpooled [test] connection for pool [ Mp3Core ], Class name is wrong or classpath is not set for : org.postgresql.ds.PGSimpleDataSource.
Solution:
Copied these files:
postgresql-9.2-1003.jdbc3.jar
postgresql-9.2-1003.jdbc4.jar
into GlassFish_Server_rootdir/glassfish/domains/domain1/lib
.
No comments:
Post a Comment