I've just solved another *I-though-I-was-using-this-version-of-a-library-but-apparently-my-app-server-has-already-loaded-an-older-version-of-this-library-*issue (sigh).
Does anybody know a good way to verify (or monitor) whether your application has access to all the appropriate jar-files, or loaded class-versions?
Thanks in advance!
[P.S. A very good reason to start using the OSGi module architecture in my view!]
Update: This article helped as well! It gave me insight which classes JBoss' classloader loaded by writing it to a log file.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…