cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: [c2] problem with database actions
Date Wed, 18 Apr 2001 12:32:37 GMT
Donald Ball wrote:
> 
> hey, i think i found a bug in the database actions and/or the datasource
> stuff. i'm using the same pool for some esql stuff and for an action. when
> i access an esql page, i get this in cocoon.log:
> 
> DEBUG   14062   [cocoon  ] (HttpProcessor[8080][2]): JdbcConnection
> 'jdbc:solid://xxx/xxx/xxx' has been
> requested from pool.
> 
> but when i hit my action, i get this:
> 
> DEBUG   16908   [cocoon  ] (HttpProcessor[8080][4]): JdbcConnection
> 'jdbc:solid://xxx/xxx/xxx' has been
> requested from pool.
> WARN    16909   [cocoon  ] (HttpProcessor[8080][4]): Error, try to process
> the error page
> java.lang.IllegalStateException: You cannot return an object to an
> uninitialized pool
>         at
> org.apache.excalibur.datasource.JdbcConnectionPool.put(JdbcConnectionPool.java:173)
>         at
> org.apache.excalibur.datasource.JdbcConnection.close(JdbcConnection.java:98)
>         at
> org.apache.cocoon.acting.DatabaseAddAction.act(DatabaseAddAction.java:118)
> 
> what's up with that?

Somehow, the ComponentSelector was not initialized, or the code got broken
the last time somebody made changes.  I will look into that.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message