Does anyone know why my mysql connection pool config in the
cocoon.xconf file isn't working?? I'm rather new with cocoon.
Everything works if I set the connection in my xsp file, but if I just
make a connection pool call in xsp with <esql:pool>abc</esql:pool> I
get a datasource exception at java.lang.Thread.run(Thread.java:536)
java.lang.RuntimeException: Could not get the datasource
org.apache.avalon.framework.component.ComponentException: datasources:
ComponentSelector could not find the component for hint [abc]. Below
is what I set in cocoon.xconf file that don't do anything
<datasources>
<jdbc name="abc" logger="core.datasources.abc">
<pool-controller min="5" max="10"/>
<auto-commit>false</auto-commit>
<dburl>jdbc:mysql://128.101.207.158/abc</dburl>
<user>Bigcorp</user>
<password>secret</password>
</jdbc>
<!--other connection pools go here-->
</datasources>
Any ideas would be extremely thankful cause this is driving me crazy.
Gena
Gena - 09 Feb 2004 22:08 GMT
I'd figured out my problem...thanks anyways...
> Does anyone know why my mysql connection pool config in the
> cocoon.xconf file isn't working?? I'm rather new with cocoon.
[quoted text clipped - 19 lines]
> Any ideas would be extremely thankful cause this is driving me crazy.
> Gena