Dan Rush wrote:
seems like when they are in app-inf/lib, they are public to jms processes which makes the objects being passed have 2 different classpaths, or something like that.
APP-INF/lib? Are you sure? Because JBoss AS doesn't give any special treatment to such folder.
Yes I'm sure. I also have to put an entry in META-INF\application.xml to get my app to see the jar like this:
maybe that has something to do with it.
Okay, so you have explicitly added the jar in that folder as a java module. Without that, JBoss AS won't even consider that folder to be in classpath.
OK, currently in this ear, there is 3 war files with empty WEB-INF/lib folders and all the jars they use are in APP-INF/lib with respective application.xml entries like above. Sounds like this shouldn't be setup like this. Each war should have their own copy of jars in their respective web-inf/lib folder, correct? Thanks for your help