This may seem like a strange question but does classloading in JBoss have any thing to do with how a jar is built?
I ask this because I have an application (ear file) in $JBOSS_HOME/server/all/deploy that works well when it sees the jars it needs under $JBOSS_HOME/server/all/lib directory.
One of these jars is a 3rd party library (with bugs). So I got the source code for the library and compiled and built the jar file with *same* number and names of classes.
When I place this new jar file in all/lib in place of the old one, I get ClassNotFoundExceptions.
Can anyone explain why?
It sounds like you have a package issue to me! Did you change any of the package lines in the java source?