1 Reply Latest reply on Jan 8, 2007 3:03 AM by alesj

    hot deploy in jboss with spring+hibernate

    zhangyuzheng

      I have an application which uses struts+spring+Hibernate .

      When I try to redeploy this application with change web.xml without restarting JBoss, then get the errors below.

      [org.springframework.web.context.ContextLoader] Context initialization failed
      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: Cannot configure CacheManager: null
      org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: Cannot configure CacheManager: null

      how to solve this problem?

      Any help in resolving the hot deployment issue is greatly appreciated.