Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » Kura emulator - unsatisfied network components(Packages unsatisfied when building from sources and running emulator mode)
Kura emulator - unsatisfied network components [message #1743662] Sun, 18 September 2016 13:52 Go to next message
gator primer is currently offline gator primerFriend
Messages: 4
Registered: September 2016
Junior Member
Hello,
I've been using kura for a couple of month, I build kura from sources to include my bundle in distrib.
Everything worked well until I upgraded to RELEASE_2.0.1, my distrib works when I run it on a raspberry 3, but in emulator mode some components are not satifsfied :

ID	State			Component Name			Located in bundle
3	Unsatisfied		org.eclipse.kura.cloud.CloudCallService org.eclipse.kura.core.cloud(bid=18)
4	Unsatisfied		org.eclipse.kura.cloud.app.command.CommandCloudApp			org.eclipse.kura.core.cloud(bid=18)
6	Unsatisfied		org.eclipse.kura.cloud.CloudService			org.eclipse.kura.core.cloud(bid=18)
7	Unsatisfied		org.eclipse.kura.status.CloudConnectionStatusService			org.eclipse.kura.core.status(bid=20)
10	Unsatisfied		org.eclipse.kura.net.admin.NetworkConfigurationService			org.eclipse.kura.net.admin(bid=31)
11	Unsatisfied		org.eclipse.kura.net.dns.DnsMonitorService			org.eclipse.kura.net.admin(bid=31)
13	Unsatisfied		org.eclipse.kura.net.EthernetMonitorService			org.eclipse.kura.net.admin(bid=31)
14	Unsatisfied		org.eclipse.kura.net.admin.NetworkAdminService			org.eclipse.kura.net.admin(bid=31)
15	Unsatisfied		org.eclipse.kura.net.CellularMonitorService			org.eclipse.kura.net.admin(bid=31)
16	Unsatisfied		org.eclipse.kura.net.WifiMonitorService			org.eclipse.kura.net.admin(bid=31)
17	Unsatisfied		org.eclipse.kura.position.PositionService			org.eclipse.kura.linux.position(bid=33)
23	Unsatisfied		org.eclipse.kura.core.deployment.CloudDeploymentHandlerV2			org.eclipse.kura.core.deployment(bid=55)
30	Unsatisfied		org.eclipse.kura.watchdog.WatchdogService			org.eclipse.kura.linux.watchdog(bid=74)
32	Unsatisfied		org.eclipse.kura.data.DataService			org.eclipse.kura.core(bid=77)
37	Unsatisfied		org.eclipse.kura.core.data.transport.mqtt.MqttDataTransport			org.eclipse.kura.core(bid=77)



When I command "comp" on unsatisfied components I find that many of them depends on NetworkConfigurationService which is also not satisfied :
The following references are not satisfied:
    Reference[name = ModemManagerService, interface = org.eclipse.kura.net.admin.modem.ModemManagerService, policy = dynamic, cardinality = 0..1, target = null, bind = setModemManagerService, unbind = unsetModemManagerService]
  Component configurations :
  *The component has NO built configurations! The reason might be that it requires initialization by configuration provided by Configuration Admin but none was found




I also noted that when emulator starts, it logs "duplicate components" messages :

!MESSAGE [SCR] Found components with duplicated names! Details: 
Component1 : Component[
	name = org.eclipse.kura.net.NetworkService
	activate = activate
	deactivate = deactivate
	modified = 
	configuration-policy = optional
	factory = null
	autoenable = true
	immediate = true
	implementation = org.eclipse.kura.emulator.net.EmulatedNetworkServiceImpl
	state = Unsatisfied
	properties = {service.pid=org.eclipse.kura.net.NetworkService}
	serviceFactory = false
	serviceInterface = [org.eclipse.kura.net.NetworkService]
	references = {
		Reference[name = Emulator, interface = org.eclipse.kura.emulator.Emulator, policy = static, cardinality = 1..1, target = null, bind = setEmulator, unbind = unsetEmulator]
	}
	located in bundle = org.eclipse.kura.emulator.net_1.0.2.qualifier [75]
]
Component2: Component[
	name = org.eclipse.kura.net.NetworkService
	activate = activate
	deactivate = deactivate
	modified = 
	configuration-policy = optional
	factory = null
	autoenable = true
	immediate = true
	implementation = org.eclipse.kura.linux.net.NetworkServiceImpl
	state = Unsatisfied
	properties = {service.pid=org.eclipse.kura.net.NetworkService}
	serviceFactory = false
	serviceInterface = [org.eclipse.kura.net.NetworkService]
	references = {
		Reference[name = UsbService, interface = org.eclipse.kura.usb.UsbService, policy = static, cardinality = 1..1, target = null, bind = setUsbService, unbind = unsetUsbService]
		Reference[name = EventAdmin, interface = org.osgi.service.event.EventAdmin, policy = static, cardinality = 1..1, target = null, bind = setEventAdmin, unbind = unsetEventAdmin]
	}
	located in bundle = org.eclipse.kura.linux.net_1.0.11.qualifier [11]
] 



The same message appears for UsbService, WatchdogService and PositionService...

Am i missing something? Does anyone encountered with issue? Any help would be appreciated.
Thanks.


NOTE: I tried use develop branch but the same problem occurs..
Re: Kura emulator - unsatisfied network components [message #1743790 is a reply to message #1743662] Mon, 19 September 2016 15:59 Go to previous messageGo to next message
Pierre Pitiot is currently offline Pierre PitiotFriend
Messages: 16
Registered: April 2015
Junior Member
Hello,

this is the same issue that is described in https://www.eclipse.org/forums/index.php?t=msg&th=1081276&goto=1743639&#msg_1743639.
You need to configure the emulator.

Regards
--Pierre
Re: Kura emulator - unsatisfied network components [message #1743812 is a reply to message #1743790] Mon, 19 September 2016 20:01 Go to previous message
gator primer is currently offline gator primerFriend
Messages: 4
Registered: September 2016
Junior Member
Hi Pierre,
I posted this message twice, thinking the first wasn't submitted.. apologizes
Thank you for the double reply
Previous Topic:The import jdk.dio cannot be resolved
Next Topic:Kura Modbus
Goto Forum:
  


Current Time: Thu Sep 26 05:45:11 GMT 2024

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

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

Back to the top