Hello, I'm trying to go through the CAS installation procedure using Maven:
https://wiki.jasig.org/display/CASUM/Best+Practice+-+Setting+Up+CAS+Locally+using+the+Maven2+WAR+Overlay+Method One way that I have diverged from the instructions there is that I am not using SSL: so I did not do any of the certificate-related instructions. I have built the WAR file (am literally in the "Build it!" paragraph) and have deployed to Glassfish 3.0.1 (NOT Tomcat). When I try to go to "http://localhost/cas/login", I get an exception in the logs (the browser simply says "CAS Unavailable"). The exception is in view "/WEB-INF/view/jsp/default/ui/casLoginView.jsp" (view casLoginView). The root cause is an IllegalStateException with the following message: PWC6243: Cannot access session scope in page that does not participate in session When I examined the stack trace, obviously the JSP page is casLoginView.jsp, so I enabled "Keep Generated JSP" in the application, and then redeployed. I found that the generated file casLoginView.jsp has an unexplainable contradiction inside it: 1. A call is made to JspFactory's getPageContext (look for _jspxFactory.getPageContext) with the parameter for whether a session is used or not set to FALSE. This call is made from _jspService. 2. Later on, the following EL expression is attempted to be evaluated: ${not empty sessionScope.openIdLocalId} And this is where it is failing according to stack trace (exact line match). Can a CAS maintainer help out please? My organization is keen to switch to open source after three expensive and troubled years with a large three-letter vendor... thank you in advance. Ahmed -- 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
