This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Weblogic Classloader Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Weblogic Classloader Problem" Watch "Weblogic Classloader Problem" New topic
Author

Weblogic Classloader Problem

Manjunatha N.S.
Greenhorn

Joined: Dec 30, 2003
Posts: 16
I have webservices and Cron Job(impelments ServletContextListener) packaged into a Ear. Cron Job uses the Properties file to configure itself and property file is packaged in Ear.

But I have problem in loading of Properties using getResourceStream(). If I places Properties file under userDomain it is working fine for Thread.currentThread().getContextClassLoader() and ClassLoader.getSystemClassLoader().getResourceAsStream. Can you please explain why it is not loading Properties file from the Ear.


thanks
Manju
Ajay Reddy
Ranch Hand

Joined: Apr 08, 2005
Posts: 43
As far as I understand, the property file should not be part of the ear. It should be seperate and can be placed anywhere in your weblogic domain.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Weblogic Classloader Problem