Hello.
I am using Spring propertyPlaceholder to externalize various component
configurations and successful if they are in the same src/main/resources
directory. Moreover, I have no problems doing the same with config resources
in JNDI (sample below), except for http-su and jms-su that complain about
JNDI factory.initial System properties during Maven build. Any ideas?
<bean id="propertyPlaceholder"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location">
<bean
class="org.springframework.core.io.FileSystemResource">
<constructor-arg>
<bean
class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiName"
value="external/config/somedir/product.properties"/>
</bean>
</constructor-arg>
</bean>
</property>
</bean>
--
View this message in context:
http://www.nabble.com/Externalizing-configurations-to-JNDI-for-http-su-and-jms-su-does-not-work.-tf4324128s12049.html#a12314292
Sent from the ServiceMix - User mailing list archive at Nabble.com.