Le 13/05/2014 19:00, Romain Manni-Bucau a écrit : > Hi, > > can you give us some details (maybe irc freenode #openejb would be > easier)? How business jar is added?
As discused yesterday night on IRC, there is now a classloader change caused by xbean-finder-shaded. When using "java -jar myapp.jar", url classloader only contains a single entry on myapp.jar, and this only jar is inspected to find openejb module. The behaviour in not the same as the full command line "java -cp allmyapplicationjars my.main.appclass". In this case, url class loader contains all applications jars, and all those jars are inspected to find ejb modules. The previous xbean-finder-shaded 3.12 behaviour can be restored with 3.15 using system properties "-Dxbean.finder.use.get-resources=false" on command line. By, as confirmed by Romain, this is now the correct defaut behaviour and won't be fixed by openejb. -- Éric Chatellier - www.codelutin.com - 02.40.50.29.28
