Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How the CLASSLOADER works?

 
Paul Duer
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
We have a Websphere Studio 5 setup here. We have a set of Java Projects with our code base in them, then we have a Web Project, and a J2EE project. Finally we have a servers project and a server config and instance in there to run our webapp.
My question is this. What is the classloader policy for a server like this? I know that any .jar file I put in WEB-INF/lib/ will be loaded and any project I put in the Web Library Content settings will also be loaded class by class. Is that ALL that loads? Or does WSAD add things to the classpath to start the server, or is the server start using a different java instance?
 
Rajesh Pillai
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
By default the server configurations are :
class loader policy : multiple
class loader mode : Parent_first.
You can see this in WSAD by double clicking the server configuration and then clicking the 'configuration' and 'application' tabs.
Hope this helps.
Thank you
Rajesh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic