Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [kura-dev] Running web bundle over concierge


Hi Dave,

Thanks for your reply. Sorry I didn't reply sooner. I managed to resolve the missing dependencies and get the web console running over Concierge. I have changed my Concierge launch configuration to include all the missing dependencies. There were some bugs in the Kura code as well that interfered which have now been resolved. I have created a pull request for the concierge branch in Kura against my fork of the repo. Appreciate your feedback!

https://github.com/eclipse/kura/pull/16

For your reference I have given the Concierge console output below:

Concierge> bundles
Bundles:
[ 0] (active) org.eclipse.concierge
[ 1] (active) Concierge Shell
[ 2] (resolved) Apache Log4j
[ 3] (resolved) Apache Extras Companion™ for Apache log4j™.
[ 4] (active) slf4j-api
[ 5] (resolved) slf4j-log4j12
[ 6] (active) org.eclipse.concierge.service.xmlparser
[ 7] (active) OSGi Release 4.2.0 Services
[ 8] (active) Supplemental Equinox Functionality
[ 9] (active) Equinox Util Bundle
[10] (active) Configuration Admin
[11] (active) org.eclipse.concierge.extension.permission
[12] (active) Common Eclipse Runtime
[13] (active) Extension Registry Support
[14] (active) Event Admin
[15] (active) Meta Type
[16] (active) Eclipse Preferences Mechanism
[17] (active) Declarative Services
[18] (active) Servlet API Bundle
[19] (active) Jetty :: Utilities
[20] (active) Jetty :: IO Utility
[21] (active) Jetty :: Http Utility
[22] (active) Jetty :: Continuation
[23] (active) Jetty :: Server Core
[24] (active) Jetty :: Security
[25] (active) Jetty :: Servlet Handling
[26] (active) Http Services Servlet
[27] (active) Jetty Http Service
[28] (active) javax.usb API from javax-usb
[29] (active) bundle.name
[30] (active) osgi.cmpn
[31] (active) IO Connector Service
[32] (active) Eclipse Paho MQTT Client
[33] (active) HSQLDB
[34] (active) Apache ServiceMix :: Bundles :: protobuf-java
[35] (active) Commons IO
[36] (active) Apache Commons Net
[37] (active) javax.usb Common from javax-usb
[38] (active) Apache Commons FileUpload
[39] (active) User
[40] (active) org.eclipse.kura.api
[41] (active) org.eclipse.kura.core
[42] (active) org.eclipse.kura.core.cloud
[43] (active) org.eclipse.kura.core.comm
[44] (active) org.eclipse.kura.core.configuration
[45] (active) org.eclipse.kura.core.crypto
[46] (active) org.eclipse.kura.deployment.agent
[47] (active) org.eclipse.kura.core.deployment
[48] (active) org.eclipse.kura.core.net
[49] (active) org.eclipse.kura.linux.clock
[50] (active) org.eclipse.kura.linux.command
[51] (active) org.eclipse.kura.linux.net
[52] (active) org.eclipse.kura.linux.position
[53] (active) org.eclipse.kura.linux.usb
[54] (active) org.eclipse.kura.linux.watchdog
[55] (active) org.eclipse.kura.net.admin
[56] (active) org.eclipse.kura.web


Concierge> services
Services:
Concierge System Bundle
    [Service 1] [org.osgi.service.resolver.Resolver]
[org.eclipse.concierge.service.xmlparser-1.0.0.201407191653]
    [Service 2] [javax.xml.parsers.SAXParserFactory]
    [Service 3] [javax.xml.parsers.DocumentBuilderFactory]
[org.eclipse.equinox.util-1.0.500.v20130404-1337]
    [Service 4] [org.eclipse.equinox.internal.util.threadpool.ThreadPoolManager, org.eclipse.equinox.internal.util.threadpool.ThreadPoolFactory]
    [Service 5] [org.eclipse.equinox.internal.util.timer.Timer]
[org.eclipse.equinox.cm-1.0.400.v20120522-1841]
    [Service 6] [org.osgi.service.cm.ConfigurationListener]
    [Service 7] [org.osgi.service.cm.ConfigurationAdmin]
[org.eclipse.equinox.common-3.6.100.v20120522-1841]
    [Service 8] [org.eclipse.osgi.service.urlconversion.URLConverter]
    [Service 9] [org.eclipse.core.runtime.IAdapterManager]
    [Service 10] [org.osgi.service.url.URLStreamHandlerService]
