cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject [c2] problem with database actions
Date Tue, 17 Apr 2001 21:32:24 GMT
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


Mime
View raw message