Do you do a global lookup of a not remote bean in the other ear? This doesnt work.
Alternatives are to use jars.txt or the system property to scan the container but I would recommand you to sanitize your ears to comply to the spec. Le 23 janv. 2018 07:43, "Dignesh" <[email protected]> a écrit : > Hi Romain, > > I copied all the jars of lib in ear a to the lib in ear b. I am seeing > classcastexceptions now. perhaps this could be due to the class loading > conflicts ? > > dignesh.learning.MyPoolTest cannot be cast to dignesh.learning.MyPoolTest. > > MyPoolTest class is present in lib of both ear a and b > > > > -- > Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev- > f982480.html >
