0 Replies Latest reply on Jan 16, 2009 7:40 AM by MLopez74

    MySQL connection problem

    MLopez74
      Hi!
      We have a web application in which we have a part developed in Flex. We use mySQL like database and we configurate a datasource in the flex-tomcat server but we obtain an error when we try to use a connection of the pool. We made the configuration like it is made in Tomcat 6 but doesn`t work. Can anyone help us with this problem? Actually, the error we obtain is:

      org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure

      We use context.xml, server.xml and web.xml of our aplication to make the configuration to database access with a datasource.

      Any help will be apreciated. Thank you very much.