• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How the CLASSLOADER works?

 
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic