on 5/11/01 3:48 PM, "Tony" <[EMAIL PROTECTED]> wrote:
>
> Hi there,
>
>
> I'm trying to use Turbine connection pooling. I just need this feature so I
> didn't install turbine. I just copied the turbine-pool.jar in the tomcat lib
> folder
Well, that .jar file is no longer valid anymore. Just use the turbine.jar.
Having the rest of the classes in there doesn't hurt anything because they
aren't used unless necessary.
> My code is like:
> ------------
> static PoolBrokerService pool = PoolBrokerService.getInstance()
> private DBConnection db = null;
> private Connection m_Conn = null ;
>
> TurbineResourceService.setPropertiesFileName("C:/TurbineResources.properties
> ");
> db = pool.getConnection();
> m_Conn = db.getConnection();
> --------------
>
> My turbineResources.properties file is like:
>
> database.default.driver=COM.ibm.db2.jdbc.app.DB2Driver
> database.default.url=jdbc:db2:TL
> database.default.username=TONY
> database.default.password=sillycow
>
> database.adaptor.DBDB2App=COM.ibm.db2.jdbc.app.DB2Driver
>
> but i get a type COM.ibm.db2.jdbc.app.DB2Driver not implemented..
Do you also have the code for that driver in the classpath?
-jon
--
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/ymtd/ymtd.html>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]