[org.eclipse.equinox.registry-3.5.200.v20120522-1841]
    [Service 11] [org.eclipse.core.runtime.IExtensionRegistry]
    [Service 12] [org.eclipse.osgi.framework.console.CommandProvider]
[org.eclipse.equinox.event-1.2.200.v20120522-2049]
    [Service 13] [org.osgi.service.event.EventAdmin]
    [Service 18] [org.osgi.service.event.EventAdmin]
[org.eclipse.equinox.metatype-1.2.0.v20120522-1841]
    [Service 14] [org.osgi.service.metatype.MetaTypeService, org.eclipse.equinox.metatype.EquinoxMetaTypeService]
[org.eclipse.equinox.preferences-3.5.0.v20120522-1841]
    [Service 15] [org.eclipse.core.runtime.preferences.IPreferencesService]
    [Service 16] [org.osgi.service.prefs.PreferencesService]
[org.eclipse.equinox.ds-1.4.0.v20120522-1841]
    [Service 17] [org.osgi.service.cm.ConfigurationListener]
    [Service 19] [org.eclipse.osgi.framework.console.CommandProvider]
    [Service 20] [org.apache.felix.scr.ScrService]
[org.eclipse.equinox.http.servlet-1.1.300.v20120522-1841]
    [Service 21] [org.osgi.service.http.HttpService, org.eclipse.equinox.http.servlet.ExtendedHttpService]
[org.eclipse.equinox.http.jetty-3.0.0.v20120522-1841]
    [Service 22] [org.osgi.service.cm.ManagedServiceFactory]
[org.eclipse.equinox.io-1.0.400.v20120522-2049]
    [Service 23] [org.osgi.service.io.ConnectorService]
[org.eclipse.kura.core-0.2.0.201408182041]
    [Service 24] [org.eclipse.kura.system.SystemAdminService]
    [Service 31] [org.eclipse.kura.system.SystemService]
    [Service 32] [org.eclipse.kura.db.DbService]
    [Service 39] [org.eclipse.kura.ssl.SslManagerService]
    [Service 40] [org.eclipse.kura.data.DataTransportService, org.eclipse.kura.ssl.SslServiceListener]
    [Service 41] [org.eclipse.kura.configuration.ConfigurableComponent, org.eclipse.kura.data.DataTransportListener, org.eclipse.kura.data.DataService]
[org.eclipse.kura.core.cloud-0.2.0.201408182041]
    [Service 42] [org.eclipse.kura.cloud.CloudCallService, org.eclipse.kura.data.DataServiceListener]
    [Service 43] [org.osgi.service.event.EventHandler]
    [Service 44] [org.eclipse.kura.cloud.CloudService, org.eclipse.kura.data.DataServiceListener, org.eclipse.kura.configuration.ConfigurableComponent, org.eclipse.kura.cloud.CloudPayloadProtoBufEncoder, org.eclipse.kura.cloud.CloudPayloadProtoBufDecoder]
[org.eclipse.kura.core.comm-0.2.0.201408182041]
    [Service 25] [org.osgi.service.io.ConnectionFactory]
[org.eclipse.kura.core.configuration-0.2.0.201408182041]
    [Service 33] [org.osgi.service.cm.ConfigurationListener]
    [Service 34] [org.eclipse.kura.configuration.ConfigurationService]
[org.eclipse.kura.core.crypto-0.2.0.201408182041]
    [Service 26] [org.eclipse.kura.crypto.CryptoService]
[org.eclipse.kura.linux.clock-0.2.0.201408182041]
    [Service 36] [org.eclipse.kura.clock.ClockService]
[org.eclipse.kura.linux.command-0.2.0.201408182041]
    [Service 27] [org.eclipse.kura.command.CommandService]
[org.eclipse.kura.linux.net-0.2.0.201408182041]
    [Service 29] [org.osgi.service.event.EventHandler]
    [Service 30] [org.eclipse.kura.net.NetworkService]
[org.eclipse.kura.linux.position-0.2.0.201408182041]
    [Service 37] [org.osgi.service.event.EventHandler]
    [Service 38] [org.eclipse.kura.position.PositionService, org.osgi.service.event.EventHandler]
[org.eclipse.kura.linux.usb-0.2.0.201408182041]
    [Service 28] [org.eclipse.kura.usb.UsbService]
