Orbeon 4.4 is not working with lower version of ehcacheCore2.6.3

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Orbeon 4.4 is not working with lower version of ehcacheCore2.6.3

GirijaPamini
 
Hi,

Currently we are using ehcache-core1.7.2, For upgrading Orbeon 4.4 we need to upgrade ehcache2.6.3 (which is there in the Jar list of orbeon 4.4 release), because we are getting one error  like below when running orbeon 4.4
+----------------------------------------------------------------------------------------------------------------------+
|An Error has Occurred                                                                                                 |
|----------------------------------------------------------------------------------------------------------------------|
|null:31: Element <defaultCache> does not allow attribute "statistics".                                                |
|----------------------------------------------------------------------------------------------------------------------|

When we upgraded the ehcache-Core jar 2.6.3, After this we got another Exception like below

Caused by:
java.lang.ClassCastException: net.sf.ehcache.store.chm.SelectableConcurrentHashMap$DummyPinnedKey incompatible with org.hibernate.cache.QueryKey
        at org.hibernate.cache.QueryKey.equals(QueryKey.java:54)
        at net.sf.ehcache.Element.equals(Element.java:318)

After analysis we found that this is due to hibernate Version 3.2.x is not compatible with ehcache2.6.3. So we upgraded the hibernate 3.2.x to hibernate 3.6.x

So Wanted to know, Is it mandatory to upgrade the ehcache/hibernare if we want to upgrade Orbeon 4.4 or with out upgrade this ehcache/hibernare can we resolve this through some configuration, Please let us know if anything like this is available.

And with Orbeon 4.4. which is the lowest version of ehcache and hibernate we can use.

Thanks !
Girija
Reply | Threaded
Open this post in threaded view
|

Re: Orbeon 4.4 is not working with lower version of ehcacheCore2.6.3

GirijaPamini

Hi Alex,

In short on the above Query,

"Is there a work around for Orbeon 4.4 to work with ehcache-core1.7.2.jar ?  As of now Orbeon 4.4 expects ehcache-core2.6.3.jar. Our current project uses ehcache-core1.7.2.jar along with Hibernate 3.2.  Shifting to ehcache-core2.6.3.jar also mandates us to migrate to higher version of Hibernate.

Hence we are looking for a work around which would allow us to migrate to Orbeon 4.4 with ehcache-core1.7.2"
Reply | Threaded
Open this post in threaded view
|

Re: Orbeon 4.4 is not working with lower version of ehcacheCore2.6.3

Alessandro  Vernet
Administrator
Hi Girija,

What do you mean by "we need to upgrade ehcache"? Are you using integrated deployment? If you are, I would discourage against it.

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet