wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
Urgent: cannot find property file in war when packaged in ear
How to reference resources within EAR ?
TimerTask and servlet container
Deployment Problems with EJB- RemoteException
where to put xml file so it gets built in ear