cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Cordes <mcord...@maine.edu>
Subject Re: JDBC Drivers and Cocoon
Date Thu, 28 Dec 2000 16:56:47 GMT
I think the original poster is trying to use this jdbc driver 
with the turbine connection pool, which AFAIK will not work w/o 
adding some code to turbine ( which probably isn't too difficult),
but the way you are using it worked fine for me as well.

-matt

On Thu, Dec 28, 2000 at 09:47:58AM -0500, Colin Britton wrote:
> I am using the JSQL Driver. I added it to my tomcat lib directory and use
> these settings in the esql page.
> 
> I am using C2 and I do not have C1.8 running on my machine so I cannot try
> it with that.
> 
> rgds
> CB
> 
>    <content>
> 
>    <esql:execute-query inner-method="no">
>     <esql:driver>com.jnetdirect.jsql.JSQLDriver</esql:driver>
>     <esql:dburl>jdbc:JSQLConnect://localhost/webtrends_test</esql:dburl>
>     <esql:username>sa</esql:username>
>     <esql:password>sa</esql:password>
>     <esql:query>select * from WTLogNameTable where
> SummaryTableType=42</esql:query>
>     <esql:results>
>      <para><esql:get-string column="wtString"/></para>
>     </esql:results>
>    </esql:execute-query>
> 
>    </content>
>   </page>
> </xsp:page>
> 
> 
> 
> -----Original Message-----
> From: Carine Porret [mailto:cporret@capgemini.fr]
> Sent: Thursday, December 28, 2000 8:11 AM
> To: cocoon-users@xml.apache.org; cbritton@centervilletech.com
> Subject: Re: JDBC Drivers and Cocoon
> 
> 
> Thanks for your answer. I tried it but I still get an error :
> java.lang.InstantiationException: Database type
> com.jnedirect.jsql.JDSLDriver not implemented
> 
> I'm using Cocoon 1.8, in the file cocoon.properties this driver is not
> listed as a supported jdbc-driver, could you send me an example of how you
> made it work?
> 
> Thanks a lot,
> 
> Best Regards
> 
> Carine
> 
> -----Message d'origine-----
> De : Colin Britton <cbritton@centervilletech.com>
> À : cocoon-users@xml.apache.org <cocoon-users@xml.apache.org>
> Date : jeudi 28 décembre 2000 13:39
> Objet : RE: JDBC Drivers and Cocoon
> 
> 
> >I use http://www.j-netdirect.com/Downloads.htm with C2. This is a
> commercial
> >driver, with a free single concurrent connection version. I looked for an
> >opensource driver but the only one I found I could not get to build.
> >
> >hope this helps.
> >
> >rgds
> >Colin Britton
> >
> >-----Original Message-----
> >From: Sergio Carvalho [mailto:scarvalho@criticalsoftware.com]
> >Sent: Thursday, December 28, 2000 7:03 AM
> >To: cocoon-users@xml.apache.org
> >Subject: Re: JDBC Drivers and Cocoon
> >
> >
> >
> >I haven't used MSSQLServer in a long time (thanks, god!), but when I
> >last checked, there was no JDBC driver for MSSQLServer. I managed to use
> >a Sybase SQLServer JDBC driver with Microsoft, and it worked fine. You
> >can try praying that MS hasn't changed the communications protocol yet,
> >and try the same (MS SQLServer was originally developed from Sybase,
> >hence the common communications protocol).
> >
> >Carine Porret wrote:
> >
> >> Hello,
> >>
> >> I'm trying to access an MSSqlServer database via Cocoon but can't find a
> >JDBC driver compatible with Cocoon and SQLServer. Has anybody ever tried
> >that ? Could you give me a link to a JDBC Driver and its classes?
> >>
> >> Thanks a lot,
> >>
> >> Best Regards,
> >>
> >> Carine
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> >> For additional commands, e-mail: cocoon-users-help@xml.apache.org
> >>
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> >For additional commands, e-mail: cocoon-users-help@xml.apache.org
> >
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> >For additional commands, e-mail: cocoon-users-help@xml.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
> 

Mime
View raw message