It seems that the build script for the distribution does not simply
copy the sources as is but it also replaces the keywords defined by ant.
As the dists are build using JDK 1.3.1, the keywords were replaced by a
comment.
We have to fix the build script, then. Thanks.

BTW, I found this in the EsqlConnection class:

    public java.sql.PreparedStatement prepareStatement(String sql,
                                        int[] columnIndexes)
        throws SQLException
    {
        return prepareStatement(sql, columnIndexes);
    }

    public java.sql.PreparedStatement prepareStatement(String sql,
                                        String[] columnNames)
        throws SQLException
    {
        return prepareStatement(sql, columnNames);
    }

I'm I wrong or are this infinite loops?

Carsten

> -----Original Message-----
> From: Enke Michael [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 28, 2002 3:57 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Cocoon 2.0.2 JDK1.4 Tomcat 4.0.4b1 JDBC Connection
> PoolingDoesn't Work (for me) - any ideas
>
>
> Did you ever unpack 2.0.2.tar.gz? It seems no.
> If I unpack the 2.0.2.tar.gz there is not @JDBC3_START@ in, there
> is a comment /* in.
>
> Michael
>
>
> Torsten Curdt wrote:
> >
> > On Thu, 28 Mar 2002, Christopher Watson wrote:
> >
> > > RE: Cocoon 2.0.2 JDK1.4 Tomcat 4.0.4b1 JDBC Connection
> Pooling Doesn't Work
> > > (for me) - any ideasThanks, Tom
> > >
> > > I suspect the problems are not only with cocoon, but excalibur too !
> > >
> > > COCOON
> > > =======
> > > The comment lines in the CVS EsqlConnection have @JDBC3_START@ and
> > > @JDBC3_END@
> > > which the ant task comments out if it FAILS to detect jdbc3 present.
> > >
> > > In the cocoon dist version, these lines are commented out by /* and */
> > > (it's the same in both the src.tar.gz and the src.zip) - so
> you have to
> > > remove them manually to get a clean jdk1.4 compile
> >
> > What is commented out? At least in HEAD everything looks fine...
> >
> >
> http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/java/org/apache/
cocoon/components/language/markup/xsp/EsqlConnection.java
>
> The tricky part is that ant might fail to detect that jdbc3 is present.
> I remember Stefano has solved this...
>
> Stefano, could you please put this into the FAQ. Seems people are hitting
> this wall over and over again...
>
> Thanks
> --
> Torsten
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to