| Author |
JBoss 4.2.3 class loading sequence...
|
Phani.Kiran Gutha
Greenhorn
Joined: Dec 14, 2010
Posts: 14
|
|
Hi All,
I have a jar in server/default/lib which contains Foo.class,Bar.class
and the same class is there in my application/WEB-INF/classes which is deployed in server/default/deploy.
and Example.class is using the Foo.class instance and Bar.class instance
Now the situation is that ..
Example.class shoud use the Foo.class in my application and Bar.class in Deafult/lib jar file.
In other words.
My application should use the classes in the application clases folder if not found in classes folder then it should use the class in default/lib jar files.
To do i have defined jbos-web.xml file
web-360.jar is the jar which will be default/lib.
com.eagle:eagle has no significance..
But no Luck. Throwing exception saying that class loader of instance are different.
Can any one help me
Thanks In Avance
|
 |
 |
|
|
subject: JBoss 4.2.3 class loading sequence...
|
|
|