Just to clarify, with 0.9.5 you no longer need that listener. The service registry impl acts as the listener itself.
-Misagh > -----Original Message----- > From: Chris Peck [mailto:[email protected]] > Sent: Tuesday, August 28, 2012 8:52 AM > To: [email protected] > Subject: Re: [cas-user] moving from 3.4.10 to 3.5.X > > Just a note. It looks like the v0.9.0 files included by maven do not contain > the class files for using JsonServiceRegistryResourceChangedEventListener - > it looks like they were added to v 0.9.5? I seem to only be getting these > (filtered to only include the service registry related files) in the jar > file: > 4071 08-11-2012 14:50 > net/unicon/cas/addons/serviceregistry/JsonServiceRegistryDao.class > 143 08-11-2012 14:50 net/unicon/cas/addons/serviceregistry/package- > info.class > 1152 08-11-2012 14:50 > net/unicon/cas/addons/serviceregistry/RegexRegisteredServiceWithAttributes .cl > ass > 356 08-11-2012 14:50 > net/unicon/cas/addons/serviceregistry/RegisteredServiceWithAttributes.clas s > 1148 08-11-2012 14:50 > net/unicon/cas/addons/serviceregistry/RegisteredServiceWithAttributesImpl. cla > ss > > > I'm getting this when I attempt to use it (which makes sense): > But for our having caught this error, the web application context would not > have initialized. > org.springframework.beans.factory.BeanCreationException: Error creating bean > with name 'scheduler' defined in ServletContext resource [/WEB-INF/spring- > configuration/applicationContext.xml]: Invocation of init method failed; > nested exception is > org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find > class > [net.unicon.cas.addons.serviceregistry.JsonServiceRegistryResourceChangedE ven > tListener] for bean with name > 'net.unicon.cas.addons.serviceregistry.JsonServiceRegistryResourceChangedE ven > tListener#0' defined in ServletContext resource [/WEB- > INF/deployerConfigContext.xml]; nested exception is > java.lang.ClassNotFoundException: > net.unicon.cas.addons.serviceregistry.JsonServiceRegistryResourceChangedEv ent > Listener > > -c > > On Aug 23, 2012, at 12:12 PM, Misagh Moayyed <[email protected]> > wrote: > > > Just adding a side note, that you might be interested in maintaining > > the list of registered services using a JSON flat file: > > https://github.com/Unicon/cas-addons/wiki/Configuring-JSON-Services-Re > > gist > > ry > > > > ...and on top of that, add support for change events and automatic > > reloading of services :) > > > > -Misagh > > > > > >> -----Original Message----- > >> From: Marvin Addison [mailto:[email protected]] > >> Sent: Thursday, August 23, 2012 8:07 AM > >> To: [email protected] > >> Subject: Re: [cas-user] moving from 3.4.10 to 3.5.X > >> > >>> With 3.5.X, do we still need a separate DB instance in order for us > >>> to > > use > >> the web-based Service Manager or does EhCache take over this role as > > well? > >> > >> I don't believe there's a ServiceRegistryDao implementation that uses > >> EhCache, so no. Though I don't imagine it would be too difficult to > > develop > >> one. Patches welcome :) > >> > >> 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 > > > > -- > > 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 -- 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
