Hi,
I deployed Spring batch admin web application in tomcat. It works fine with the default jobs provided. I added a new xml file with my jobs and some of the beans specified in the XML have placeholders configured. I am using the following code to load the properties file
<bean class="org.springframework.beans.factory.config.Pr opertyPlaceholderConfigurer" id="ocaPlaceholderConfig">
<property name="location" value="file:/Projects/GHJ/POC/Spring-batch/config/environment_ghj.properties"></property>
<property name="ignoreUnresolvablePlaceholders" value="true" />
</bean>
The property file doesnt seem to get loaded at all. I get an error while loading the beans which have the placeholders saying "Could not resolve placeholder 'sys.queue.name'". I dont see any log saying that the property file is getting loaded.
But I see that the property file required to load the HSQL database is getting loaded without any issues(batch-hsql.properties).
Are there any filters configured in the spring batch admin application to only load a specific set of properties file?
Appreciate your help on this.


:/Projects/GHJ/POC/Spring-batch/config/environment_ghj.properties"></property>
Reply With Quote