Thx but I ended up using this instead in Spring context xml (it works in
another app):
<bean id="propertyConfigurer"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>file:./etc/nextgate/wf/wfConfig.properties</value>
</list>
</property>
</bean>
<bean id="dataSource"
class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName">
<value>${jdbc.driverClassName}</value>
</property>
<property name="url">
<value>${jdbc.url}</value>
</property>
<property name="username">
<value>${jdbc.username}</value>
</property>
<property name="password">
<value>${jdbc.password}</value>
</property>
</bean>
--
View this message in context:
http://karaf.922171.n3.nabble.com/datasource-jndi-lookup-problem-in-WAB-tp4032971p4032976.html
Sent from the Karaf - User mailing list archive at Nabble.com.