Hi I think this is a problem with ehcache and hibernate compatibility. We have upgraded to hibernate 4 and hibernate's ehcache version in trunk. So make sure you have not upgraded anything in local modules in 2.7.
Lars 2012/4/9 Kim-Anh Vo <cata...@gmail.com>: > Hi all, > > We're encountering the same issue for the latest (from version 2.7 - after > Feb 26) for 2 server (Cantho and HCMC) with TOMCAT (7.0.25): > > Cantho's server: > "Caused by: java.lang.NoClassDefFoundError: > org/hibernate/cache/TimestampsRegion" > > HCMC's server: > + it works for mysql database > + error with postgres database with the error relating to cache... > > P.S: Locally it works on the computer which dhis2 is built. > > Any suggestions? > > 2012/3/14 Hieu Dang Duy <hieu.hispviet...@gmail.com> >> >> Hi boss, of course my core modules is the newest. I also try deleting the >> old repository lib and build up a new one. >> >> 2012/3/14 Lars Helge Øverland <larshe...@gmail.com> >>> >>> We upgraded to hibernate 4.1.0 on Monday, sorry for not telling you. >>> >>> 1) make sure you upgrade and install all core modules fresh. >>> >>> 2) in local modules make sure you have no hard-coded references to >>> hibernate versions, but inherit from the root POM. >>> >> >> Not sure I've got your point at here. Could u please give me a example in >> "hard-coded references to >> hibernate versions". Because in my own dhis.war file there has no any >> local module inside of the war. >> >> By the way, with the same as war file and database but when running at the >> other person tomcat is fine and mine is failure... >> >>> >>> 3) in local modules in all web.xml change the open session in view >>> filter from hibernate3 to hibernate4 so it reads: >>> >>> <filter> >>> <filter-name>OpenSessionInViewFilter</filter-name> >>> >>> <filter-class>org.springframework.orm.hibernate4.support.OpenSessionInViewFilter</filter-class> >>> </filter> >> >> >> >> >> -- >> "Expert By Chance" >> >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~dhis2-devs >> Post to : dhis2-devs@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~dhis2-devs >> More help : https://help.launchpad.net/ListHelp >> > > > > -- > -- > Best regards, > Kim-Anh Vo > _______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp