← Back to team overview

dhis2-devs team mailing list archive

Re: Export-Import problems

 

This was caused by the method for import of data entry forms lacking the
@trasactional annotation and thus not running inside a transaction, fixed in
r2592.

On Fri, Jan 14, 2011 at 5:58 PM, Knut Staring <knutst@xxxxxxxxx> wrote:

> Ok, the hibernate error seems to only be happening when I do "Preview"
> first, and then "Import all".
>
> A direct import works fine.
>
> Knut
>
> On Fri, Jan 14, 2011 at 10:47 AM, Bob Jolliffe <bobjolliffe@xxxxxxxxx>
> wrote:
> > Intersting.  none of these files have DataDictionaries so i guess the
> > error message must be different.  The key point being I guess that the
> > hibernate session disappears somewhere along the line.  Sorry I'm a
> > bit tied up right now, so will have to look at this later.
> >
> > Cheers
> > Bob
> >
> > On 14 January 2011 09:36, Knut Staring <knutst@xxxxxxxxx> wrote:
> >> It happens with the two latest exports I made - one for just orgunits,
> >> and one where I did "Select all" but just got a tiny file
> >>
> >> On Fri, Jan 14, 2011 at 10:32 AM, Bob Jolliffe <bobjolliffe@xxxxxxxxx>
> wrote:
> >>> Is it a particular import file which causes this, or is it happening
> >>> all the time?
> >>>
> >>> On 14 January 2011 09:20, Knut Staring <knutst@xxxxxxxxx> wrote:
> >>>> I need to further investigations and then report bugs, but I'm getting
> >>>> funny log messages like the one below.
> >>>>
> >>>> * INFO  10:17:11,796 Imported DataDictionaries
> >>>> * INFO  10:17:11,875 Imported DataDictionary DataElements
> >>>> * INFO  10:17:11,890 Imported DataDictionary Indicators
> >>>> * ERROR 10:17:11,890 Internal process failed
> >>>> org.hibernate.HibernateException: No Hibernate Session bound to
> >>>> thread, and configuration does not allow creation of non-transactional
> >>>> one here
> >>>>        at
> org.springframework.orm.hibernate3.SpringSessionContext.currentSession(SpringSessionContext.java:63)
> >>>>
> >>>> _______________________________________________
> >>>> Mailing list: https://launchpad.net/~dhis2-devs
> >>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> >>>> Unsubscribe : https://launchpad.net/~dhis2-devs
> >>>> More help   : https://help.launchpad.net/ListHelp
> >>>>
> >>>
> >>
> >>
> >>
> >> --
> >> Cheers,
> >> Knut Staring
> >>
> >
>
>
>
> --
> Cheers,
> Knut Staring
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>

References