I think below is the file that needs to be tweaked. (Tweak it according to
your installation directory)
C:\jakarta-tomcat-5.0.28\webapps\jetspeed\WEB-INF\classes\OJB.properties
Amit
----Original Message Follows----
From: Irineu Avanço Jr. <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Developers List" <jetspeed-dev@jakarta.apache.org>
To: "'Jetspeed Developers List'" <jetspeed-dev@jakarta.apache.org>
Subject: RES: Too many DB Connections remain opened ..
Date: Mon, 21 Mar 2005 17:31:33 -0300
Hi Shah Amit...
Can you please tell me how to find where the OJB config file is ?
Thanks a lot.
Irineu.
-----Mensagem original-----
De: Shah Amit [mailto:[EMAIL PROTECTED]
Enviada em: segunda-feira, 21 de março de 2005 17:20
Para: jetspeed-dev@jakarta.apache.org
Assunto: RE: Too many DB Connections remain opened ..
Hi
I am 99% sure that Jetspeed uses OJB to access DB. Torque is only used at
compile time to generate the sql scripts from xml files I think. So you
might need to tweak OJB config file.
Amit
----Original Message Follows----
From: Irineu Avanço Jr. <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Developers List" <jetspeed-dev@jakarta.apache.org>
To: <jetspeed-dev@jakarta.apache.org>
CC: <[EMAIL PROTECTED]>
Subject: Too many DB Connections remain opened ..
Date: Mon, 21 Mar 2005 17:02:39 -0300
Hello people...
I am trying do figure out why Jetspeed is not closing DB connections
with its own Database even after the users got disconnected. There is
always about 21 DB connection remaining opened even after all user
were disconnected.
The connections are closed only and only if I shoutdown Apache Tomcat.
I am using MS SQL Server to handle Jetspeed database. I also made some
tests modifying the parameters below that are defined within the
torque.properties file, and nothing has changed.
# The number of database connections to cache per ConnectionPool instance
(specified per database)
torque.dsfactory.default.pool.defaultMaxConnections=10
torque.dsfactory.default.pool.maxExpiryTime=3600
torque.dsfactory.default.pool.connectionWaitTimeout=10
Can anybody please help me out on this matter ?
Thank you.
Irineu Avanço Jr.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.3 - Release Date: 15/3/2005
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]