Hi Aaron,
The wiki code excerpt for 3.5+ is what we have working for CAS 3.5.1 in our
../src/main/webapp/WEB-INF/spring-configuration/ticketRegistry.xml
There are also a few variables which we set in cas.properties. E.G:
memcached.servers=localhost:11211
memcached.protocol=BINARY
memcached.locatorType=CONSISTENT
memcached.failureMode=Retry
expiration.policy.tgt.validity_period=${tgt.maxTimeToLiveInSeconds}
expiration.policy.st.validity_period=${st.timeToKillInSeconds}
I don't see the changes to cas.properties mentioned on the wiki page, so
maybe that's the issue. If not, hopefully someone who actually understands
that error message will chime in.
-jesse
On 2013-08-07 at 14:06, Aaron Bennett wrote:
Hello,
I'm following the docs at https://wiki.jasig.org/display/CASUM/MemcacheTicketRegistry to
implement an memcached ticket registry. I've got the pm.xml working and mvn clean
package works; however, the next section, "CAS 3.5+ Memcached Configuration" is
unclear. Where does that configuration information go? I've tried editing
webapp/WEB-INF/spring-configuration/ticketRegistry.xml to include it - the result is:
2013-08-07 13:32:39,614 ERROR
[org.jasig.cas.web.init.SafeContextLoaderListener] - SafeContextLoaderListener:
The Spring ContextLoaderListener we wrap threw on contextInitialized.
But for our having caught this error, the web application context would not
have initialized.
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 39
in XML document from ServletContext resource
[/WEB-INF/spring-configuration/ticketRegistry.xml] is invalid; nested exception
is org.xml.sax.SAXParseException; lineNumber: 39; columnNumber: 8;
cvc-complex-type.2.3: Element 'bean' cannot have character [children], because
the type's content type is element-only.
I'm unclear where this belongs. I'm happy to edit the wiki once I've got the
correct information.
Thanks,
Aaron
---
Aaron Bennett
Manager of Systems Administration
Clark University ITS
W:508.793.7315
--
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