Could you try to access the app after doing a ping on the connection pool?
Thanks,
Shalini.
Manfred Riem wrote:
> Try property name: User with value: your username and
> property name: Password with value: your password.
>
> Note the case!
>
> Manfred
>
> -----Original Message-----
> From: glassfish_at_javadesktop.org [mailto:glassfish_at_javadesktop.org]
> Sent: Tuesday, August 12, 2008 7:12 PM
> To: users_at_glassfish.dev.java.net
> Subject: MySQL Connection pool in Glassfish V2
>
> I can connect to the DB in all manner except when in a Connection Pool backed JNDI JDBC resource.
>
> Here is the Connection Pool in the domain.xml
>
> <jdbc-connection-pool allow-non-component-callers="false" associate-with-thread="false" connection-creation-retry-attempts="0" connection-creation-retry-interval-in-seconds="10" connection-leak-reclaim="false" connection-leak-timeout-in-seconds="0" connection-validation-method="auto-commit" datasource-classname="com.mysql.jdbc.jdbc2.optional.MysqlDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="false" lazy-connection-association="false" lazy-connection-enlistment="false" match-connections="false" max-connection-usage-count="0" max-pool-size="32" max-wait-time-in-millis="60000" name="proxibid-mysql" non-transactional-connections="false" pool-resize-quantity="2" res-type="javax.sql.ConnectionPoolDataSource" statement-timeout-in-seconds="-1" steady-pool-size="8" validate-atmost-once-period-in-seconds="0" wrap-jdbc-objects="false">
> <property name="URL" value="jdbc:mysql://:3306/databasename"/>
> <property name="user" value="user"/>
> <property name="password" value="password"/>
> </jdbc-connection-pool>
> When a Toplink session attempts to connect the following error is recorded:
>
> RAR5114 : Error allocating connection : [Error in allocating a connection. Cause: No PasswordCredential found]
>
> I am wracking my brain on this. I have tried ever possible combination to no avail.
>
> Help!!
> [Message sent by forum member 'slepage01' (slepage01)]
>
> http://forums.java.net/jive/thread.jspa?messageID=292929
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>