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 97179 invoked from network); 17 Apr 2003 14:32:24 -0000 Received: from unknown (HELO mail.funnygarbage.com) (65.242.249.130) by daedalus.apache.org with SMTP; 17 Apr 2003 14:32:24 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Torque.init() can't find project.properties from servlet Date: Thu, 17 Apr 2003 10:32:12 -0400 Message-ID: <794AA7B1BE0DB2458F738486D735394318C735@mail.funnygarbage.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Torque.init() can't find project.properties from servlet Thread-Index: AcMEXgejWZmhkTMSQcSk2IndUkNzgAAjf1nQ From: "Russell Simpkins" To: "Turbine Torque Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N i put the path in my web.xml file and then, in jsp, do a = application.getInitParameter("torque-properties-path"). You are best = off to specify the whole path/filename since otherwise you are making a = wild guess as to where user.dir is at that point in time. -----Original Message----- From: Gabriel Bauman [mailto:gabe@bravenet.com] Sent: Wednesday, April 16, 2003 5:20 PM To: torque-user@db.apache.org Subject: Torque.init() can't find project.properties from servlet Hello again, I am using Torque in a servlet environment. I can't seem to get Torque=20 to see my project.properties file, which contains the db settings etc,=20 even though it's in my WEB-INF/classes folder and is on the classpath. java.io.FileNotFoundException: project.properties (The system cannot=20 find the file specified) ... at org.apache.torque.Torque.init(Torque.java:386) I'm kind of at a loss, can anyone offer some insight? I am using a=20 recent CVS snapshot of Torque. Thanks, Gabe --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org