Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » more 3.6 update issues
more 3.6 update issues [message #1231567] Wed, 15 January 2014 00:27
Jacob Hameiri is currently offline Jacob HameiriFriend
Messages: 43
Registered: December 2010
Member
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>
Previous Topic:3.0.1 to 3.6 migration issues
Next Topic:3.6 migration issues
Goto Forum:
  


Current Time: Fri Nov 28 13:49:51 GMT 2014

Powered by FUDForum. Page generated in 0.07440 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software