File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes Problem in Externalizing the Configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Problem in Externalizing the Configuration" Watch "Problem in Externalizing the Configuration" New topic

Problem in Externalizing the Configuration

sweety mehra

Joined: Feb 09, 2007
Posts: 9
I am externalizing the configuration properties in Spring by using a seperate properties file.""
and then I configure the following bean in my bean wiring file:

<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location">
<bean id="receive" class="package1.package2.utility.receive" abstract="false" singleton="false" lazy-init="default" autowire="default" dependency-check="default">
<property name="Url">

But on deploying this war on WebLogic 8 .I am getting following problem : start() failed. Module: ITdata Error: Could not load properties; nested exception is Could not open ServletContext resource [/] - with nested exception: [ Could not open ServletContext resource [/]]

Should i put under src or inWebrrot/web-inf/classes?
I agree. Here's the link:
subject: Problem in Externalizing the Configuration
It's not a secret anymore!