tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Chatellier <>
Subject Re: Upgrade from 4.5.2 to issue
Date Wed, 14 May 2014 08:30:52 GMT
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

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 - -

View raw message