You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Donald Ball <ba...@webslingerZ.com> on 2001/04/17 23:32:24 UTC
[c2] problem with database actions
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?
- donald
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: [c2] problem with database actions
Posted by Berin Loritsch <bl...@apache.org>.
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