log4j statements in the Torque.properties have never 
worked for me.. try creating a separate log4j.properties
file in the class path.  It generates tons of output
for me under Tomcat.

Can you be more specific as to exactly what changed?

E.g. update to different DB, move the DB, updated 
Resin, change to new kernel, and the like. (If you've 
got a separate sysadm group that looks after the box,
beat up on them to make sure they didn't slip an
update you didn't know about in... speaking from 
experience here..)

What differences were there between the original Torque
properties and the one that did work.

> -----Original Message-----
> From: Bryce Nesbitt [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, February 16, 2006 12:32 PM
> To: Apache Torque Users List
> Subject: Re: What are possible causes of: IDBroker ... does 
> not support transactions.
> 
> 
> Greg Monroe wrote:
> > To get more debug information, create a log4j.properties
> > file in your classpath with something like:
> >
> > log4j.rootLogger=debug, RollingFile 
> > log4j.appender.RollingFile=org.apache.log4j.RollingFileAppender
> > log4j.appender.RollingFile.File=${catalina.home}\\logs\\debug.log
> > log4j.appender.RollingFile.MaxFileSize=2000KB
> > log4j.appender.RollingFile.MaxBackupIndex=3
> > log4j.appender.RollingFile.layout=org.apache.log4j.PatternLayout
> > log4j.appender.RollingFile.layout.ConversionPattern=%p %t %c - %m%n 
> > log4j.logger.org.apache.torque=DEBUG
> No log results.  torque.properties already had:
> 
> log4j.category.org.apache.torque = DEBUG, org.apache.torque 
> log4j.appender.org.apache.torque = 
> org.apache.log4j.RollingFileAppender
> log4j.appender.org.apache.torque.MaxFileSize = 10MB 
> log4j.appender.org.apache.torque.MaxBackupIndex = 2 
> log4j.appender.org.apache.torque.file = /logs/v2.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 
> log4j.category.org.myclient = ALL, org.apache.torque 
> log4j.category.com.mycompany = ALL, org.apache.torque
> 

Duke CE Privacy Statement
Please be advised that this e-mail and any files transmitted with it are 
confidential communication or may otherwise be privileged or confidential and 
are intended solely for the individual or entity to whom they are addressed.  
If you are not the intended recipient you may not rely on the contents of this 
email or any attachments, and we ask that you  please not read, copy or 
retransmit this communication, but reply to the sender and destroy the email, 
its contents, and all copies thereof immediately.  Any unauthorized 
dissemination, distribution or copying of this communication is strictly 
prohibited.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to