How to use Thirdparty OSGi bundle in ODL karaf

asked 2015-06-15 20:36:50 -0800

skrasheed.blr gravatar image

Hi,

I had created a OSGi bundle without using OpenDayLight framework components, and I am trying to install it in ODL karaf. While installing this bundle I am getting the following error. This I need to do due to some licensing issues.

My question is, Is it possible to run non ODL/MD-SAL OSGi bundles in the ODL Karaf? If it is possible, please suggest me some reference to make this working.

opendaylight-user@root>install -s mvn:starter/producer Bundle IDs: Error executing command: Error installing bundles: Unable to install bundle mvn:starter/producer opendaylight-user@root>log:display 2015-06-16 08:59:59,849 | INFO | Event Dispatcher | SecurityUtils | 117 - org.apache.sshd.core - 0.14.0 | BouncyCastle already registered as a JCE provider 2015-06-16 09:00:00,945 | INFO | Event Dispatcher | core | 250 - org.apache.aries.jmx.core - 1.1.2 | Starting JMX OSGi agent 2015-06-16 09:00:00,982 | INFO | Event Dispatcher | core | 250 - org.apache.aries.jmx.core - 1.1.2 | Registering MBean with ObjectName [osgi.core:service=permissionadmin,version=1.2,framework=org.eclipse.osgi,uuid=90f14ff2-d713-0015-117e-e44d216989d4] for service with service.id [2] 2015-06-16 09:00:00,985 | INFO | Event Dispatcher | core | 250 - org.apache.aries.jmx.core - 1.1.2 | Registering MBean with ObjectName [osgi.compendium:service=cm,version=1.3,framework=org.eclipse.osgi,uuid=90f14ff2-d713-0015-117e-e44d216989d4] for service with service.id [37] 2015-06-16 09:00:01,011 | INFO | Event Dispatcher | core | 250 - org.apache.aries.jmx.core - 1.1.2 | Registering org.osgi.jmx.framework.ServiceStateMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@1f4cc34b with name osgi.core:type=serviceState,version=1.7,framework=org.eclipse.osgi,uuid=90f14ff2-d713-0015-117e-e44d216989d4 2015-06-16 09:00:01,013 | INFO | Event Dispatcher | core | 250 - org.apache.aries.jmx.core - 1.1.2 | Registering org.osgi.jmx.framework.PackageStateMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@1f4cc34b with name osgi.core:type=packageState,version=1.5,framework=org.eclipse.osgi,uuid=90f14ff2-d713-0015-117e-e44d216989d4 2015-06-16 09:00:01,013 | INFO | Event Dispatcher | core | 250 - org.apache.aries.jmx.core - 1.1.2 | Registering org.osgi.jmx.service.permissionadmin.PermissionAdminMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@1f4cc34b with name osgi.core:service=permissionadmin,version=1.2,framework=org.eclipse.osgi,uuid=90f14ff2-d713-0015-117e-e44d216989d4 2015-06-16 09:00:01,013 | INFO | Event Dispatcher | core | 250 - org.apache.aries.jmx.core - 1.1.2 | Registering org.osgi.jmx.service.cm.ConfigurationAdminMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@1f4cc34b with name osgi.compendium:service=cm,version=1.3,framework=org.eclipse.osgi,uuid=90f14ff2-d713-0015-117e-e44d216989d4 2015-06-16 09:00:01,013 | INFO | Event Dispatcher | core | 250 - org.apache.aries.jmx.core - 1.1.2 | Registering org.osgi.jmx.framework.FrameworkMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@1f4cc34b with name osgi.core:type=framework,version=1.7,framework=org.eclipse.osgi,uuid=90f14ff2-d713-0015-117e-e44d216989d4 2015-06-16 09:00:01,014 | INFO | Event Dispatcher | core | 250 - org.apache.aries.jmx.core - 1.1.2 | Registering org.osgi.jmx.framework.wiring.BundleWiringStateMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@1f4cc34b with name osgi.core ... (more)

edit retag flag offensive close merge delete