You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Andrew C. Oliver" <ac...@apache.org> on 2002/09/01 19:52:03 UTC

All database using samples broken in the HEAD.

Every single sample using HSQL datasources are all broken.  I tried
upping the connections to 5 but that didn't work either.  Anyone been
playing in the datasource area lately?

Thanks,

Andy

(example stack trace below, but EVERY sample using SQL will give you
one)

==> webapps/cocoon/WEB-INF/logs/core.log <==
WARN    (2002-09-01) 13:49.08:816   [core.datasources.personnel]
(/cocoon/samples/sql/sql-page)
HttpProcessor[8080][4]/ResourceLimitingJdbcDataSource: Could not return
Connection
org.apache.avalon.excalibur.datasource.NoValidConnectionException: No
valid JdbcConnection class available
	at
org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.newInstance(JdbcConnectionFactory.java:185)
	at
org.apache.avalon.excalibur.pool.ResourceLimitingPool.newPoolable(ResourceLimitingPool.java:629)
	at
org.apache.avalon.excalibur.pool.ValidatedResourceLimitingPool.newPoolable(ValidatedResourceLimitingPool.java:136)
	at
org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcConnectionPool.newPoolable(ResourceLimitingJdbcConnectionPool.java:79)
	at
org.apache.avalon.excalibur.pool.ResourceLimitingPool.get(ResourceLimitingPool.java:359)
	at
org.apache.avalon.excalibur.pool.ValidatedResourceLimitingPool.get(ValidatedResourceLimitingPool.java:88)
	at
org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource.getConnection(ResourceLimitingJdbcDataSource.java:174)
	at
org.apache.cocoon.transformation.SQLTransformer$Query.getConnection(SQLTransformer.java:1017)
	at
org.apache.cocoon.transformation.SQLTransformer$Query.execute(SQLTransformer.java:1089)
	at
org.apache.cocoon.transformation.SQLTransformer.executeQuery(SQLTransformer.java:305)



-- 
http://www.superlinksoftware.com - software solutions for business
http://jakarta.apache.org/poi - Excel/Word/OLE 2 Compound Document in
Java                            
http://krysalis.sourceforge.net/centipede - the best build/project
structure
		    a guy/gal could have! - Make Ant simple on complex Projects!
The avalanche has already started. It is too late for the pebbles to
vote.
-Ambassador Kosh


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


Re: All database using samples broken in the HEAD.

Posted by Vadim Gritsenko <va...@verizon.net>.
Andrew C. Oliver wrote:

>Every single sample using HSQL datasources are all broken.  I tried
>upping the connections to 5 but that didn't work either.  Anyone been
>playing in the datasource area lately?
>

See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11400
I guess if you attach the patch it will be closed faster...

Vadim



>Thanks,
>
>Andy
>
>(example stack trace below, but EVERY sample using SQL will give you
>one)
>
>==> webapps/cocoon/WEB-INF/logs/core.log <==
>WARN    (2002-09-01) 13:49.08:816   [core.datasources.personnel]
>(/cocoon/samples/sql/sql-page)
>HttpProcessor[8080][4]/ResourceLimitingJdbcDataSource: Could not return
>Connection
>org.apache.avalon.excalibur.datasource.NoValidConnectionException: No
>valid JdbcConnection class available
>	at
>org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.newInstance(JdbcConnectionFactory.java:185)
>	at
>org.apache.avalon.excalibur.pool.ResourceLimitingPool.newPoolable(ResourceLimitingPool.java:629)
>	at
>org.apache.avalon.excalibur.pool.ValidatedResourceLimitingPool.newPoolable(ValidatedResourceLimitingPool.java:136)
>	at
>org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcConnectionPool.newPoolable(ResourceLimitingJdbcConnectionPool.java:79)
>	at
>org.apache.avalon.excalibur.pool.ResourceLimitingPool.get(ResourceLimitingPool.java:359)
>	at
>org.apache.avalon.excalibur.pool.ValidatedResourceLimitingPool.get(ValidatedResourceLimitingPool.java:88)
>	at
>org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource.getConnection(ResourceLimitingJdbcDataSource.java:174)
>	at
>org.apache.cocoon.transformation.SQLTransformer$Query.getConnection(SQLTransformer.java:1017)
>	at
>org.apache.cocoon.transformation.SQLTransformer$Query.execute(SQLTransformer.java:1089)
>	at
>org.apache.cocoon.transformation.SQLTransformer.executeQuery(SQLTransformer.java:305)
>




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