Return-Path: Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 16921 invoked by uid 500); 11 Aug 2003 18:01:38 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 30651 invoked from network); 9 Aug 2003 13:45:31 -0000 Message-ID: <3F34FAB4.60602@segieth.com> Date: Sat, 09 Aug 2003 15:44:20 +0200 From: Frank Segieth User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jetspeed Users List , torque-user@db.apache.org Subject: Torque without pooling? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N i installed jetspeed at my isv. they support jsp servlets .. blah ... but they don't support - servlet mapping - connection pooling in my torque.properties i have the following lines torque.database.default.adapter=mysql ### torque.database.default.adapter=oracle ### torque.database.default.adapter=mssql torque.dsfactory.default.connection.driver = org.gjt.mm.mysql.Driver torque.dsfactory.default.connection.url = jdbc:mysql://localhost:3306/segieth torque.dsfactory.default.connection.user =******** torque.dsfactory.default.connection.password = ******** torque.dsfactory.default.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory # 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 From time to time i get the following exception Horrible Exception: org.apache.jetspeed.services.security.LoginException [...] Connection object was null. This could be due to a misconfiguration of the DataSourceFactory. Check the logs and Torque.properties to better determine the cause. i suspect the 11th Connection ist the bad apple :-) is there a way to tell torque not to pool the connections? can i reset the connection pool if all connections in the pool are null? - have i to overwrite the class? tia frank --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org