Showing posts with label glassfish. Show all posts
Showing posts with label glassfish. Show all posts

10/12/2013

Glassfish setup issues

Default password for admin:
There is no password required for admin. Just enter empty password.

Enable secure admin console (require admin to have password):
asadmin --host [host] --port [port] enable-secure-admin
 

9/30/2013

Glassfish Problems

Problem
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.