cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian P Millett <...@ec-group.com>
Subject Re: Problem with ESQL logicsheet and connection pool
Date Wed, 17 Jan 2001 16:24:56 GMT
Werner Guttmann wrote:

> Error found handling the
> request.
>
>       java.lang.Exception: XSP Java Compiler: Compilation failed for
> _esql_test_pool.java
>       132: Undefined variable or class name: _esql_pool
>                 _esql_connection.db_connection =
> _esql_pool.getConnection(String.valueOf(
>                                                  ^
>       345: Undefined variable or class name: _esql_pool
>
> _esql_pool.releaseConnection(_esql_connection.db_connection);
>                   ^
>       2 errors

add this line:
static PoolBrokerService _esql_pool = PoolBrokerService.getInstance();
at line 204,  right before the "class EsqlConnection {" definition in the esql.xsl file.

--
Brian Millett
Enterprise Consulting Group   "Shifts in paradigms
(314) 205-9030               often cause nose bleeds."
bpm@ec-group.com                           Greg Glenn




Mime
View raw message