db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tang" <yt...@online.sh.cn>
Subject Re: Tomcat & torque & logging
Date Fri, 25 Jul 2003 02:04:32 GMT
The Torque.properties file should be placed in %WEB_APP%/WEB-INF/conf
directory. And configuration of Torque log was writen in Torque.property.
Change torque.applicationRoot parameter to ../webapps/%your_web_app%. Torque
will place torque.log into webapps/logs directory of your web application.

----- Original Message -----
From: "Ed Ross" <Ed.Ross@NDCHealth.com>
To: <torque-user@db.apache.org>
Sent: Thursday, July 24, 2003 7:20 AM
Subject: Tomcat & torque & logging


> I'm trying to use torque with struts and having some problems.
>
> 1 - my torque properties file works fine in a standalone application, but
> when I use it in tomcat, I get a null pointer with probable cause of no
> datasorce - check the logs
>
> 2 - where are the logs.  The log4j stuff is in the properties file, but
the
> logs are not written where I specify.  I think it's because log4j has
> already been configured by tomcap.  However, the loggin info isn't in the
> tomcat logs either.  Not sure where to look
>
> thanks
>
> ed
> This E-mail message is for the sole use of the intended recipient(s) and
may
> contain confidential and privileged information.  Any unauthorized review,
> use, disclosure or distribution is prohibited.  If you are not the
intended
> recipient, please contact the sender by reply E-mail, and destroy all
copies
> of the original message.
>



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message