Return-Path: Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 54548 invoked from network); 10 Jun 2003 20:34:30 -0000 Received: from fep04-mail.bloor.is.net.cable.rogers.com (66.185.86.74) by daedalus.apache.org with SMTP; 10 Jun 2003 20:34:30 -0000 Received: from rogers.com ([65.48.130.107]) by fep04-mail.bloor.is.net.cable.rogers.com (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20030610203435.ZUQW413153.fep04-mail.bloor.is.net.cable.rogers.com@rogers.com> for ; Tue, 10 Jun 2003 16:34:35 -0400 Message-ID: <3EE640CB.6010803@rogers.com> Date: Tue, 10 Jun 2003 16:34:19 -0400 From: Darrell User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Turbine Torque Users List Subject: Re: Initialization is hanging? References: <3EE620C0.9090904@rogers.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH PLAIN at fep04-mail.bloor.is.net.cable.rogers.com from [65.48.130.107] using ID at Tue, 10 Jun 2003 16:34:35 -0400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Darrell B wrote: > When calling Torque.init("Torque.properties"); > it hangs and doesn't return when I am tring to step through the code. > Any suggestions. > > > > Torque.init("Torque.properties"); > List list = null; > list = ProductPeer.doSelectAll(); > Nothing is written to the log file either which makes it difficult to degug. Torque.properties file: log4j.category.org.apache.torque = ALL, org.apache.torque log4j.appender.org.apache.torque = org.apache.log4j.FileAppender #log4j.appender.org.apache.torque.file = ${torque.applicationRoot}/logs/torque.log log4j.appender.org.apache.torque.file= d:/jbproject/metokotecan/logs/torque.log log4j.appender.org.apache.torque.layout = org.apache.log4j.PatternLayout log4j.appender.org.apache.torque.layout.conversionPattern = %d [%t] %-5p %c - %m%n log4j.appender.org.apache.torque.append = false torque.database.default=metokotecan torque.database.metokotecan.adapter=mysql ## Using torque's old pool torque.dsfactory.metokotecan.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory torque.dsfactory.metokotecan.pool.defaultMaxConnections=10 torque.dsfactory.metokotecan.pool.maxExpiryTime=3600 torque.dsfactory.metokotecan.pool.connectionWaitTimeout=10 torque.dsfactory.metokotecan.connection.driver = org.gjt.mm.mysql.Driver torque.dsfactory.metokotecan.connection.url = jdbc:mysql://localhost:3306/torque torque.dsfactory.metokotecan.connection.url = jdbc:mysql://localhost:3306/metokotecan torque.dsfactory.metokotecan.connection.user = root torque.dsfactory.metokotecan.connection.password = > > Darrell Bechtel, B.G.S., MCSE > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org > For additional commands, e-mail: torque-user-help@db.apache.org > > -- Darrell Bechtel, B.G.S., MCSE