aspose file tools*
The moose likes Websphere and the fly likes How the CLASSLOADER works? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "How the CLASSLOADER works?" Watch "How the CLASSLOADER works?" New topic
Author

How the CLASSLOADER works?

Paul Duer
Ranch Hand

Joined: Oct 10, 2002
Posts: 98
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

Joined: Jul 03, 2002
Posts: 11
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How the CLASSLOADER works?