We have a servlet and ejb packaged in an .ear file which uses our utils.jar file.
If we put utils.jar in the classpath in run.sh, the ear is loading and working fine, but when we drop the utils.jar in the server/default/lib dir, jboss is giving file (in utils.jar) not found exception.
We need this way by putting the utils.jar in server/default/lib because the same utils.jar is needed by another web application packaged in a .war file.
How can we rectify this ? We r using jboss 3.0.6
do you have both set at the same time? Make sure no references exist if it is in default/lib/