After updating to 3.6 from 3.0.1, for some strange reason virgo is saying that a service is not found ( causing my bundle start to wait for a long time ) and throwing :
ERROR System.err - org.eclipse.gemini.blueprint.service.ServiceUnavailableException: service matching filter=[(objectClass=javax.sql.DataSource)] unavailable
but in fact it is there and the bundle succeeds referencing it.
Is it some change caused by gemini blueprint ?
this is the deceleration of the service :
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/osgi
http://www.springframework.org/schema/osgi/spring-osgi.xsd"
xmlns:osgi="http://www.springframework.org/schema/osgi">
<osgi:service ref="dataSource" interface="javax.sql.DataSource"/>
</beans>
this is the reference :
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/osgi
http://www.springframework.org/schema/osgi/spring-osgi.xsd"
xmlns:osgi="http://www.springframework.org/schema/osgi">
<!-- import the DataSource from OSGi -->
<osgi:reference id="dataSource" interface="javax.sql.DataSource" />
</beans>