I'm having a problem with multiple versions of JAR files under different
applications in Tomcat 4.0b1.  We have two web applications running under
Tomcat.  Each application has a copy of a JAR file that was written
in-house.  Our webapps directory looks something like this:

webapps/alpha/WEB-INF/lib/myframework.jar
This version of the JAR file is at version 1.2.

webapps/beta/WEB-INF/lib/myframework.jar
This version of the JAR file is at version 1.3 and includes classes that did
not exist in version 1.2.  

When the beta application references a class from myframework.jar, it seems
to pull from version 1.2 of the JAR file.  If we try to reference a class
that didn't exist in version 1.2 we get NoClassDefFound exceptions.  If we
update the alpha application to use version 1.3 of myframework.jar
everything seems to work fine.  The myframework.jar file exists only in
webapps/xxxx/WEB-INF/lib directories.  It does not exist in the system
classpath, $CATALINA_HOME/lib, or $CATALINA_HOME/server/lib.

Does anyone have any idea why this happens and how to fix it?

Jason

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to