Hi, everyone :
      I'm using dspace 1.6.0 in the form of xmlui.  when interent is connected, 
everything is OK.  But when it is disconnected , I meet these problem when I 
start up tomcat:
      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: error 
setting options
    at 
org.dspace.servicemanager.servlet.DSpaceKernelServletContextListener.contextInitialized(DSpaceKernelServletContextListener.java:93)
    at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)

    I think that It's spring that results in this problem. I looked for the 
applicationContext.xml in 
"dspace-1.6.0-src-release\dspace-xmlui\dspace-xmlui-webapp\src\main\webapp\WEB-INF\spring"
 and find that:

    <!-- Acquires the DSpace Utility Class with initialized Service Manager -->
    <bean id="dspace" class="org.dspace.utils.DSpace"/>
    
    <!-- Acquires reference to EventService --> 
    <bean id="dspace.eventService" factory-bean="dspace" 
factory-method="getEventService"/>

    Maybe the beans "dspace.eventService" and "dspace"  are the source of the 
probem. I looked for the "org.dspace.utils.DSpace" class in the source code, 
but whtere these secret classes located? I cannot find them anywhere!

    Can anyonet help me? thanks a lot!

                                 Martin



搜索本应是彩色的,快来体验新一代搜索引擎-必应,精美图片每天换哦! 立即试用!                                         
  
使用Messenger保护盾2.0,支持多账号登录! 现在就下载!                                         
聊天+搜索+邮箱 想要轻松出游,手机MSN帮你搞定! 立刻下载!                                          
_________________________________________________________________
约会说不清地方?来试试微软地图最新msn互动功能!
http://ditu.live.com/?form=TL&swm=1
------------------------------------------------------------------------------

_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to