db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From torque-...@db.apache.org
Subject [DB Torque Wiki] Updated: FrequentlyAskedQuestions
Date Fri, 20 Aug 2004 05:35:53 GMT
   Date: 2004-08-19T22:35:53
   Editor: ScottEade <seade@backstagetech.com.au>
   Wiki: DB Torque Wiki
   Page: FrequentlyAskedQuestions
   URL: http://wiki.apache.org/db-torque/FrequentlyAskedQuestions

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -278,9 +278,9 @@
 
 == Why are the log4j properties in Torque.properties being ignored in the example bookstore
application? ==
 
-There is a log4j.properties file inside the torque-gen-3.1 jar file in the lib/ directory,
and the properties from there are being used instead.
+The torque-gen-3.1 jar file includes configuration files for Log4j and commons-logging SimpleLog
- if this jar is in your classpath at runtime it may adversly impact your logging implementation.
 
-Solution: Remove the torque-gen-3.1 jar file after compiling the example.  The file is not
needed for running the app.
+The best thing to do is to ensure the torque-gen jar file is not in the classpath of your
application (it is only required when generating your object model classes (and the other
generator tasks).  See [http://jakarta.apache.org/commons/logging/guide.html#Configuration
commons-logging configuration] for how to configure the logging for your application.
 
 == Why are large BLOBs and CLOBs not working in Oracle? How do I store BLOBs or CLOBs >
4000 (or sometimes 2000) bytes? ==
 

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


Mime
View raw message