Hi,

I am trying to create datasources in cocoon. When I use it in esql it works 
but it does not work when I used excalibur classes(I wrote my own action 
classes). It gives the following error

java.sql.SQLException: No suitable driver

In the core.log I found this error 
ResourceLimitingJdbcDataSource: Could not return Connection


here is how I am getting it.
DataSourceComponent dataSource = getDataSource("hserver");

Here is my data source definition
    <jdbc logger="core.datasources.hserver" name="hserver">
      <pool-controller min="3" max="10" />
      <auto-commit>false</auto-commit>
      <dburl>jdbc:informix-sqli://
reqs:1540:informixserver=eqs_rep;Database=eqs_prod</dburl>
      <user>informix</user>
      <password>eqsdb</password>
    </jdbc>



web.xml
    <resource-ref>
        <res-ref-name>hserver</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
    </resource-ref>


Can anyone please me solve this problem.

Thanks,
Anna.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to