I did, but that may be the problem.  It seems to be an issue with
Avalon/Excalibur, but I don't know enough to even get started with them.
This is another good place in C2 for some extra documentation (hint, hint
;-).

Gary A. Clark
Systems Programmer
Software Services Group
JELD-WEN Information Systems

> -----Original Message-----
> From: Lajos Moczar [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, June 12, 2001 5:35 AM
> To:   [EMAIL PROTECTED]
> Subject:      Re: [C2] pooling setup question
> 
> Anyone have ideas on this? I'm also getting this exception. I was also 
> confused about the <jdbc> tags - although this is how cocoon.xconf comes 
> out of CVS, the documentation shows <component-instance>. Do I presume 
> correctly that the documentation is out of date?
> 
> Regards,
> 
> Lajos Moczar
> Galatea IS Inc.
> 
> 
> HALLOWELL,KARL (HP-Cupertino,ex1) wrote:
> 
> > I too am receiving this error. The esql sample works without pooling,
> but I
> > get the same exception with the esql:pool mentioned below. BTW, my setup
> > uses C2 with Tomcat 4.0b5 and Oracle 8i with the thin client jdbc
> driver.
> > 
> > 
> > Karl Hallowell                 [EMAIL PROTECTED]
> > 
> > 
> >> -----Original Message-----
> >> From: Gary Clark [mailto:[EMAIL PROTECTED]]
> >> 
> >> 
> >> I'm trying to get pooling to work with esql under C2b1.  
> >> Without pools, it
> >> works fine.  IE, if I use the following.
> >> 
> >>     <esql:driver>org.postgresql.Driver</esql:driver>
> >>     <esql:dburl>jdbc:postgresql://localhost/develop</esql:dburl>
> >>     <esql:username>devtool</esql:username>
> >>     <esql:password></esql:password>
> >> 
> >> My cocoon.conf contains:
> >> 
> >>   <datasources>
> >>     <jdbc name="devtool">
> >>       <pool-controller min="5" max="10"/>
> >>       <dburl>jdbc:postgresql://localhost/develop</dburl>
> >>       <user>devtool</user>
> >>       <password></password>
> >>     </jdbc>
> >>   </datasources>
> >> 
> >> When I change it to <esql:pool>devtool</esql:pool> I the the following
> >> error:
> >> org.apache.cocoon.ProcessingException: Failed to execute
> >> pipeline.:org.apache.cocoon.ProcessingException: Failed to execute
> >> pipeline.:org.apache.cocoon.ProcessingException: Exception in
> >> ServerPagesGenerator.generate():java.lang.RuntimeException: 
> >> Could not get
> >> the datasource java.sql.SQLException: You cannot get a 
> >> Poolable before the
> >> pool is initialized
> >> 
> >> So, how do I get the pool to initialize?  I've tried to find 
> >> something in
> >> the examples, but I must be missing something.
> >> 
> >> Gary A. Clark
> >> Systems Programmer
> >> Software Services Group
> >> JELD-WEN Information Systems
> >> 
> >> 
> >> ---------------------------------------------------------------------
> >> Please check that your question has not already been answered in the
> >> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> >> 
> >> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> >> For additional commands, e-mail: <[EMAIL PROTECTED]>
> >> 
> > 
> > ---------------------------------------------------------------------
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> > 
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to