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.

Reply via email to