AnsweredAssumed Answered

Cannot create PoolableConnectionFactory

Question asked by balasubramani on Oct 25, 2005
Latest reply on Dec 9, 2005 by roberth1962
hai friends ,
       i have installed jdk 1.5 , Mysql 4.1.10  and tried to start the tomcat server . i am getting the following exception ,
[size=75] Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user 'alfresco'@'sella4' (using password: YES))
        at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:855)
        at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
        at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:79)
        at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:303)
        … 54 more
Caused by: java.sql.SQLException: Access denied for user 'alfresco'@'sella4' (using password: YES)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2921)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:770)
        at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3641)
        at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1175)
        at com.mysql.jdbc.Connection.createNewIO(Connection.java:2544)
        at com.mysql.jdbc.Connection.<init>(Connection.java:1474)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:264)
        at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
        at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
        at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
        at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
        … 57 more
[/size]


                   Can anyone tell me what is the problem ….?

                   Thanks in advance ..

Regards,
Bala.

Outcomes