[
http://jira.jboss.com/jira/browse/JBPORTAL-844?page=all ]
Julien Viet resolved JBPORTAL-844.
----------------------------------
Fix Version/s: 2.8 Final
2.6 Final
Resolution: Done
Was solved somehow by having explicit configuration.
Ehcache configuration issue on redeploy of portal
-------------------------------------------------
Key: JBPORTAL-844
URL:
http://jira.jboss.com/jira/browse/JBPORTAL-844
Project: JBoss Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Portal Core
Reporter: Julien Viet
Fix For: 2.8 Final, 2.6 Final
Ehcache is not provided by default in JBoss AS.
When it is used by portal the following occurs :
1/ ehcache is loaded by hibernate which is loaded by the lib dir of the jboss config
2/ ehcache loads the default configuration /ehcache-failsafe.xml from its classloader
using : getClass().loadResource("/ehcache-failsafe.xml");
on a redeploy the same occurs but as ehcache is now linked by the hibernate classes which
are not redeployed the failsafe config file cannot be loaded again as the original jar is
gone.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira