I constantly get the following error while deploying roller: SEVERE: Exception sending context initialized event to listener instance of class org.apache.roller.weblogger.ui.core.RollerContext org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'filterChainProxy' defined in ServletContext resource [/WEB-INF/security.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationProcessingFilter' defined in ServletContext resource [/WEB-INF/security.xml]: Cannot resolve reference to bean 'authenticationManager' while setting bean property 'authenticationManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationManager' defined in ServletContext resource [/WEB-INF/security.xml]: Cannot resolve reference to bean 'daoAuthenticationProvider' while setting bean property 'providers' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoAuthenticationProvider' defined in ServletContext resource [/WEB-INF/security.xml]: Cannot resolve reference to bean 'userCache' while setting bean property 'userCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userCache' defined in ServletContext resource [/WEB-INF/security.xml]: Cannot create inner bean 'org.springframework.cache.ehcache.EhCacheFactoryBean#5b8827' of type [org.springframework.cache.ehcache.EhCacheFactoryBean] while setting bean property 'cache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.ehcache.EhCacheFactoryBean#5b8827' defined in ServletContext resource [/WEB-INF/security.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: net.sf.ehcache.Cache.<init>(Ljava/lang/String;ILnet/sf/ehcache/store/MemoryStoreEvictionPolicy;ZLjava/lang/String;ZJJZJLnet/sf/ehcache/event/RegisteredEventListeners;Lnet/sf/ehcache/bootstrap/BootstrapCacheLoader;I)V
It looks like i have the wrong ehCache package, though i've tried almost all the versions from 0.7 to the latest one (including 1.1 from the roller distribution archive). Which one should i use? I also had some problems with tomcat initializing beans from security.xml file - it looks like beans declarations (which now use org.acegisecurity) were not updated after moving to springsecurity 2.0. Should they be changed? -- View this message in context: http://www.nabble.com/Problems-deploying-roller-tp18175415s12275p18175415.html Sent from the Roller - Dev mailing list archive at Nabble.com.
