In case anyone else is experiencing difficulties here is a follow-up.

The issue appears to be due to the TransactionControl service configured with 
only with the "osgi.local.enabled=true" property. As soon as we switched to the 
TransactionControl service configured with both "osgi.local.enabled=true" and 
"osgi.xa.enabled=true" properties then our database updates were no longer 
being auto-committed. I can only conclude that this is because the Local 
Transaction Management Control has a bug in it. And because the XA Transaction 
Management Control also has the "osgi.local.enabled=true" property, we can only 
conclude that it can enlist local resources too, although we haven't tried 
since it isn't a requirement.

With regards to the Eclipselink issue, there didn't seem to be a built version 
of the javax.persistence jar file with a version of EntityManagerFactoryBuilder 
that matches the advertised version in the MANIFEST.MF file. Therefore we 
simply updated the MANIFEST.MF file to remove the 
'org.osgi.service.jpa;version="1.1.0"' entry from the Export-Package section so 
that this whole package is no longer being advertised to other bundles.

Hope that helps.



[EDW Technology]<https://www.teamenergy.com/>
EDW Technology Ltd
3 Radian Court, Knowlhill, Milton Keynes MK5 8PJ, United Kingdom
+44 (0)844 880 2489 | www.edwt.org<https://www.edwt.org>

Energy Auditing Agency Limited (TEAM) registered in England and Wales, number 
01916768. Registered office 3 Radian Court, Knowlhill, Milton Keynes MK5 8PJ. 
This electronic message contains information which may be privileged or 
confidential. The information is intended for the use of the individual(s) or 
organisation named. If you are not the intended recipient please be aware that 
any disclosure, copying, distribution or use of the contents of this 
information is prohibited. If you have received this electronic message in 
error, please delete this e-mail from your system and notify us by replying to 
this email immediately.

Reply via email to