I have 2 ear : a.ear and b.ear.
In a.ear, I have a lib named myLib.jar, in version x, and referenced in the MANIFEST file of the ejbs.
In b.ear, I have a lib named myLib.jar, in version x + 1 (a method MyClass.newMethod() have been added in one of the classes), and referenced in the MANIFEST file of the ejbs.
In a JSP in the b.war of the b.ear file, I use this new method MyClass.newMethod(), and I have a compile error... If I copy the myLib.jar version x + 1 into a.ear, the compile error disapear.
I think it is a bug because JSPs in b.ear should use the myLib.jar in b.ear, not the one in a.ear !!!
see
http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t=forums/ think it will sovle your problem.