Hello, I have problem to configure MySQL datasource for WebSphere Application Server 6 (WAS6) from admin console.
1.) I have configured new JDBC Provider for MySQL (4.0.20a) as following: Name: MySQL JDBC Provider Class path: ${UNIVERSAL_JDBC_DRIVER_PATH}/mysql.jar Implementation class name: com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource 2.) Then I created new 'Data sources (Version 4)' as following: Name: DS4mysql JNDI name: jndi/DS4mysql Database name: myDB Default user ID: myUser Default password: myPasswd After saving all changes I have try to test connection to the database by clicking on button 'Test connection'. Connection test passed successfull. But when I have run WAR packaged application using this configured datasource version 4, there was following error occured: com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. Root exception is javax.naming.NamingException: Attempted to use a 4.0 DataSource from a 2.3 (or higher) servlet. Invalid configuration. Maybe it means I cannot use DataSource version 4, but I have to configure just DataSource properties on the 'MySQL JDBC Provider' page under 'Additional properties' part. But I don't konow how can I configure this, because there are missing properties for defining db name, username, password, ... If anybody know, how to configure datasource (NOT Version 4) in WAS6 for MySQL database, please let mi know. Thank you in advance, with best regards, Julian Legeny -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]