1 Reply Latest reply on Apr 7, 2005 3:01 AM by Michael Ossareh

    Replacing 3rd party jar with jar built from source code thro

    Vijay Kandy Newbie

      Hello,

      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?

      Regards,
      Vijay Kandy