Date: 2004-08-19T22:35:53
   Editor: ScottEade <[EMAIL PROTECTED]>
   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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to