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)
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@gmail.com> 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)
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@gmail.com> 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@gmail.com> 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)
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@gmail.com> 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@gmail.com> 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@gmail.com> 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)
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@gmail.com> 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@gmail.com> 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@gmail.com> 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@gmail.com> 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)
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@gmail.com wrote:
Ok, the hibernate error seems to only be happening when I do “Preview”