I've set pretty much everything in stock log4j.xml to DEBUG and added some of my own explicit defs there as well..
I'm currently getting what I think I should and usually see the base cause of a thread dump. To clarify your not getting anything that would trace back to the underlying cause.. in cas.log or catalina.out? ------ thanks kevin.foote On Mon, 25 Jun 2012, Nathan Ducey wrote: -> Thanks for the suggestion Kevin, I've set them to DEBUG and now the user is still authenticated correctly (valid user), but there are now no further details of the error. Do you know if there's another way to see the errors please? -> -> Thanks, -> Nathan -> -> On 25 Jun 2012, at 16:20, Kevin P. Foote wrote: -> -> > -> > Do you have the org.springframework and org.springframework.webflow set to DEBUG? -> > -> > ------ -> > thanks -> > kevin.foote -> > -> > On Mon, 25 Jun 2012, Nathan Ducey wrote: -> > -> > -> Hi, -> > -> -> > -> CAS is correctly authenticating a user and is currently displaying a "CAS is unavailable" error message when it tries to create the Principal. However I can't get any error messages about what is failing or why. I've changed the log type to DEBUG, but I still only see these errors in the cas.log file. -> > -> -> > -> 2012-06-25 16:11:30,520 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - AuthenticationHandler: org.jasig.cas.adaptors.jdbc.SearchModeSearchDatabaseAuthenticationHandler successfully authenticated the user which provided the following credentials: [username: [email protected]] -> > -> 2012-06-25 16:11:30,521 DEBUG [org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver] - Attempting to resolve a principal... -> > -> 2012-06-25 16:11:30,521 DEBUG [org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver] - Creating SimplePrincipal for [[email protected]] -> > -> 2012-06-25 16:11:30,525 INFO [com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - Audit trail record BEGIN -> > -> ============================================================= -> > -> WHO: [username: [email protected]] -> > -> WHAT: java.lang.NullPointerException -> > -> ACTION: TICKET_GRANTING_TICKET_NOT_CREATED -> > -> APPLICATION: CAS -> > -> WHEN: Mon Jun 25 16:11:30 BST 2012 -> > -> CLIENT IP ADDRESS: 192.168.1.8 -> > -> SERVER IP ADDRESS: 192.168.1.27 -> > -> ============================================================= -> > -> -> > -> Is there a way to see what is causing the NullPointerException which the Audit trail is referencing please? -> > -> -> > -> Thanks, -> > -> Nathan -> > -> -- -> > -> You are currently subscribed to [email protected] as: [email protected] -> > -> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -> > -> -> > -> -> > -> > -- -> > You are currently subscribed to [email protected] as: [email protected] -> > To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -> -> -> -- -> You are currently subscribed to [email protected] as: [email protected] -> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -> -> -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
