• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Class Loading Question

 
asdasd asddad
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am facing a problem where i currently dont have a test condition , unless i change a development box , which will affect all developers.
If any one has come accross the below condition before.Could you please clarify on what would happen??

1)I am working on Websphere App server 4.0
2)Default delegation mode for all ears on this servers has been set
to "Parent_Last".
3)Lets consider a jar ( name as ranch.jar for easy understanding)
This jar is present both in the ear and in the app extension directory
i.e lib/app.
Diagram :

App Ext Class loader ( lib/app ) --> ranch.jar
|
|
|
V
Application Class Loader ( ear ) --> ranch.jar

If i create a class say "Moose" ( which is contained in the ranch.jar
only) in lib/app
and send it to ear.
What will happen
1) i will get a class loader visibilty exception?
2) i wont get any exceptions it will work .

Your inputs would be greatly appreciated.

Thanks,
Samir.
 
Valentin Tanase
Ranch Hand
Posts: 704
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Check this article:
http://www.theserverside.com/articles/article.tss?l=ClassLoading
Regards
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic