cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Watson" <cwat...@taraserv.demon.co.uk>
Subject RE: cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp EsqlConnection.java
Date Thu, 28 Mar 2002 20:22:27 GMT
Torsten

Just recompiled (successfully) with the new EsqlConnection (1.6)

Same as before with http://localhost:8080/cocoon/xsp/esql though

org.apache.cocoon.ProcessingException: Exception in
ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not get
the datasource
org.apache.avalon.excalibur.datasource.NoValidConnectionException: No valid
JdbcConnection class available
at
org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenera
tor.java:272)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv
entPipeline.java:251)
at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
treamPipeline.java:399)
at
org.apache.cocoon.www.sitemap_xmap.matchN4007D4(X:\jakarta-tomcat-4.0.4b1\wo
rk\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:985
7)
at
org.apache.cocoon.www.sitemap_xmap.process(X:\jakarta-tomcat-4.0.4b1\work\lo
calhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:3675)
at
org.apache.cocoon.www.sitemap_xmap.process(X:\jakarta-tomcat-4.0.4b1\work\lo
calhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:3085)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:222)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
at org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154)
at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:998)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

I'm not sure it was infinite looping before - not sure it would have go
there
As I said before, I think excalibur has jdk1.4 problems, (as per Michael
Enke's message)
No valid JdbcConnection class available

Anything else I could try that would help you?

Christopher Watson

> -----Original Message-----
> From: Torsten Curdt [mailto:tcurdt@dff.st]
> Sent: 28 March 2002 16:18
> To: cocoon-dev@xml.apache.org
> Subject: Re: cvs commit:
> xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp
> EsqlConnection.java
>
>
>
> Can someone with JDK1.4 please crosscheck this... I don't
> have it at hand.
> Thanks, Carsten
> --
> Torsten
>
> On 28 Mar 2002 tcurdt@apache.org wrote:
> > tcurdt      02/03/28 08:14:37
> >
> >   Modified:
> src/java/org/apache/cocoon/components/language/markup/xsp
> >                         EsqlConnection.java
> >   Log:
> >   fixed a infinite loop in the JDBC3 part
> >
> >   Revision  Changes    Path
> >   1.6       +3 -3
> xml-cocoon2/src/java/org/apache/cocoon/components/language/mar
> kup/xsp/EsqlConnection.java
> >
> >   Index: EsqlConnection.java
> >
> ===================================================================
> >   RCS file:
> /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/la
> nguage/markup/xsp/EsqlConnection.java,v
> >   retrieving revision 1.5
> >   retrieving revision 1.6
> >   diff -u -r1.5 -r1.6
> >   --- EsqlConnection.java	22 Feb 2002 07:00:08 -0000	1.5
> >   +++ EsqlConnection.java	28 Mar 2002 16:14:37 -0000	1.6
> >   @@ -60,7 +60,7 @@
> >     *
> >     * based on the orginal esql.xsl
> >     * @author <a href="mailto:tcurdt@dff.st">Torsten Curdt</a>
> >   - * @version CVS $Id: EsqlConnection.java,v 1.5
> 2002/02/22 07:00:08 cziegeler Exp $
> >   + * @version CVS $Id: EsqlConnection.java,v 1.6
> 2002/03/28 16:14:37 tcurdt Exp $
> >     */
> >
> >    public class EsqlConnection implements Connection {
> >   @@ -307,14 +307,14 @@
> >                                            int[] columnIndexes)
> >            throws SQLException
> >        {
> >   -        return prepareStatement(sql, columnIndexes);
> >   +        return connection.prepareStatement(sql, columnIndexes);
> >        }
> >
> >        public java.sql.PreparedStatement
> prepareStatement(String sql,
> >                                            String[] columnNames)
> >            throws SQLException
> >        {
> >   -        return prepareStatement(sql, columnNames);
> >   +        return connection.prepareStatement(sql, columnNames);
> >        }
> >    @JDBC3_END@
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


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


Mime
View raw message