cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juha Muilu <juha.mu...@helsinki.fi>
Subject datasource connection hangs in flowscript
Date Mon, 30 Aug 2004 14:01:22 GMT
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


Mime
View raw message