Jan 8th, 2007, 01:53 AM
unable to hot deploy in jboss with spring+hibernate
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.BeanCreationExce ption: 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.
Jan 8th, 2007, 02:39 AM
Have you tried sticking that exception into google, there are lots of results.
Jan 13th, 2007, 05:24 AM
I'm currently facing exactly the same problem. Can anybody please shed a light on this?
Jan 13th, 2007, 05:33 AM
Have you tried sticking the exception into google? I did a quick search on 'Cannot configure CacheManager: null' and there are some threads in the JBoss forums along with lots of others.