I'm attempting to operate a stand-alone application, which is performed inside a application client container.

I've glassfish running and also have setup the appropriate JDBC pool and resource (pinging the bond pool shows a effective message).

Running this program with:

appclient -client book shop.jar

produces a large error stack (i have incorporated merely a small section):

Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.2.0.v20110202-r8913): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: No PasswordCredential found

It seems that PasswordCredential is leading to the issue, however think I've setup the database connections properly.

Any applying for grants what is leading to this?