[org.eclipse.kura.linux.watchdog-0.2.0.201408182041]
    [Service 35] [org.eclipse.kura.watchdog.WatchdogService]
[org.eclipse.kura.net.admin-0.2.0.201408182041]
    [Service 45] [org.osgi.service.event.EventHandler]
    [Service 46] [org.eclipse.kura.net.admin.NetworkConfigurationService]
    [Service 47] [org.osgi.service.event.EventHandler]
    [Service 48] [org.eclipse.kura.net.dns.DnsMonitorService]
    [Service 49] [org.osgi.service.event.EventHandler]
    [Service 50] [org.eclipse.kura.net.NetworkAdminService]
    [Service 51] [org.osgi.service.event.EventHandler]
    [Service 52] [org.eclipse.kura.net.modem.ModemMonitorService, org.eclipse.kura.net.admin.modem.ModemManagerService]
    [Service 53] [org.osgi.service.event.EventHandler]
    [Service 54] [org.eclipse.kura.net.wifi.WifiClientMonitorService]
    [Service 55] [org.osgi.service.event.EventHandler]
    [Service 56] [org.eclipse.kura.net.EthernetMonitorService]


Thanks& Best Regards,
Harini




On Fri, Jul 25, 2014 at 3:04 AM, David Woodard <david.woodard@xxxxxxxxxxxx> wrote:
Hello Harini,

I believe you are still having dependency issues before you get to the web service. Does the Concierge console have the 'ls' command? This gives a nice summary of the components and their state. If not, can you do a 'comp <service_number>' for each service listed? This will show if all dependencies have been satisfied. Also, there should be a /var/log/kura-console.log file. Can you see if there are any errors there?

Thanks,
--Dave

On 7/24/14, 11:14 AM, Harini Sirisena wrote:
Hi,

Sorry about the delayed reply. Thank you for the responses. I was missing a dependency of org.apache.felix.scr which is required by the kura.core bundle. I included the equinox.ds bundle in the concierge launch so that it would provide the org.apache.felix.scr bundle. Should I instead include the org.apache.felix.scr bundle directly? I came across this bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=436729. Can this be the reason the kura.core resolved and activated over concierge despite the missing dependency?

The concierge console output is now as given below,

Concierge> bundles
Bundles:
[ 0] (active) org.eclipse.concierge
[ 1] (active) Concierge Shell
[ 2] (resolved) Apache Log4j
[ 3] (resolved) Apache Extras Companion™ for Apache log4j™.
[ 4] (active) slf4j-api
[ 5] (resolved) slf4j-log4j12
[ 6] (active) org.eclipse.concierge.extension.permission
[ 7] (active) OSGi Release 4.2.0 Services
[ 8] (active) Supplemental Equinox Functionality
[ 9] (active) Equinox Util Bundle
[10] (active) Declarative Services
[11] (active) Servlet API Bundle
[12] (active) Apache Commons FileUpload
[13] (active) User
[14] (active) Jetty :: Utilities
[15] (active) Jetty :: IO Utility
[16] (active) Jetty :: Continuation
[17] (active) Jetty :: Http Utility
[18] (active) Jetty :: Server Core
[19] (active) Jetty :: Security
[20] (active) Jetty :: Servlet Handling
[21] (active) Http Services Servlet
[22] (active) Jetty Http Service
[23] (active) javax.usb API from javax-usb
[24] (active) bundle.name
[25] (active) osgi.cmpn
[26] (active) IO Connector Service
[27] (active) Eclipse Paho MQTT Client
[28] (active) HSQLDB
[29] (active) Apache ServiceMix :: Bundles :: protobuf-java
[30] (active) Apache Commons Net
[31] (active) Commons IO
[32] (active) javax.usb Common from javax-usb
[33] (active) org.eclipse.kura.deployment.agent
[34] (active) org.eclipse.kura.api
[35] (active) org.eclipse.kura.core
[36] (active) org.eclipse.kura.core.cloud
[37] (active) org.eclipse.kura.core.comm
[38] (active) org.eclipse.kura.core.configuration
[39] (active) org.eclipse.kura.core.crypto
[40] (active) org.eclipse.kura.core.deployment
[41] (active) org.eclipse.kura.core.net
[42] (active) org.eclipse.kura.linux.clock
[43] (active) org.eclipse.kura.linux.command
[44] (active) org.eclipse.kura.linux.net
[45] (active) org.eclipse.kura.linux.position
[46] (active) org.eclipse.kura.linux.usb
[47] (active) org.eclipse.kura.linux.watchdog
[48] (active) org.eclipse.kura.net.admin
[49] (active) org.eclipse.kura.web


