Man ... you are my savior. That worked out-of-the-box ( as it should =D ). Puuhhhh... now I can finally move on =)
2015-10-08 16:14 GMT+02:00 Christian Schneider <[email protected]>: > I think what the system says is that you are trying to do a write to the > database while not inside a jta transaction. > > As a workaround you can try to inject UserTransaction and begin and commit > the transaction yourself. > > Christian > > > On 08.10.2015 16:01, Mihael Schmidt wrote: > >> What I don't get here is that the system says "no active transaction" but >> I am calling a service which is the only service with this >> entitymanager(factory) assigned and it hasn't been doing any calls to the >> database (till I get the exception). >> >> The transactions wouldn't even be nested. They would occur one after >> another. It seems that the system says: "no more than one connection. nope >> ... not you, you are the second. come back tomorrow". >> >> Threading shouldn't be a problem as all the other transactions did commit >> successfully. >> >> > -- > Christian Schneider > http://www.liquid-reality.de > > Open Source Architect > http://www.talend.com > > -- Mihael Schmidt Software und System-Entwicklung -- Schulz Gebäudeservice GmbH & Co. KG Dr.-Max-Ilgner-Straße 17 32339 Espelkamp Persönlich haftende Gesellschafterin: Gebäudereinigung Joachim Schulz Verwaltungsgesellschaft mbH Telefon: +49 5772 9100 0 Telefax: +49 5772 9100 11 Email: [email protected] Internet: www.sgbs.de Geschäftsführer: Joachim und Dirk Schulz, Norbert Kosica Handelsregister Bad Oeynhausen: HRA 5902, HRB 8591 UST-Id-Nr.: DE 125752702
