Questions tagged [equinox]

Use this tag for questions about Equinox which is an implementation of the OSGi R4 core framework specification, a set of bundles that implement various optional OSGi services and other infrastructure for running OSGi-based systems.

Eclipse Equinox provides a certified implementation of the OSGi R4.x core framework specification. It is a modular runtime that allows developers to implement an application as a set of "bundles" using the common services and infrastructure.

603 questions
0
votes
1 answer

equinox launcher jni

Does anyone know how to launch equinox through jni ? I was able to invoke jvm using JNI_CreateJavaVM(&jvm, (void**)&env, &vm_args); I got the main class of org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar . Now how to pass the launcher…
Dav
  • 58
  • 1
  • 7
0
votes
1 answer

Deploying OSGI bundles through Maven

Is there any way to deploy osgi bundles in a running equinox container through maven commands? Any plugin available for the same? I am posting this question after a lot of searching. I found that PAX-RUNNER could be useful. But it is working good…
Maheshwaran K
  • 1,982
  • 5
  • 19
  • 22
0
votes
1 answer

OSGI/Equinox Bundle Resource: URI Scheme is not a file

I have a plugin I'm running in the Equinox container. Within the plugin jar, contains a /bin directory that contains an executable I want to run and the associated shared libraries. I'm trying to get the parent path of the executable (/bin) but am…
avagadia
  • 13
  • 5
0
votes
2 answers

Maven Equinox plugin

Is there any plugin available that would integrate maven and equinox runtime.? I want my osgi bundles to be packaged , deployed and run in equinox. I am searching for maven commands to perform the whole controlling operations (build the bundles,…
Maheshwaran K
  • 1,982
  • 5
  • 19
  • 22
0
votes
1 answer

State of required bundle resolved instead of active

I have a bundle A that depends on bundle B. When code in bundle A runs and accesses a class from bundle B then the state of bundle B is resolved (4) instead of active (32) and the activator of bundle B didn't run as well. I assume there's something…
Philippe Marschall
  • 4,452
  • 1
  • 34
  • 52
0
votes
2 answers

Maven commands to deploy and run osgi bundles

I have my my osgi bundles built. I would like to know is there any maven commands available to deploy and run these bundles in equinox, as we have for jboss-as (mvn jboss-as:deploy & mvn jboss-as:undeploy)? If yes, any good tutorials for the same?…
Maheshwaran K
  • 1,982
  • 5
  • 19
  • 22
0
votes
1 answer

How to change bundle start level in glassfish 3.1.2 equinox?

I want to change the start level for a bundle in my glassfish. I used equinox as osgi runtime. I changed the configuration file glassfish\config\osgi.properties and add the folowing line: osgi.bundles=bundlesymbolicname@5:start When I connect via…
Marco
  • 35
  • 5
0
votes
1 answer

Split away Selection Service from o.e.ui.workbench bundle

I want to use Selection Service feature from the eclipse RCP in my swing project. Currently the o.e.ui.workbench bundle which contains the related interface is around 3.7 MB, that's way too huge for our requirement Is there any way to split it the…
Suraj Chandran
  • 24,433
  • 12
  • 63
  • 94
0
votes
1 answer

Can we contribute a new plugin.xml to ExtensionRegistry

I have a some additional xml files(containing standard eclipse extensions) that lie outside the bundle. Is there a way that I could contribute the extns/extnpoints in those files to the platform's extension registry? I tried…
Suraj Chandran
  • 24,433
  • 12
  • 63
  • 94
0
votes
1 answer

Equinox Bundle import conflict

1) Bundle A reexports package com.X, which it gets from bundle C 2) Bundle B exports package com.X 3) Now bunlde D has dependency on both A and B. From where will the bundle D get the package com.X from?
Suraj Chandran
  • 24,433
  • 12
  • 63
  • 94
0
votes
1 answer

eclipse: Running a OSGI plugin as OSGI framework

I have created plugin project in eclipse from the hello world template, modified the sysout. Now I am trying to the run the project as OSGI framework. but I am getting below error: Root exception: java.lang.IllegalStateException: Workbench has not…
Chetan
  • 1,507
  • 7
  • 30
  • 43
0
votes
2 answers

Am I allowed to change parent class loader of an OSGi bundle?

Problem Statement: Locate a resource (let say myClass) in Bundle A and load it, if not found Locate resource in Bundle B and load it pro grammatically, While the control is in Bundle C. I have a reference to ClassLoaders of both A and B…
roul ze
  • 133
  • 1
  • 9
0
votes
0 answers

Setting OSGi storage directoy (org.osgi.framework.storage) does not work in Maven triggered JUnit test

In my code I start multiple OSGi frameworks using EquinoxFactory. By setting the property "org.osgi.framework.storage" to "@user.home/osgi-frameworks/framework-x", where x is different for every framework, each framework uses a different…
user1488793
  • 284
  • 2
  • 14
0
votes
2 answers

Can't load database provider connector drivers

I've installed standalone Equinox and used it as run configuration in eclipse. Project uses EclipseLink as JPA and it's configured to use derby and mysql providers. These providers are packed into bundles and activated in OSGi container. When i run…
0
votes
1 answer

JBoss 4.0.5 + Equinox + JPA + EclipseLink

I'm trying to connect the JPA (EclipsLink implementation) used on my application to JBoss DS, but don't know how to do it. The application that I'm working is a OSGi Based application runing on a Equinox container that runs as a servlet on a JBoss…