Websphere EAR deployment-classloader problem

Hello,

I am trying to deploy an EAR file in WAS 6.1 which is having 1 ejb jar, 1 war and some utility jar files. EAR structure is as following...

EAR\testj2ee-ejb.jar

EAR\jars\commons-codec.jar, commons-collections.jar, commons-configuration.jar, commons-fileupload.jar, commons-lang.jar jars/commons-logging.jar, ojdbc14.jar, oracle9i_2.jar, rowset.jar, xercesImpl.jar

EAR\testj2ee.war

EAR\META-INF\MANIFEST.MF

My application is a spring application and spring.jar is available in classpath of WAS 6.1 app server itself. Now my web module has a spring bean definition which depends on a FileUpload class file which is in commons-fileupload.jar but unfortunately my spring bean in web module is not able to find it. As per my knowledge of class loaders, class loader of web module should first ask to it's parent class loader which is EAR application class loader and this class loader should be able to load FileUpload class for web module.

I will be grateful if anybody can give some help to resolve this issue.

Regards

Rishi Dev [ http://www.nastec.biz ]

[1133 byte] By [RDX@NASTECa] at [2007-10-3 6:47:57]
# 1
Sorry, this is not a WebSphere technology forum. This forum is for AVK users. Ask your question somewhere else.Sahoo
sahooa at 2007-7-15 1:38:15 > top of Java-index,Enterprise & Remote Computing,AVK Portability...
# 2
I faced a similar problem in WAS 5.1.Open your Enterprise application[YOUR deployed ear in your WAS admin console]Change WAR ClassLoader policy to application rather than module.That should hopefully solve your issue.
Shankiea at 2007-7-15 1:38:15 > top of Java-index,Enterprise & Remote Computing,AVK Portability...