Kura emulator - unsatisfied network components [message #1743662] |
Sun, 18 September 2016 13:52 |
gator primer 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..
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04929 seconds