I am working on an application with two ear files, a and b. a.ear has
an ejb and b.ear looks up the ejb. they are two different ear files,
right? so, there is a jar file included in both ear files and the jar
file contains the remote home and interace of the so mentioned ejb.
The problem is that this works only if these two ear files are not
deployed in the same JBoss instance. That is, b.ear's code throws
InvalidPackagingError when the two ear files are deployed in the same
instance.
I am not sure if this is another crazy classloader problem or
whatever. well, help this old fart out. any ideas?