cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Kliemt <ckliemt...@gmx.net>
Subject [c2] jdbc connection problem
Date Tue, 28 Aug 2001 10:11:02 GMT
Hi!

 I still have problems connecting a postgres database.
 ("Could not get the datasource java.sql.SQLException: You cannot get
 a Poolable before the pool is initialized") 

 Driver is loaded ok; database is connectable (tested with a small
 java-program without the use of cocoon), config should be ok... i
 hope...

 So i hacked the java-file (esql_xsp.java) and compiled it behind
 cocoons back:

 (line 319)
 
 System.out.println("DataSourceComponent : " 
        + _esql_connection.datasource.toString() );
 _esql_connection.connection =
  _esql_connection.datasource.getConnection();

 This tells me:
 DataSourceComponent :
 org.apache.avalon.excalibur.datasource.JdbcDataSource@2f0d54 

 Hmpf.. not that much information. Any hints?
 Is there another way to get more information?

 \\// christoph

 btw : is the cvs-server down?

---------------------------------------------------------------------
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