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. 2015-10-08 15:26 GMT+02:00 Christian Schneider <[email protected]>: > It should not matter as long as the transaction should not span several > calls. > > Christian > > > > On 08.10.2015 14:14, Mihael Schmidt wrote: > > Does it matter from which thread i am calling the service? > > 2015-10-08 14:07 GMT+02:00 Christian Schneider <[email protected]>: > >> The transactional interceptor only works when the txLogService is >> instantiated by blueprint. Maybe at some point you are working with an >> unproxied instance. >> >> Christian >> >> On 08.10.2015 14:01, Mihael Schmidt wrote: >> >>> TxLogService is create via blueprint. TxLogParticipant calls >>> TxLogService which is passed as a parameter to TxLogParticipant. >>> >>> CoordinationFilter is create via DS. >>> >>> I don't know if it helps but entityManager.isOpen() returns true. >>> >>> Mihael >>> >>> >> -- >> 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]>[email protected] > Internet: <http://www.sgbs.de/>www.sgbs.de > Geschäftsführer: Joachim und Dirk Schulz, Norbert Kosica > Handelsregister Bad Oeynhausen: HRA 5902, HRB 8591 > UST-Id-Nr.: DE 125752702 > > > > -- > Christian Schneiderhttp://www.liquid-reality.de > > Open Source Architecthttp://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
