Hi I am running two hosts under an engine in Tomcat 5.5.17, I have one webapp on each host and am having some problems with authentication on both. Each has a jdbc realm being deployed by a context.xml file in the META-INF directory of the webapp.
My question is, how can I log and debug the deployment of each realm and its properties, and subsequent login attempts/rejections, and their JDBC SQL queries etc? I am using log4j for logging with the below basic setup, and have been unable to get any information: log4j.appender.R=org.apache.log4j.RollingFileAppender log4j.appender.R.File=${catalina.home}/logs/tomcat.log log4j.appender.R.MaxFileSize=10MB log4j.appender.R.MaxBackupIndex=10 log4j.appender.R.layout=org.apache.log4j.PatternLayout log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n log4j.appender.localhost=org.apache.log4j.RollingFileAppender log4j.appender.localhost.File=${catalina.home}/logs/localhost.log log4j.appender.localhost.MaxFileSize=10MB log4j.appender.localhost.MaxBackupIndex=10 log4j.appender.localhost.layout=org.apache.log4j.PatternLayout log4j.appender.localhost.layout.ConversionPattern=%p %t %c - %m%n log4j.rootLogger=ERROR, R log4j.logger.org.apache=ERROR, R log4j.logger.org.apache.catalina.realm=DEBUG,R log4j.logger.org.apache.[Catalina].[localhost]=DEBUG, localhost Thanks, David -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.1/389 - Release Date: 7/14/2006 --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]