Hi, Redirect to servicemix mailing list as it's most suitable to discuss it there.
Anyway, you need post more complete configuration and tell us which kind of packaging your SA are using, it's JBI packaging or OSGi packaging? Freeman ------------- Freeman Fang FuseSource Email:[email protected] Web: fusesource.com Twitter: freemanfang Blog: http://freemanfang.blogspot.com http://blog.sina.com.cn/u/1473905042 weibo: http://weibo.com/u/1473905042 On 2012-7-24, at 下午11:22, gasius wrote: > Hi, > > I need to move some JBI applications to ServiceMix 4.4.2 and I'm having > trouble when trying to get shared OSGi services in xbean.xml. I added needed > namespaces, schemas and osgi library imports but OSGi reference > > *<osgi:reference id="connectionFactory" > interface="org.apache.activemq.pool.PooledConnectionFactory" />* > > does not work. I'm getting such error message: > > /Error creating bean with name 'connectionFactory': Invocation of init > method failed; nested exception is java.lang.IllegalArgumentException: > Required 'bundleContext' property was not set./ > > Also I got same error when tried to read properties from cfg file: > > *<osgix:cm-properties id="props" persistent-id="my.props">* > > Could you please assist me with this? > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Unable-to-get-OSGi-service-in-JBI-application-tp4025300.html > Sent from the Karaf - User mailing list archive at Nabble.com.
