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
2 answers

NullPointerException when accessing OSGi bundle resources

I am using two OSGi frameworks within a plain Java application. Both frameworks load bundles from a shared directory. In one bundle, I load a file from the resources. I tried different ways e.g.…
user1488793
  • 284
  • 2
  • 14
0
votes
1 answer

Running p2.process.artifacts in Jenkins

I read the SO post Running P2 Ant tasks outside Eclipse, which was a great help. I am trying to call p2.process.artifacts, however I am not sure what arguments should I pass to java task call. What should value for application argument be and how…
positron
  • 3,643
  • 3
  • 22
  • 26
0
votes
3 answers

Is there any major change done in p2-dropins mechanism in Eclipse 3.8?

Is there any major change in p2 mechanism in Eclipse 3.8? I tried to install Eclipse 3.8 plugins via p2 dropins mechanism but its not working at all. It is not able to resolve the plugins. Plug-in perspective is also missing. Also the bundles.info…
Anand
  • 2,239
  • 4
  • 32
  • 48
0
votes
1 answer

Cannot install subclipse on eclipse helios

When I try to install Subclipse (latest version) on Eclipse Helios v3.6.2, I got the following error message: Cannot complete the install because one or more required items could not be found. Software currently installed: Shared profile…
0
votes
1 answer

remove service from bundle

in osgi, i have this setup: Bundle A has Service S registered. Bundle B processes Bundle A and should remove Service S from it. can it be done? or is it conceptually nonsense? i didnot find any method for removing the service as i did not registered…
wrm
  • 1,898
  • 13
  • 24
0
votes
1 answer

Eclipse + Equinox : Can not connect to database, SQLException No suitable driver found

I'm developing application using eclipse and equinox. I have an app and i want to transform it to modules using OSGi My app works with module JMS (apache activemq) and module Database (Oracle). It well with JMS. But when I run with Oracle I get an…
0
votes
3 answers

Can I create a transient configuration in OSGi using the ConfigAdmin?

I'd like to create a Configuration object in OSGi, but one that won't be persisted, so it won't be there when the framework is restarted. Similar to START_TRANSIENT for bundles. Some background: I've got an OSGi (Felix) based client side…
Frank Lee
  • 2,728
  • 19
  • 30
0
votes
1 answer

How to get a bundle-object returned by a service out of the Equinox framework - java.lang.LinkageError

I have a class which runs an Equinox framework. Now I would like to get an Object (defined in one of the bundles) that is returned by a service out of the framework. Unfortunately, I get a LinkageError and have no idea how to get rid of it. Is it…
user1488793
  • 284
  • 2
  • 14
0
votes
3 answers

Eclipse GUI bundle

I am building an application whose GUI should look like eclipse. Since Eclipse uses Equinox OSGi framework, is it possible to reuse the bundle responsible for Eclipse GUI in my application? If so, which is the bundle which is responsible for Eclipse…
hnm
  • 789
  • 2
  • 9
  • 24
0
votes
1 answer

equinox + sample.http - issue with tomcat 7

I am importing sample.http from http://www.eclipse.org/equinox/server/http_in_container.php into eclipse , using tomcat 7 as server (linux platform). It shows several problems such as : BundleActivator cannot be resolved to a type No available…
Rndm
  • 6,710
  • 7
  • 39
  • 58
0
votes
1 answer

Logback include fragment in OSGi container

I have a project a-conf with src/main/resources/logback/conf/a/CommonAppenders.xml file: Also i have another project a-runable with logback.xml config which imports…
madhead
  • 31,729
  • 16
  • 153
  • 201
0
votes
2 answers

Which OSGi specification implementation am I using when building against the Eclipse 3.7 Target Platform?

I know the difference between using Eclipse as target platform and using Equinox as target platform when creating an Eclipse plug-in (also explained in this thread). Now I have implemented my first OSGi service for use in my Eclipse RCP application.…
s.d
  • 4,017
  • 5
  • 35
  • 65
0
votes
2 answers

Port in Jetty server (Equinox OSGi )

Good morning, I am deploying a Web Application into Jetty Server embebed into Equinox OSGi. Still, i works in port 8080, but I need to run two different servers. Then, a conflict between ports is launched. I would like to change port number in one…
Jose Hdez
  • 2,297
  • 7
  • 38
  • 52
-1
votes
2 answers

Why has Java no standard API to access the command line arguments?

The only way to get to the command line arguments in a plain Java program is the main entry method. Neither java.lang.System nor java.lang.Runtime have methods to access the args. There is a -Dkey=value subset of command-line args, which JDK parses…
Ilya Shinkarenko
  • 2,134
  • 18
  • 35
-1
votes
1 answer

OSGI Bundle for Interactive CLI console

I am new to OSGI world. I do already have OSGI bundles running and i want to create a new OSGI bundle and plug it in into my previous bundles. I want to create a bundle which should ask user about some input e.g Input number 1 and then after user…
1 2 3
40
41