On Thu, 8 Mar 2001, [iso-8859-1] Jesper S�derlund wrote:
> I don't know about Tomcat 4, but in Tomcat 3.2.1 this works
> nicely. I was kind of sceptical myself so I made a very simple
> prototype to demonstrate this.
>
> I'm kind of new to Tomcat, but why are there two so disparate
> versions of Tomcat?
>
> Will they merge or will they continue on paralell tracks, in that
> case perhaps it's best to rename one of them?
Tomcat 3.X implements the 2.2 servlet spec, Tomcat 4.X implements the
2.3 servlet spec. Use the one appropriate for the spec version you
need/want to use. Eventually things will move towards the newer
versions of the spec, but that doesn't mean there won't be others
around still using older versions.
> -----Original Message-----
> From: Winters, Jason [mailto:[EMAIL PROTECTED]]
> Sent: den 8 mars 2001 15:50
> To: [EMAIL PROTECTED]
> Subject: Classloader problems - multiple versions of JAR files
>
>
> 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]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]