File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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

Joined: Jul 03, 2002
Posts: 11
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
I agree. Here's the link:
subject: How the CLASSLOADER works?
It's not a secret anymore!