Concierge> services
Services:
Concierge System Bundle
    [Service 1] [org.osgi.service.resolver.Resolver]
[org.eclipse.equinox.util-1.0.500.v20130404-1337]
    [Service 2] [org.eclipse.equinox.internal.util.threadpool.ThreadPoolManager, org.eclipse.equinox.internal.util.threadpool.ThreadPoolFactory]
    [Service 3] [org.eclipse.equinox.internal.util.timer.Timer]
[org.eclipse.equinox.ds-1.4.200.v20131126-2331]
    [Service 4] [org.osgi.service.cm.ConfigurationListener]
    [Service 5] [org.eclipse.osgi.framework.console.CommandProvider]
    [Service 6] [org.apache.felix.scr.ScrService]
[org.eclipse.equinox.http.servlet-1.1.300.v20120522-1841]
    [Service 7] [org.osgi.service.http.HttpService, org.eclipse.equinox.http.servlet.ExtendedHttpService]
[org.eclipse.equinox.http.jetty-3.0.0.v20120522-1841]
    [Service 8] [org.osgi.service.cm.ManagedServiceFactory]
[org.eclipse.equinox.io-1.0.400.v20120522-2049]
    [Service 9] [org.osgi.service.io.ConnectorService]
[org.eclipse.kura.core-0.2.0.201407200020]
    [Service 10] [org.eclipse.kura.system.SystemAdminService]
[org.eclipse.kura.core.comm-0.2.0.201407200020]
    [Service 11] [org.osgi.service.io.ConnectionFactory]
[org.eclipse.kura.core.crypto-0.2.0.201407200020]
    [Service 12] [org.eclipse.kura.crypto.CryptoService]
[org.eclipse.kura.linux.command-0.2.0.201407200020]
    [Service 13] [org.eclipse.kura.command.CommandService]


Concierge>

I am still missing some of the kura services. Especially the web.console service, which results in the error in launching the web console in the browser.

Can anyone please suggest how to debug this issue? I have attached the kura.log file. My concierge build changes are available in my fork of kura here :https://github.com/hariniachala/kura/commits/concierge. I copied the required equinox bundles into the concierge-repo folder in target-platform. I use the below command to build kura over concierge..

mvn -f manifest_pom.xml clean install -Dmaven.test.skip=true  && mvn -f pom_pom.xml -Pweb clean install -Dkura.osgi=concierge

Thanks,
Harini




On Wed, Jul 23, 2014 at 1:16 AM, David Woodard <david.woodard@xxxxxxxxxxxx> wrote:
Harini,

Are there any errors in the log files (/var/log/kura.log, /var/log/kura-console.log)?

Are you running from the 'concierge' branch? If so, are there special instructions for compiling/running?

Thanks,
--Dave

On 7/22/14, 2:55 AM, Cristiano De Alti wrote:
Yes, 'services' does not show many other services that the same command on Equinox displays. I thought the output was truncated...

Ciao,
  Cristiano
On 22/07/2014 11:42, Benjamin Cabé wrote:
Yes but my point is that 'services' doesn’t list DeploymentAdmin … So it’s not registered neither as a DS nor a good ol’ service, which sounds bogus. So does having only 3 registered services fwiw.

Benjamin


Le 22 juil. 2014 à 11:39, Cristiano De Alti <cristiano.dealti@xxxxxxxxxxxx> a écrit :

The DeploymentAdmin is not a DeclarativeService/Component but just a regular Bundle (org.apache.felix.deploymentadmin_0.9.5). It does not show up in the list of components ('ls') but only in the list of bundles ('ss').

I'd be curious about 'comp 28' if the 'comp' command is available in the Concierge OSGi console.

Ciao,
  Cristiano
 
On 22/07/2014 10:21, Benjamin Cabé wrote:
I would be really curious to see the result of "comp 2", for example. How come "org.eclipse.kura.deployment.agent" is listed as active whereas there doesn't seem to be a DeploymentAdmin service available… 

Benjamin


De : Harini Sirisena <harini.sirisena@xxxxxxxxx>
Répondre à : Kura Developers mailing list <kura-dev@xxxxxxxxxxx>
Date : Tue, 22 Jul 2014 09:15:08 +0530
À : David Woodard <david.woodard@xxxxxxxxxxxx>
Cc : Kura Developers mailing list <kura-dev@xxxxxxxxxxx>
Objet : Re: [kura-dev] Running web bundle over concierge

Hi David,

Thanks for the reply. I have pasted the result I got for concierge and equinox below. I am launching kura using the start script inside opt/eclipse/kura/bin folder. From the results it's clear that although the kura bundles resolved over concierge the services did not start. I suspect this is due to missing equinox bundles in my concierge launch configuration. Any suggestions?

Concierge> bundles
Bundles:
[ 0] (active) org.eclipse.concierge
[ 1] (active) Concierge Shell
[ 2] (resolved) Apache Log4j
[ 3] (active) slf4j-api
[ 4] (resolved) slf4j-log4j12
[ 5] (active) javax.usb API from javax-usb
[ 6] (active) bundle.name
[ 7] (active) osgi.cmpn
[ 8] (active) Eclipse Paho MQTT Client
[ 9] (active) HSQLDB
[10] (active) Apache ServiceMix :: Bundles :: protobuf-java
[11] (active) Apache Commons Net
[12] (active) Commons IO
[13] (active) javax.usb Common from javax-usb
[14] (active) Servlet API Bundle
[15] (active) Apache Commons FileUpload
[16] (active) User
[17] (active) Jetty :: Utilities
[18] (active) Jetty :: IO Utility
[19] (active) Jetty :: Continuation
[20] (active) Jetty :: Http Utility
[21] (active) Jetty :: Server Core
[22] (active) Jetty :: Security
[23] (active) Jetty :: Servlet Handling
[24] (active) Http Services Servlet
[25] (active) Jetty Http Service
[26] (active) org.eclipse.kura.deployment.agent
[27] (active) org.eclipse.kura.api
[28] (active) org.eclipse.kura.core
[29] (active) org.eclipse.kura.core.cloud
[30] (active) org.eclipse.kura.core.comm
[31] (active) org.eclipse.kura.core.configuration
[32] (active) org.eclipse.kura.core.crypto
[33] (active) org.eclipse.kura.core.deployment
[34] (active) org.eclipse.kura.core.net
[35] (active) org.eclipse.kura.linux.clock
[36] (active) org.eclipse.kura.linux.command
[37] (active) org.eclipse.kura.linux.net
[38] (active) org.eclipse.kura.linux.position
[39] (active) org.eclipse.kura.linux.usb
[40] (active) org.eclipse.kura.linux.watchdog
[41] (active) org.eclipse.kura.net.admin
[42] (active) org.eclipse.kura.web


Concierge> services
Services:
Concierge System Bundle
    [Service 1] [org.osgi.service.resolver.Resolver]
[org.eclipse.equinox.http.servlet-1.1.300.v20120522-1841]
    [Service 2] [org.osgi.service.http.HttpService, org.eclipse.equinox.http.servlet.ExtendedHttpService]
[org.eclipse.equinox.http.jetty-3.0.0.v20120522-1841]
    [Service 3] [org.osgi.service.cm.ManagedServiceFactory]


Concierge>


osgi> ss
"Framework is launched."


id    State       Bundle
0    ACTIVE      org.eclipse.osgi_3.8.1.v20120830-144521
1    ACTIVE      org.eclipse.equinox.cm_1.0.400.v20120522-1841
2    ACTIVE      org.eclipse.equinox.common_3.6.100.v20120522-1841
3    ACTIVE      org.eclipse.equinox.registry_3.5.200.v20120522-1841
4    ACTIVE      org.eclipse.equinox.http.registry_1.1.200.v20120522-2049
5    ACTIVE      org.eclipse.equinox.console_1.0.0.v20120522-1841
6    ACTIVE      org.eclipse.equinox.ds_1.4.0.v20120522-1841
7    ACTIVE      org.eclipse.equinox.event_1.2.200.v20120522-2049
8    ACTIVE      org.eclipse.equinox.io_1.0.400.v20120522-2049
9    ACTIVE      org.eclipse.equinox.metatype_1.2.0.v20120522-1841
10    ACTIVE      org.eclipse.equinox.util_1.0.400.v20120522-2049
11    ACTIVE      org.eclipse.osgi.services_3.3.100.v20120522-1822
12    ACTIVE      org.eclipse.osgi.util_3.2.300.v20120522-1822
13    ACTIVE      org.apache.felix.gogo.command_0.8.0.v201108120515
14    ACTIVE      org.apache.felix.gogo.runtime_0.8.0.v201108120515
15    ACTIVE      org.apache.felix.gogo.shell_0.8.0.v201110170705
16    ACTIVE      org.knowhowlab.osgi.monitoradmin_1.0.2
17    ACTIVE      org.apache.felix.dependencymanager_3.0.0
18    ACTIVE      org.apache.felix.deploymentadmin_0.9.5
19    ACTIVE      osgi.cmpn_4.3.0.201111022214
20    ACTIVE      org.eclipse.equinox.http.jetty_3.0.0.v20120522-1841
21    ACTIVE      org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841
22    ACTIVE      org.eclipse.jetty.continuation_8.1.3.v20120522
23    ACTIVE      org.eclipse.jetty.http_8.1.3.v20120522
24    ACTIVE      org.eclipse.jetty.io_8.1.3.v20120522
25    ACTIVE      org.eclipse.jetty.security_8.1.3.v20120522
26    ACTIVE      org.eclipse.jetty.server_8.1.3.v20120522
27    ACTIVE      org.eclipse.jetty.servlet_8.1.3.v20120522
28    ACTIVE      org.eclipse.jetty.util_8.1.3.v20120522
29    ACTIVE      javax.servlet_3.0.0.v201112011016
30    ACTIVE      org.apache.commons.fileupload_1.2.2.v20111214-1400
31    ACTIVE      org.apache.commons.io_2.4.0
32    ACTIVE      slf4j.api_1.6.4
                Fragments=33
33    RESOLVED    slf4j.log4j12_1.6.0
                Master=32
34    RESOLVED    log4j_1.2.17
                Fragments=35
35    RESOLVED    log4j.apache-log4j-extras_1.1.0
                Master=34
36    ACTIVE      org.json_1.0.0.v201011060100
37    ACTIVE      mqtt-client_0.4.0
38    ACTIVE      org.hsqldb.hsqldb_2.3.0
39    ACTIVE      org.apache.servicemix.bundles.protobuf-java_2.4.1.1
40    ACTIVE      com.codeminders.hidapi_1.1.0
41    ACTIVE      org.eclipse.soda.dk.comm_1.2.0
42    ACTIVE      javax.usb.api_1.0.2
43    ACTIVE      javax.usb.common_1.0.2
44    ACTIVE      org.apache.commons.net_3.1.0.v201205071737
45    ACTIVE      org.tigris.mtoolkit.iagent.rpc_3.0.0.20110411-0918
46    ACTIVE      com.gwt.user_0.2.0
47    ACTIVE      org.eclipse.kura.deployment.agent_0.2.0.201407200931
48    ACTIVE      org.eclipse.kura.api_0.2.0.201407200931
49    ACTIVE      org.eclipse.kura.core_0.2.0.201407200931
50    ACTIVE      org.eclipse.kura.core.cloud_0.2.0.201407200931
51    ACTIVE      org.eclipse.kura.core.comm_0.2.0.201407200931
52    ACTIVE      org.eclipse.kura.core.configuration_0.2.0.201407200931
53    ACTIVE      org.eclipse.kura.core.crypto_0.2.0.201407200931
54    ACTIVE      org.eclipse.kura.core.deployment_0.2.0.201407200931
55    ACTIVE      org.eclipse.kura.core.net_0.2.0.201407200931
56    ACTIVE      org.eclipse.kura.linux.clock_0.2.0.201407200931
57    ACTIVE      org.eclipse.kura.linux.command_0.2.0.201407200931
58    ACTIVE      org.eclipse.kura.linux.net_0.2.0.201407200931
59    ACTIVE      org.eclipse.kura.linux.position_0.2.0.201407200931
60    ACTIVE      org.eclipse.kura.linux.usb_0.2.0.201407200931
61    ACTIVE      org.eclipse.kura.linux.watchdog_0.2.0.201407200931
62    ACTIVE      org.eclipse.kura.net.admin_0.2.0.201407200931
63    ACTIVE      org.eclipse.kura.web_0.2.0.qualifier
osgi> ls
All Components:
ID    State            Component Name            Located in bundle
1    Active        org.eclipse.equinox.event            org.eclipse.equinox.event(bid=7)
2    Active        org.eclipse.kura.deployment.agent            org.eclipse.kura.deployment.agent(bid=47)
3    Active        org.eclipse.kura.core.data.transport.mqtt.MqttDataTransport            org.eclipse.kura.core(bid=49)
4    Active        org.eclipse.kura.db.DbService            org.eclipse.kura.core(bid=49)
5    Active        org.eclipse.kura.ssl.SslManagerService            org.eclipse.kura.core(bid=49)
6    Active        org.eclipse.kura.system.SystemAdminService            org.eclipse.kura.core(bid=49)
7    Active        org.eclipse.kura.data.DataService            org.eclipse.kura.core(bid=49)
8    Active        org.eclipse.kura.system.SystemService            org.eclipse.kura.core(bid=49)
9    Active        org.eclipse.kura.cloud.CloudCallService            org.eclipse.kura.core.cloud(bid=50)
10    Active        org.eclipse.kura.cloud.CloudService            org.eclipse.kura.core.cloud(bid=50)
11    Active        org.eclipse.kura.cloud.app.command.CommandCloudApp            org.eclipse.kura.core.cloud(bid=50)
12    Active        org.eclipse.kura.core.comm.CommConnectionFactory            org.eclipse.kura.core.comm(bid=51)
13    Active        org.eclipse.kura.configuration.ConfigurationService            org.eclipse.kura.core.configuration(bid=52)
14    Active        org.eclipse.kura.crypto.CryptoService            org.eclipse.kura.core.crypto(bid=53)
15    Active        org.eclipse.kura.core.deployment            org.eclipse.kura.core.deployment(bid=54)
16    Active        org.eclipse.kura.clock.ClockService            org.eclipse.kura.linux.clock(bid=56)
17    Active        org.eclipse.kura.command.CommandService            org.eclipse.kura.linux.command(bid=57)
18    Active        org.eclipse.kura.net.NetworkService            org.eclipse.kura.linux.net(bid=58)
19    Active        org.eclipse.kura.position.PositionService            org.eclipse.kura.linux.position(bid=59)
20    Active        org.eclipse.kura.usb.UsbService            org.eclipse.kura.linux.usb(bid=60)
21    Active        org.eclipse.kura.watchdog.WatchdogService            org.eclipse.kura.linux.watchdog(bid=61)
22    Active        org.eclipse.kura.net.CellularMonitorService            org.eclipse.kura.net.admin(bid=62)
23    Active        org.eclipse.kura.net.admin.NetworkConfigurationService            org.eclipse.kura.net.admin(bid=62)
24    Active        org.eclipse.kura.net.WifiMonitorService            org.eclipse.kura.net.admin(bid=62)
25    Active        org.eclipse.kura.net.dns.DnsMonitorService            org.eclipse.kura.net.admin(bid=62)
26    Active        org.eclipse.kura.net.EthernetMonitorService            org.eclipse.kura.net.admin(bid=62)
27    Active        org.eclipse.kura.net.admin.NetworkAdminService            org.eclipse.kura.net.admin(bid=62)
28    Active        org.eclipse.kura.web.Console            org.eclipse.kura.web(bid=63)
osgi>


Thanks,
Harini


On Mon, Jul 21, 2014 at 8:59 PM, David Woodard <david.woodard@xxxxxxxxxxxx> wrote:
Hello Harini,

Can you run the 'ss' and 'ls' commands in the OSGi console and paste the results? Also, if you are running the Kura emulator, make sure you are connecting to the correct port and no other applications are using that port.

Thanks,
--Dave

On 7/20/14, 10:54 AM, Harini Sirisena wrote:
Hi,

When running the kura web bundle over concierge, the bundle gets resolved and started, however I am getting a 404 error with the message below in the browser,

Problem accessing /kura. Reason:
    ProxyServlet: /kura

The web bundle resolves over concierge when started with the below listed dependencies which includes the kura bundle dependencies,

