Freeman,

I am not sure what I changed, but now I am able to use classpath prefix to
read the config file within the bundle.

private static ApplicationContext ctx = new
ClassPathXmlApplicationContext("classpath:dataSourceApplicationContext.xml");
    private static DataSource spacer_ds = (DataSource)
ctx.getBean("spacer_ds");  
    
Will post more if I found out why.

Thanks for looking into this.
-- 
View this message in context: 
http://servicemix.396122.n5.nabble.com/not-able-to-read-config-file-from-java-code-within-a-bundle-tp1727886p1861476.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to