Hello

I've noticed what I think to be strange behaviour from JBoss 3.2.6.

I have two versions of a particular JAR used in two WAR's (deployed
within two EARs).

e.g. :
myapp1.ear/myweb1.war/WEB-INF/lib/myJar-1.0.jar
myapp2.ear/myweb2.war/WEB-INF/lib/myJar-1.1.jar

Both web applications seem to load the same JAR (myJar-1.0.jar). This
leads to a "MethodNotFoundException".

I can only assume that JBoss builds up a global classpath and uses that
to load any class required by any application. If this is true, then
how can we ever control versioning of JARs? Surely if my application
needs to use a particular version of a JAR then it should be able to do
this?

Any input here would be gladly received.

Regards
Paul

Reply via email to