Yes indeed, I discovered my fault when seeing that the ` *JsonServiceRegistryDao*` defined in the *v4.1.0-SNAPSHOT *but not in the one I'm using *v4.0.1.*
Do you think that if I used the new version *v4.1.0-SNAPSHOT *in my pom.xml file might solve my problem? Honestly, I would rather not using alternative solutions, when do you think the new release might be available? if it's not that long, I could use the ` *InMemoryServiceRegistryDaoImpl*` instead during this period. Best regards On Mon, Apr 13, 2015 at 12:02 PM, Misagh Moayyed <[email protected]> wrote: > This is because you are trying to use functionality that does not exist in > CAS4. The docs you reference below are in “development” (as the note at the > top of the page says) and apply to code that not released yet. > > > > This is the correct link for CAS 4.0: > > http://jasig.github.io/cas/4.0.x/installation/Service-Management.html > > > > This might be a viable option for CAS4 if you are looking for alternative > service registry options: > > https://github.com/unicon-cas-addons/cas-addon-yaml-services-registry > > > > *From:* Nouman Fallouh [mailto:[email protected]] > *Sent:* Sunday, April 12, 2015 11:22 PM > *To:* [email protected] > *Subject:* [cas-user] JSON Service Management > > > > Hi, > > > > I'd finished setting up the CAS server v4 and now trying to deploy service > management application. > > Therefor I've got the `*cas-management-webapp*` which by default is > shipped with `*JsonServiceRegistryDao*` where my CAS server is shipped > with `*InMemoryServiceRegistryDaoImpl*`. > > I want to use the JSON one and I read here: > > > http://jasig.github.io/cas/development/installation/Service-Management.html#services-registry > > that this settings should be unified in both applications, so when using > the JSON in the CAS server I got this error when deploying the application > in tomcat v8: > > > > 2015-04-12 22:45:40,498 ERROR > [org.springframework.web.context.ContextLoader] - <Context initialization > failed> > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name 'ticketRegistryCleaner' defined in ServletContext resource > [/WEB-INF/spring-confi > guration/ticketRegistry.xml]: Cannot resolve reference to bean > 'logoutManager' while setting bean property 'logoutManager'; nested > exception is org.springframework.bean > s.factory.BeanCreationException: Error creating bean with name > 'logoutManager' defined in ServletContext resource > [/WEB-INF/spring-configuration/applicationContext.xml] > : Cannot resolve reference to bean 'servicesManager' while setting > constructor argument; nested exception is > org.springframework.beans.factory.BeanCreationException: Er > ror creating bean with name 'servicesManager' defined in ServletContext > resource [/WEB-INF/spring-configuration/applicationContext.xml]: Cannot > resolve reference to bea > n 'serviceRegistryDao' while setting constructor argument; nested > exception is > org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find > class [org.ja > sig.cas.services.JsonServiceRegistryDao] for bean with name > 'serviceRegistryDao' defined in ServletContext resource > [/WEB-INF/deployerConfigContext.xml]; nested excepti > on is java.lang.ClassNotFoundException: > org.jasig.cas.services.JsonServiceRegistryDao > at > org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:326) > > > > It looks like it can't see the > `org.jasig.cas.services.JsonServiceRegistryDao` how does this come? > > > > I'm really stuck there, any help is appreciated. > > > > > > -- > > 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
