You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Juha Muilu <ju...@helsinki.fi> on 2004/08/30 16:01:22 UTC
datasource connection hangs in flowscript
Hello All
I am trying to use the jdbc-connection in my flowscript but time to time
the connection simply hangs. Is there something specific in using the
connection pools? I am releasing and closing the connections in
scripts after execution (or exception).
Example of getting the connection.
var selector =
cocoon.getComponent(Packages.org.apache.avalon.excalibur.datasource.DataSourceComponent.ROLE
+ "Selector");
var ds = selector.select("mydb");
var conn= ds.getConnection();
Best Regrads, Juha
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org