GeeCON Prague 2014*
The moose likes EJB and other Java EE Technologies and the fly likes Help needed in setting Application class loader policy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Help needed in setting Application class loader policy" Watch "Help needed in setting Application class loader policy" New topic
Author

Help needed in setting Application class loader policy

Markis
Greenhorn

Joined: Jun 04, 2007
Posts: 4
Hi,

I have an enterprise application which has 2 ejb & 2 web modules. I need the application to hav a Single class loader. I am achieving this by manually changing the Class loading policy in Websphere [6.1] admin console.

Wanted to know is there any way to set this option in on of the deployment descriptors so that there wouldn't be any need for manual changing of this option?

Also, if you can point to same info for most application servers that would be great.
Any help in this regard would be much appreciated.

Regards,
Markis
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3710
    
    5

"Markis",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
Scott


My Blog: Down Home Country Coding with Scott Selikoff
Rejeev Divakaran
Greenhorn

Joined: Aug 12, 2007
Posts: 27
Weblogic Server has tag in it's deployment descriptors (weblogic-application.xml) for this. Tag name is [classloader-structure]
Pramati Application Server is also having similar tags. Not sure about others.


Regards,<br />Rejeev<br />Blog: <a href="http://rejeev.blogspot.com/" target="_blank" rel="nofollow">http://rejeev.blogspot.com/</a>
 
GeeCON Prague 2014
 
subject: Help needed in setting Application class loader policy