This is all I found hope it helps. http://www.ingrid.org/jajakarta/turbine/en/turbine/torque/jdbc2pool-howto.html
Philip On 2/8/06, Tommaso <[EMAIL PROTECTED]> wrote: > Tommaso <tommaso.nuccio <at> fwctc.com> writes: > > > > > Hi community, > > > > I am trying to set up torque to use the JDBC2PoolDataSourceFactory. > > I downloaded torque3.2 and I also configured torque.properties, but the > portal > > does not start. My guess is that the class > > org.apache.torque.dsfactory.Jdbc2PoolDataSourceFactory > > is missing in the torque3.2.jar ! > > > > How can I set up this correctly and find the class? Maybe someone has a good > > tutorial? > > > > Here a snippet of the torque.properties: > > <Snip-start> > > torque.database.default=default > > torque.database.default.adapter=mssql > > > > # The interval (in milliseconds) between which the PoolBrokerService logs > > # the status of it's ConnectionPools. > > # > > # Default: No logging = 0 = 0 * 1000 > > torque.database.logInterval=0 > > > > # Determines if the quantity column of the IDBroker's id_table should > > # be increased automatically if requests for ids reaches a high > > # volume. > > > > torque.idbroker.cleverquantity=true > > > > # Determines whether the managers cache instances of the business objects. > > # And also whether the MethodResultCache will really cache results. > > > > torque.manager.useCache = true > > > > ## Using Jdbc2Pool > > > torque.dsfactory.default.factory=org.apache.torque.dsfactory.Jdbc2PoolDataSource > > Factory > > torque.dsfactory.default.pool.defaultMaxActive=15 > > torque.dsfactory.default.pool.testOnBorrow=true > > torque.dsfactory.default.pool.validationQuery=SELECT 1 > > torque.dsfactory.default.connection.driver = com.inet.tds.TdsDriver > > torque.dsfactory.default.connection.url = > > jdbc:inetdae7a:server?database=NAME > > torque.dsfactory.default.connection.user = user > > torque.dsfactory.default.connection.password = pwd > > <Snip-end> > > > > Is this correct or can it be optimized?! > > I know that the connection settings are correct, cause they worked with the > old > > pool. My problem is the increasing connections to the DBMS that let Jetspeed > > crash. > > > > Many thanks in advance. > > > > Ciao, > > Tommaso > > > > Hi, > > I am not sure if I explained my problem well: > In the torque-3.2.jar, the class > org.apache.torque.dsfactory.Jdbc2PoolDataSourceFactory is not included. > > Were can I find this class? > > I read through many archives and threads, e.g. > http://www.opensubscriber.com/message/[email protected]/2254419.html, > and everybody uses this class. Where from, though? > > It would be great, if someone could hlp me out. > > Ciao and many thanks, > Tommaso > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Philip Donaghy donaghy.blogspot.com del.icio.us/donaghy/philip Skype: philipmarkdonaghy Office: +33 5 56 60 88 02 Mobile: +33 6 20 83 22 62 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
