> 2010-05-17 13:37:24,676 DEBUG > [org.springframework.beans.TypeConverterDelegate] - <Cannot create copy of > Collection type [java.util.ArrayList] - injecting original Collection as-is> > java.lang.InstantiationException: long > at java.lang.Class.newInstance0(Class.java:340) > at java.lang.Class.newInstance(Class.java:308) > at > org.springframework.beans.TypeConverterDelegate.convertToTypedCollection(TypeConverterDelegate.java:556)
Looks like Spring is getting confused about which constructor to use: public MemCacheTicketRegistry(final String[] hostnames, final int ticketGrantingTicketTimeOut, final int serviceTicketTimeOut) versus public MemCacheTicketRegistry(final long ticketGrantingTicketTimeOut, final long serviceTicketTimeOut, final String[] hostnames) I believe the confusion may be due to the use of a collection for the first argument instead of an array. Try the following for the first argument: <constructor-arg index="0" value="localhost:80" /> If you want to add additional hosts, separate with commas. > 2010-05-17 13:37:44,882 ERROR [org.quartz.core.JobRunShell] - <Job > DEFAULT.jobDetailTicketRegistryCleaner threw an unhandled Exception: > > org.springframework.scheduling.quartz.JobMethodInvocationFailedException: > Invocation of method 'clean' on target class [class > org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] failed; > nested exception is java.lang.UnsupportedOperationException: GetTickets not > supported. The memcache ticket registry does not support explicit cleaning using the RegistryCleaner strategy. Simply remove the ticketRegistryCleaner and related beans from ticketRegistry.xml. M -- 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
