Hi Paul, Yes, this also fixed my issue getting CAS to work for me... But if you look lower in the documentation at the cleaner bean, it uses the JdbcLockingStrategy. In trying to track down what I broke doing the install, I came across https://issues.jasig.org/browse/CAS-930. The last comment by Marvin indicates that the JdbcLockingStrategy should be deprecated.
My question was, although maybe not clearly articulated, does it make sense to switch that too? John -----Original Message----- From: Vitty, Paul [mailto:p.vi...@ulster.ac.uk] Sent: Wednesday, November 09, 2011 10:00 AM To: cas-user@lists.jasig.org Subject: Re: [cas-user] 3.4.11 Null Pointer in Login Hi John, If you follow the updated wiki instructions it works perfectly. All my integration tests passed. Thanks Paul Vitty Apache/MySQL Web Platform Engineer Application Platform Delivery Information Services Directorate University of Ulster Tel: 02890 366273 Email: p.vi...@ulster.ac.uk Web: http://www.ulster.ac.uk/staff/p.vitty.html On 9 Nov 2011, at 17:51, "Gasper, John" <jgas...@ewu.edu> wrote: > Hi guys, > > I'm also trying to get my CAS install upgraded 3.4.11. Before going through > the trouble of blowing my stuff up would it make sense to change the > cleanerLock to just the JpaLockingStrategy? Or, should JdbcLockingStrategy be > left per the documentation/example on > https://wiki.jasig.org/display/CASUM/JpaTicketRegistry. > > <bean id="cleanerLock" > class="org.jasig.cas.ticket.registry.support.JdbcLockingStrategy" > p:uniqueId="${host.name}" > p:platform="${ticket.cleaner.database.platform}" > p:applicationId="cas-ticket-registry-cleaner" > p:dataSource-ref="dataSource" /> > > Thanks, > John > > -----Original Message----- > From: Marvin Addison [mailto:marvin.addi...@gmail.com] > Sent: Wednesday, November 09, 2011 9:38 AM > To: cas-user@lists.jasig.org > Subject: Re: [cas-user] 3.4.11 Null Pointer in Login > >> Adding <bean >> class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor" >> /> to the ticketRegistry.xml resolves the issue and appears to ensure >> that the entityManager is wired up. > > That's absolutely right. It's sitting right there in my overlay and I simply > forgot that configuration point when updating the docs. > >> Perhaps https://wiki.jasig.org/display/CASUM/JpaTicketRegistry shuld >> be updated to this effect? > > Done. > > M > > -- > You are currently subscribed to cas-user@lists.jasig.org as: > jgas...@ewu.edu To unsubscribe, change settings or access archives, > see http://www.ja-sig.org/wiki/display/JSG/cas-user > > > > -- > You are currently subscribed to cas-user@lists.jasig.org as: > p.vi...@ulster.ac.uk To unsubscribe, change settings or access > archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user > > ________________________________ This email and any attachments are confidential and intended solely for the use of the addressee and may contain information which is covered by legal, professional or other privilege. If you have received this email in error please notify the system manager at postmas...@ulster.ac.uk and delete this email immediately. Any views or opinions expressed are solely those of the author and do not necessarily represent those of the University of Ulster. The University's computer systems may be monitored and communications carried out on them may be recorded to secure the effective operation of the system and for other lawful purposes. The University of Ulster does not guarantee that this email or any attachments are free from viruses or 100% secure. Unless expressly stated in the body of a separate attachment, the text of email is not intended to form a binding contract. Correspondence to and from the University may be subject to requests for disclosure by 3rd parties under relevant legislation. The University of Ulster was founded by Royal Charter in 1984 and is registered with company number RC000726 and VAT registered number GB672390524.The primary contact address for the University of Ulster in Northern Ireland is,Cromore Road, Coleraine, Co. Londonderry BT52 1SA -- You are currently subscribed to cas-user@lists.jasig.org as: jgas...@ewu.edu To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to cas-user@lists.jasig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user