---- 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 for > > the following code from JNDIRealm.java? > > > > 1003 } catch (NamingException e) { 1004 1005 > > // Log the problem for posterity 1006 > > containerLog.error(sm.getString("jndiRealm.exception"), e); 1007 > > 1008 // Close the connection so that it gets > > reopened next time 1009 if (context != null) 1010 > > close(context); 1011 1012 // Return "not > > authenticated" for this request 1013 if > > (containerLog.isDebugEnabled()) 1014 > > containerLog.debug("Returning null principal."); 1015 > > return (null); > > > > i.e., I should have seen "Returning null principal" in the Tomcat > > logging? > > Why do you think that a NamingException is being caught? > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.17 (Darwin) > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk+1ZGwACgkQ9CaO5/Lv0PCnXACfQ053y47B7MLmIbpznhPufSQK > Y3MAoJ4TkTP3/HcwlelKvOm/wISz5fbI > =H5G4 > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org >
Hi, I didn't say that I didn't think that the exception was not being caught, but rather that I'm not seeing any associated output in any of the Tomcat logs (or the console out), e.g., I don't see a log msg with "Returning null principal". What else do I need to configure in logging.properties or otherwise to get the output logged? Thanks, Jim --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org