Hi,

I've just bumped our build to include version 3.4.11. There appears there is 
now no constructor or public method to set the entityManagerFactory of 
org.jasig.cas.ticket.registry.JpaTicketRegistry 
(https://github.com/Jasig/cas/blob/master/cas-server-core/src/main/java/org/jasig/cas/ticket/registry/JpaTicketRegistry.java).

Log below:


org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'ticketRegistry' defined in ServletContext resource 
[/WEB-INF/spring-configuration/ticketRegistry.xml]: Could not resolve matching 
constructor (hint: specify index/type/name arguments for simple parameters to 
avoid type ambiguities)


spring-configuration/ticketRegistry.xml:


<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xmlns:p="http://www.springframework.org/schema/p";
       xmlns:tx="http://www.springframework.org/schema/tx";
       xsi:schemaLocation="http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
       http://www.springframework.org/schema/tx 
http://www.springframework.org/schema/tx/spring-tx-2.0.xsd";>
    <description>
        Configuration for the default TicketRegistry which stores the tickets 
in-memory and cleans them out as specified intervals.
    </description>



    <!-- Ticket Registry -->
    <bean id="ticketRegistry" 
class="org.jasig.cas.ticket.registry.JpaTicketRegistry">
        <constructor-arg index="0" ref="entityManagerFactory" />
    </bean>



    <!--Quartz -->
    <!-- TICKET REGISTRY CLEANER -->
    <bean id="ticketRegistryCleaner" 
class="org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner"
                p:ticketRegistry-ref="ticketRegistry" />



    <bean id="jobDetailTicketRegistryCleaner" 
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean"
                p:targetObject-ref="ticketRegistryCleaner"
                p:targetMethod="clean" />



    <bean id="triggerJobDetailTicketRegistryCleaner" 
class="org.springframework.scheduling.quartz.SimpleTriggerBean"
                p:jobDetail-ref="jobDetailTicketRegistryCleaner"
                p:startDelay="20000"
                p:repeatInterval="5000000" />
</beans>


Perhaps the configuration has changed?


Thanks

Paul

________________________________

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 [email protected] 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 [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to