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:
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.