[jboss-user] [JBoss/Spring Integration] - classloader class isolation and .spring archive.

rishabh2u do-not-reply at jboss.com
Fri Apr 11 01:41:09 EDT 2008


Hi all,
I have a .spring archive of an application which uses CollectionFactory class from spring-2.0.7.jar. This class has a new method added to the it called createIdentityMapIfPossible() in this version of the jar. The spring deployer I am using has an older version on this class without this method. 
Now when I start JBoss the spring deployer is loaded first and then my .spring archive ( as it uses this deployer). Because the deployer has an older version of this class I get errors as my code cant find the createIdentityMapIfPossible() method.
The way around this to isolate my application from the other classes by configuring my class path. Now as per the article http://wiki.jboss.org/wiki/ClassLoadingConfiguration 
I can achieve this for EAR,WAR and SARs but what about .spring archives???

Any thoughts are appreciated.

-Rish.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143351#4143351

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143351



More information about the jboss-user mailing list