How to get debug output from JNDIRealm.java?

2012-05-17 Thread ohaya
Hi, I'm trying to debug some problems while enabling JNDIRealm in Tomcat 6.0.33. I've gotten Tomcat itself to output debug logging, but looking at the JNDIRealm.java code, e.g.: http://www.docjar.com/html/api/org/apache/catalina/realm/JNDIRealm.java.html It looks like there's a bunch of debug

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread Konstantin Kolinko
2012/5/17 oh...@cox.net: Hi, I'm trying to debug some problems while enabling JNDIRealm in Tomcat 6.0.33. I've gotten Tomcat itself to output debug logging, but looking at the JNDIRealm.java code, e.g.: http://www.docjar.com/html/api/org/apache/catalina/realm/JNDIRealm.java.html It

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread André Warnier
oh...@cox.net wrote: ... The problem is that I don't know how to enable that debug output/logging? I'm assuming that something needs to be added to the Tomcat logging.properties, but can anyone tell me what that should be to get the messages such as would be output by the following code in

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread David kerber
On 5/17/2012 12:57 PM, André Warnier wrote: oh...@cox.net wrote: ... The problem is that I don't know how to enable that debug output/logging? I'm assuming that something needs to be added to the Tomcat logging.properties, but can anyone tell me what that should be to get the messages such

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread ohaya
Konstantin Kolinko knst.koli...@gmail.com wrote: 2012/5/17 oh...@cox.net: Hi, I'm trying to debug some problems while enabling JNDIRealm in Tomcat 6.0.33. I've gotten Tomcat itself to output debug logging, but looking at the JNDIRealm.java code, e.g.:

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread ohaya
oh...@cox.net wrote: Konstantin Kolinko knst.koli...@gmail.com wrote: 2012/5/17 oh...@cox.net: Hi, I'm trying to debug some problems while enabling JNDIRealm in Tomcat 6.0.33. I've gotten Tomcat itself to output debug logging, but looking at the

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim, On 5/17/12 1:21 PM, oh...@cox.net wrote: Here's a partial stripped down version of my server.xml Try copy/paste instead of attaching: the list strips many types of attachments. So, how do I enable the output from the JNDIRealm? You need

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread ohaya
oh...@cox.net wrote: oh...@cox.net wrote: Konstantin Kolinko knst.koli...@gmail.com wrote: 2012/5/17 oh...@cox.net: Hi, I'm trying to debug some problems while enabling JNDIRealm in Tomcat 6.0.33. I've gotten Tomcat itself to output debug

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread Konstantin Kolinko
2012/5/17 oh...@cox.net: See http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Servlets_logging_API Here's a partial stripped down version of my server.xml, to show the JNDIRealm part in context.  I guess that it's in the Engine? So, how do I enable the output from the JNDIRealm?

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread ohaya
Konstantin Kolinko knst.koli...@gmail.com wrote: 2012/5/17 oh...@cox.net: See http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Servlets_logging_API Here's a partial stripped down version of my server.xml, to show the JNDIRealm part in context.  I guess that it's in

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread ohaya
oh...@cox.net wrote: Konstantin Kolinko knst.koli...@gmail.com wrote: 2012/5/17 oh...@cox.net: See http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Servlets_logging_API Here's a partial stripped down version of my server.xml, to show the JNDIRealm

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread Lobb, Janos
On May 17, 2012, at 12:57 PM, André Warnier wrote: oh...@cox.net wrote: ... The problem is that I don't know how to enable that debug output/logging? I'm assuming that something needs to be added to the Tomcat logging.properties, but can anyone tell me what that should be to get the

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/17/12 12:57 PM, André Warnier wrote: Give it up. The Tomcat logging implementation and its documentation (with the exception of the AcccesLogValve) are totally impenetrable to mere mortal human beings. Or those not willing to take

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim, On 5/17/12 1:56 PM, oh...@cox.net wrote: I think that the code snippet I sent earlier was the wrong one, but it seems like I still should have gotten some output logging for the following code from JNDIRealm.java? 1003 } catch

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread ohaya
Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim, On 5/17/12 1:56 PM, oh...@cox.net wrote: I think that the code snippet I sent earlier was the wrong one, but it seems like I still should have gotten some output logging

Re: How to get debug output from JNDIRealm.java?

2012-05-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim, On 5/17/12 4:59 PM, oh...@cox.net wrote: Christopher Schultz ch...@christopherschultz.net wrote: Why do you think that a NamingException is being caught? I didn't say that I didn't think that the exception was not being caught, but