-
1. classloading in jboss 4.2.3.ga
jaikiran Feb 7, 2011 1:52 AM (in response to mrfixit440)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.
-
2. classloading in jboss 4.2.3.ga
mrfixit440 Feb 10, 2011 12:42 PM (in response to jaikiran)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:
<module>
<java>APP-INF/lib/foo_name.jar</java>
</module>
maybe that has something to do with it.
-
3. classloading in jboss 4.2.3.ga
jaikiran Feb 11, 2011 2:13 AM (in response to mrfixit440)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.
-
4. classloading in jboss 4.2.3.ga
mrfixit440 Feb 11, 2011 1:32 PM (in response to jaikiran)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