<feature name="stats-mbean" description="Stats MBEAN" version="1.0.0">
<bundle>file:D:/temp/stats-mbean-1.0.0.jar</bundle>
</feature>
[caused by: Unable to resolve stats-mbean/1.0.0: missing requirement [stats-mbean/1.0.0] osgi.service; effective:=active; filter:="(&(objectClass=javax.sql.DataSource)(osgi.jndi.service.name=dw-datasource))"]]
<reference id="dw" interface="javax.sql.DataSource" filter="(osgi.jndi.service.name=dw-datasource)" />
--
--
------------------
OPS4J - http://www.ops4j.org - op...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/9af972cd-1d8d-42ec-9506-889d417e6c5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,
Clearly, the filter doesn't match. I would recommend to try to change the filter, using name instead of jndi name. I hope you installed jndi feature to use jndi name ?
Regards
JB
By the way, did you check you don't have a race condition like you start the bundle (installing the feature) whereas the datasource service is not yet there ?
As workaround you can define the service ref as optional, it will reload once the service is there.
Regards
JB
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/CAAdXmhrLPfu1qTtyeK3BAU5EW6Q5QR%2BvspQo23s83v6f5pR-gQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/96d0da11-5614-ae81-a0c4-5640b87b1b1d%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/96d0da11-5614-ae81-a0c4-5640b87b1b1d%40gmail.com.
Hi,
Ok, that's weird, it means that your bundle is starting before the DataSource service is available for sure.
Regards
JB
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/CAGv3bDf1UdWKqNphbhoxh%2B1VC%3DXtVSiKgZfoSV24aCXB%3DzxfXw%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to op...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/9af972cd-1d8d-42ec-9506-889d417e6c5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
------------------
OPS4J - http://www.ops4j.org - op...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email to op...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/96d0da11-5614-ae81-a0c4-5640b87b1b1d%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
--
------------------
OPS4J - http://www.ops4j.org - op...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email to op...@googlegroups.com.
--
--
------------------
OPS4J - http://www.ops4j.org - op...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/9af972cd-1d8d-42ec-9506-889d417e6c5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,
I guess your bundle contains Requirement in META-INF/MANIFEST. Did you check the feature providing the DataSource provides the Capability ?
Regards
JB
To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/5a666810-4e57-4f91-81a4-0e2c43da9f21%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/CAH6_LNnsG4DM7Ux5gJE%3DA8cSu0XN%3DQS6wCSyK-fUi77hQi4%2BnQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/414dc70a-fe98-ed38-6849-83f224ad503a%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/CAGv3bDfGVzhKxniRb%3DFEEd_ZxZ61qUgXeQ6TMNK7A6QMsN0nNg%40mail.gmail.com.
See the Import-Service, that's the requirement. You have to provide a bundle/feature with the capability.
I will provide an example to you.
Regards
JB
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/CAGv3bDfGVzhKxniRb%3DFEEd_ZxZ61qUgXeQ6TMNK7A6QMsN0nNg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/6307c919-1a6a-4ee5-fc78-d79a28d8fe2d%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/CAAdXmhqeK8%3DnJhs1hXrFLJpdu_HHaXE_tvHnubOHKtnit_dxww%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/5a666810-4e57-4f91-81a4-0e2c43da9f21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
------------------
OPS4J - http://www.ops4j.org - op...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email to op...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/414dc70a-fe98-ed38-6849-83f224ad503a%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
--
------------------
OPS4J - http://www.ops4j.org - op...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email to op...@googlegroups.com.