javax.servlet_3.0.0.v201112011016.jar,
org.apache.commons.io_2.4.0.jar,
org.apache.commons.fileupload_1.2.2.v20111214-1400.jar,
com.gwt.user_0.2.0.jar,
javax.usb.api_1.0.2.jar,
org.eclipse.soda.dk.comm_1.2.0.jar,
osgi.cmpn_4.3.0.201111022214.jar,
o.e.kura.api,
mqtt-client_0.4.0.jar,
org.hsqldb.hsqldb_2.3.0.jar,
o.e.kura.core,
o.e.kura.core.configuration,
o.e.kura.core.net,
osgi.cmpn_4.3.0.201111022214.jar,
o.e.kura.core.deploymentagent,
org.eclipse.jetty.util_8.1.3.v20120522.jar,
org.eclipse.jetty.io_8.1.3.v20120522.jar,
org.eclipse.jetty.continuation_8.1.3.v20120522.jar,
org.eclipse.jetty.http_8.1.3.v20120522.jar,
org.eclipse.jetty.server_8.1.3.v20120522.jar,
org.eclipse.jetty.security_8.1.3.v20120522.jar,
org.eclipse.jetty.servlet_8.1.3.v20120522.jar,
org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841.jar,
org.eclipse.equinox.http.jetty_3.0.0.v20120522-1841.jar

I believe the error is due to a missing dependency. What are the required equinox specific bundles for the kura web bundle to launch? Some equinox bundles (not listed here) do not currently resolve over concierge. This could be an issue in getting the kura web bundle to work over concierge.


Thanks,
Harini Sirisena





_______________________________________________
kura-dev mailing list
kura-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/kura-dev


_______________________________________________ kura-dev mailing list kura-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/kura-dev


_______________________________________________
kura-dev mailing list
kura-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/kura-dev

--
Cristiano De Alti
Principal Software Engineer

direct:    +39 0433 485468

EUROTECH
Imagine.Build.Succeed.
HEADQUARTERS
EUROTECH S.p.A. – Via Fratelli Solari, 3/a | 33020 Amaro UD | Italy | Tel. +39. 0433 485411  | Fax +39. 0433 485499 |
Cap. Soc. 8.878.946,00 € I.V. | P.IVA / C.F.: IT 01791330309 | REA Udine 196115
www.eurotech.com
____________________________________

Il presente messaggio ed ogni suo allegato sono da intendersi inviati esclusivamente agli effettivi destinatari e potrebbero essere soggetti a restrizioni legali. Se avete ricevuto questo messaggio per errore vi invitiamo a darne immediata notifica al mittente e cancellarlo dal vostro sistema. Qualsiasi altro uso di questo messaggio da parte vostra e' strettamente proibito.
 
This e-mail, and any file attached to it, is meant only for the intended recipient of the transmission and may be a communication privileged by law. If you have received it in error, please notify the sender immediately and delete the original from your system. Any other use of this e-mail by you is strictly forbidden.
____________________________________
 
Per favore, pensate all’ambiente prima di stampare questa e-mail. Please consider the environment before printing this e-mail.
_______________________________________________
kura-dev mailing list
kura-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/kura-dev



_______________________________________________
kura-dev mailing list
kura-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/kura-dev

--
Cristiano De Alti
Principal Software Engineer

direct:    +39 0433 485468

EUROTECH
Imagine.Build.Succeed.
HEADQUARTERS
EUROTECH S.p.A. – Via Fratelli Solari, 3/a | 33020 Amaro UD | Italy | Tel. +39. 0433 485411  | Fax +39. 0433 485499 |
Cap. Soc. 8.878.946,00 € I.V. | P.IVA / C.F.: IT 01791330309 | REA Udine 196115
www.eurotech.com
____________________________________

Il presente messaggio ed ogni suo allegato sono da intendersi inviati esclusivamente agli effettivi destinatari e potrebbero essere soggetti a restrizioni legali. Se avete ricevuto questo messaggio per errore vi invitiamo a darne immediata notifica al mittente e cancellarlo dal vostro sistema. Qualsiasi altro uso di questo messaggio da parte vostra e' strettamente proibito.
 
This e-mail, and any file attached to it, is meant only for the intended recipient of the transmission and may be a communication privileged by law. If you have received it in error, please notify the sender immediately and delete the original from your system. Any other use of this e-mail by you is strictly forbidden.
____________________________________
 
Per favore, pensate all’ambiente prima di stampare questa e-mail. Please consider the environment before printing this e-mail.


_______________________________________________
kura-dev mailing list
kura-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/kura-dev





Back to the top