cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@dvs1.informatik.tu-darmstadt.de>
Subject Re: SQLTransformer good, ESQL bad
Date Sun, 18 Aug 2002 17:38:53 GMT
On 18.Aug.2002 -- 07:19 PM, Jan Willem Penterman wrote:
> > Could you please try to find if your logs contain something 
> > like "could not acquire a Connection -- waiting" and set the 
> > parameter <connect-attempts>1</connect-attempts> in the 
> > declaration of the transformer in sitemap.xmap?
> 
> No only the 'no suitable driver' error when calling the esql page..
> And SQLTransformer works just fine with 1 connection attempt.

This is _really_ strange. The real stuff is handled by Avalon Excalibur
for both approaches. There should not be any difference. As I don't have
MySQL here, I cannot test. And there *are* users on this list who use
this combination. So it appears to be related to your particular 
setup. But... (goto begin of loop)
 
> Is the way I call the esql sheet any good? :
> 
> ..
> <map:generator label="content,data"
> logger="sitemap.generator.serverpages" name="serverpages" pool-grow="2"
> pool-max="32" pool-min="4"
> src="org.apache.cocoon.generation.ServerPagesGenerator"/>

Um, I don't know. Looks good, but I seem to remember that pool
parameters don't work with server pages. But *I* don't *know*.
If removing the pool-* attributes changes anything, it would be
nice to know.

	Chris.
-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

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

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message