All, I now get entries in the com_audit_trail table but I still get the same exception when I try and logout.
Any ideas why switching from JPA ticket registry to memcached ticket registry would affect auditing? I upped inspektr logging to debug but don't see any addition log information. Any help appreciated, Bryan From: Bryan Wooten [mailto:[email protected]] Sent: Tuesday, April 17, 2012 1:29 PM To: [email protected] Subject: [cas-user] Memcached Ticket Registry I am trying to get the memcached ticket registry operational with 3.4.11. I can successfully login but when I try and log out I get this exception: [#|2012-04-17T13:15:41.901-0600|WARNING|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=30;_ThreadName=http-thread-pool-9022-(3);|StandardWrapperValve [cas]: PWC1406: Servlet.service() for servlet cas threw exception java.lang.NullPointerException at com.github.inspektr.audit.AuditTrailManagementAspect.executeAuditCode(AuditTrailManagementAspect.java:147) at com.github.inspektr.audit.AuditTrailManagementAspect.handleAuditTrail(AuditTrailManagementAspect.java:139) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) Also my successful logins don't add an entry to the com_audit_trail table, however no exception is thrown. I will up the log level to debug and try again, but in the meantime does anyone have any ideas? The only change I made was to replace the ticketRegistry.xml with settings for memcached and not jpa. My entityManager is defined in the deployerContextConfig.xml so I would think the audit stuff should still work. Thanks, Bryan -- You are currently subscribed to [email protected]<mailto:[email protected]> as: [email protected]<mailto:[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
