Grettings.
I'm trying to setting CAS using the Maven WAR Overlay strategy. After
remove the conflicting jars (log, jdom, etc), i managed to deploy the war
successfully.
When i set the username and the password on the login page, appears the
message "CAS is Unavailable", and the next trace in the server console:
12:33:27,899 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/cas-server].[ca
s]] Servlet.service() for servlet cas throws exception:
java.lang.IllegalArgumentException: 'princip
al' cannot be null.
Check the correctness of @Audit annotation at the following audit point:
execution(public abstract o
rg.jasig.cas.authentication.Authentication
org.jasig.cas.authentication.AuthenticationManager.authen
ticate(org.jasig.cas.authentication.principal.Credentials))
at
com.github.inspektr.audit.AuditActionContext.assertNotNull(AuditActionContext.java:81)
[:
1.0.7.GA]
at
com.github.inspektr.audit.AuditActionContext.<init>(AuditActionContext.java:63)
[:1.0.7.G
A]
at
com.github.inspektr.audit.AuditTrailManagementAspect.executeAuditCode(AuditTrailManagemen
tAspect.java:149) [:1.0.7.GA]
at
com.github.inspektr.audit.AuditTrailManagementAspect.handleAuditTrail(AuditTrailManagemen
tAspect.java:139) [:1.0.7.GA]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[:1.6.0_34]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_34]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1
.6.0_34]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_34]
at
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(Abs
tractAspectJAdvice.java:621) [:3.1.1.RELEASE]
at
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJA
dvice.java:610) [:3.1.1.RELEASE]
at
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
[
:3.1.1.RELEASE]
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:161) [:3.1.1.RELEASE]
at
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocat
ionProceedingJoinPoint.java:80) [:3.1.1.RELEASE]
This issue does simply not happen on Apache Tomcat.
Is there any tweak or configuration tips that i've missed?
Thanks in advance.
LuisD
--
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