Hi All

I have a problem in Lenya MySql database connection. I am using Lenya2.0 Firedocs. Apparently I have done the following things :

1. I downloaded "mysql-connector-java-3.1.14" and I put the copy of the driver jar in the Lenya/web-inf/lib*// *directory.

2. Then I set the /init-param/ in web.xml as follows :

<init-param>
  <param-name>load-class</param-name>
  <param-value>com.mysql.jdbc.Driver</param-value>
<init-param>

3. Next , I set the datasource in cocoon.xconf as follows :

But it is still giving some problems. I debugged it and here is what the error it is raising:

"Failed to obtain connection from datasource 'prabhjot'. Made 5 attempts with 5000ms interval"

Please suggest me how I can fix the same.

Thanks

Reply via email to