cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From java guru <javacoc...@yahoo.co.in>
Subject Re: [C2] - trying out Simple SQL
Date Tue, 03 Jul 2001 23:28:15 GMT
Hi.,
  The poolable error i got in the instances where the
connection pool couldnt be created for any reason..so


1. You could specify jdbc driver properties in
database.properties and then go ahead with build
process. That way the correct jdbc properties would be
propagated to different parts of the build. You dont
need to change any other files(like web.xml etc)...

2. Make sure the jdbc driver you are using is
accessable to cocoon..I mean the jar file of the
driver is included in the c2 classpath.

Everything should work fine now...

Again poolable error is 'coz the c2 couldnt create the
connection pool for some reason

good luck

 --- Colin Paul Adams <colin@colina.demon.co.uk>
wrote: > I've just got Cocoon 2 up and running
successfully
> on Linux (2.4.3 with
> Sun JDK 1.3.1, Apache 1.3.19 and Tomcat 3.2.2).
> 
> I'd like to get JDBC access going with Postgresql
> 7.0.3. Can anyone
> tell me what I need to do?
> I've tried editing web.xml to specify
> postgresql.Driver, and I also
> edited both database.properties and web.xml in order
> to try to set the
> connection parameters. But when I try the Simple SQL
> option on the
> welcome menu (I've created the table defined in
> sql-page.xml.sql) I
> get:
> 
> org.apache.cocoon.ProcessingException: Failed to
> execute pipeline.:java.sql.SQLException: You cannot
> get a Poolable before the pool is initialized
> 
> 
> -- 
> Colin Paul Adams
> Preston Lancashire
> 
>
---------------------------------------------------------------------
> 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:
> <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:
> <cocoon-users-help@xml.apache.org>
>  

____________________________________________________________
Do You Yahoo!?
For regular News updates go to http://in.news.yahoo.com

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message