Hi Perihan, On 4/19/07, peri <[EMAIL PROTECTED]> wrote:
Hi, I'm a new user on tomcat. I'm using tomcat on my local machine for some application. I use tomcat version 4.1 MySql version 4.1.22 as database and eclipse 3.2 as ide. while I start tomcat on eclipse I got this error messsage: INFO: Initializing, config='ApplicationResources', returnNull=true 19-Apr-2007 23:00:16 org.apache.struts.action.ActionServlet initModuleDataSources
The overall error indicates that the application is configured to use connection pooling. This document http://tomcat.apache.org/tomcat-4.1-doc/jndi-datasource-examples-howto.html will help you understand the various connection pooling related parameters for your version of Tomcat.
SEVERE: Initializing application data source musiccollecton org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user 'theDatabaseUserN'@'localhost' (using password: YES))
According to the above error, it appears that the JDBC connection string is incorrect. Use Google and find out the correct syntax for JDBC connection string for your version of MySQL and check to see if the user name and password are correct. Also, try to connect to the database independent of Connection Pooling, that is with DriverManager and see if you get a connection, that will help you in verifying the connection string is correct.
Could anyone help me to solve this exception. Before installing MySQL I didn't get this error messge. Thank you very much Perihan
-Rashmi --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]