cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject no data via connection pool
Date Mon, 08 Jul 2002 14:07:02 GMT
Hi folks

I got a problem with the connection from Tomcat 4.0 - Cocoon 2.0.2 to 
Oracle DB 8.1.7. I try to get data via a connection pool. I configered  it 
as followed:

                <jdbc logger="core.datasources.personnel" name="personnel" oradb="true">

                        <pool-controller min="5" max="10"/>

There is no problem when I make a direct connection within the xsp with 
the following set up:

Instead when I try the get data via connection pool it stucks. 
When I startup Tomcat I can see a connection to the DB is made. But when I 
try to request the site by the connection tag <esql:pool>personnel</esql:pool>
to get data from DB I got the following error: 

An error occurred
The org.apache.cocoon.www.sitemap_xmap notifies that 
org.apache.cocoon.ProcessingException says:

Exception in ServerPagesGenerator.generate() 

More precisely:

org.apache.cocoon.ProcessingException: Exception in 
ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not get 
the datasource 
org.apache.avalon.excalibur.datasource.NoValidConnectionException: No 
valid JdbcConnection class available 

Does anybody help me?


Herbert Meier
Schindler Aufzüge AG
CH-6031 Ebikon/Luzern

Phone: ++41 41 4454932
Fax: ++41 41 4454944
View raw message