← Back to team overview

dhis2-devs team mailing list archive

Re: Starting Tomcat problem

 

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 <larshelge@xxxxxxxxx>

> 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*"

Follow ups

References