Does your server have networking enabled? Some features of the CachingService 
used in 1.6.0 require the networking to be at least enabled on your server so 
that EHCache can establish sockets it uses for distributed caching.  This is 
something that was corrected for the Caching Service released for DSpace 1.6.1, 
 disabling distributed caching by default.  I am wondering if you need to 
update your dspace-services to use the latest version, can you look in your lib 
directory and tell us which version of dspace-services-impl-<version>.jar you 
are using at the moment?

http://scm.dspace.org/trac/dspace/changeset/4925

Mark

On Jun 29, 2010, at 1:02 PM, John Preston wrote:

> I am getting the following exception starting dspace at boot time via a 
> rc.sysinit script that always has wqorked in the past:
> 
> Failed to startup the DSpace Service Manager: failure starting up spring 
> service manager: Error creating bean with name 
> 'org.dspace.services.CachingService': Autowiring of methods failed; nested 
> exception is org.springframework.beans.factory.BeanCreationException: Could 
> not autowire method: public void 
> org.dspace.services.caching.CachingServiceImpl.setCacheManager(net.sf.ehcache.CacheManager);
>  nested exception is org.springframework.beans.factory.BeanCreationException: 
> Error creating bean with name 'org.dspace.caching.ehcache.CacheManager' 
> defined in class path resource [spring/spring-dspace-core-services.xml]: 
> Invocation of init method failed; nested exception is 
> net.sf.ehcache.CacheException: No such device
> Failure during filter init: Failed to startup the DSpace Service Manager: 
> failure starting up spring service manager: Error creating bean with name 
> 'org.dspace.services.CachingService': Autowiring of methods failed; nested 
> exception is org.springframework.beans.factory.BeanCreationException: Could 
> not autowire method: public void 
> org.dspace.services.caching.CachingServiceImpl.setCacheManager(net.sf.ehcache.CacheManager);
>  nested exception is org.springframework.beans.factory.BeanCreationException: 
> Error creating bean with name 'org.dspace.caching.ehcache.CacheManager' 
> defined in class path resource [spring/spring-dspace-core-services.xml]: 
> Invocation of init method failed; nested exception is 
> net.sf.ehcache.CacheException: No such device:java.lang.RuntimeException: 
> Failed to startup the DSpace Service Manager: failure starting up spring 
> service manager: Error creating bean with name 
> 'org.dspace.services.CachingService': Autowiring of methods failed; nested 
> exception is org.springframework.beans.factory.BeanCreationException: Could 
> not autowire method: public void 
> org.dspace.services.caching.CachingServiceImpl.setCacheManager(net.sf.ehcache.CacheManager);
>  nested exception is org.springframework.beans.factory.BeanCreationException: 
> Error creating bean with name 'org.dspace.caching.ehcache.CacheManager' 
> defined in class path resource [spring/spring-dspace-core-services.xml]: 
> Invocation of init method failed; nested exception is 
> net.sf.ehcache.CacheException: No such device
> Jun 29, 2010 2:54:25 PM org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Exception sending context initialized event to listener instance of 
> class org.dspace.servicemanager.servlet.DSpaceKernelServletContextListener
> java.lang.RuntimeException: Failure during filter init: Failed to startup the 
> DSpace Service Manager: failure starting up spring service manager: Error 
> creating bean with name 'org.dspace.services.CachingService': Autowiring of 
> methods failed; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Could not autowire 
> method: public void 
> org.dspace.services.caching.CachingServiceImpl.setCacheManager(net.sf.ehcache.CacheManager);
>  nested exception is org.springframework.beans.factory.BeanCreationException: 
> Error creating bean with name 'org.dspace.caching.ehcache.CacheManager' 
> defined in class path resource [spring/spring-dspace-core-services.xml]: 
> Invocation of init method failed; nested exception is 
> net.sf.ehcache.CacheException: No such device
>         at 
> org.dspace.servicemanager.servlet.DSpaceKernelServletContextListener.contextInitialized(DSpaceKernelServletContextListener.java:93)
>         at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
>         at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
> ........
> 
> If after startup, I restart tomcat then everything works ok. Can anyone 
> figure out what the issue is. I recently upgraded fropm 1.5.2 to 1.6.1.
> 
> John 
> 
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- 
> http://p.sf.net/sfu/sprint-com-first_______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech



Mark R. Diggory
Head of U.S. Operations - @mire

http://www.atmire.com - Institutional Repository Solutions
http://www.togather.eu - Before getting together, get t...@ther

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to