apache-felix

Apache POI usage with Apache Felix

蓝咒 提交于 2019-12-07 18:21:31
问题 I'm trying to import Apache POI to Atlassian Jira Plugin for reading excel files. At the beginning, I started with adding just <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>${poi.version}</version> </dependency> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml-schemas</artifactId> <version>${poi.version}</version> </dependency> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml</artifactId> <version>${poi.version}<

Deploy exploded bundle to Apache Felix using an Eclipse launch task

时光怂恿深爱的人放手 提交于 2019-12-06 14:55:18
I am looking for a way to (re)deploy an exploded bundle (meaning not jarred but in a folder) to a running Apache Felix OSGi container from within Eclipse, preferably using a launch task. I found this question, which has an answer that comes close but it depends on typing commands into a Gogo shell, which is not convenient for long-term development use. I'd like to use Eclipse's launch task mechanism for this, but if there are alternatives that are equally fast and convenient I am open to that as well. Now I think that if I can fire Gogo shell commands from an Eclipse launch tasks, that would

Karaf Cave vs org.apache.felix.bundlerepository

痴心易碎 提交于 2019-12-06 13:43:04
Good day. I am trying to get the benefits of OBR in my application. I took Karaf Cave (4.0.0) as OBR implementation and org.apache.felix.bundlerepository (2.0.4) as OBR client. I successfully configured the repository itself but I can't properly use it. The problem is: when I install the bundle via OBR and all its dependencies are already installed in OSGI runtime, it is installed successfully. But if some of the requirements are missing, I got an "Unsatisfied requirements" error, which is odd, since I know for sure that all the resources which resolves these requirements are present in the

Apache POI usage with Apache Felix

谁都会走 提交于 2019-12-06 11:35:45
I'm trying to import Apache POI to Atlassian Jira Plugin for reading excel files. At the beginning, I started with adding just <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>${poi.version}</version> </dependency> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml-schemas</artifactId> <version>${poi.version}</version> </dependency> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml</artifactId> <version>${poi.version}</version> </dependency> poi.version is 3.14 then when I started the plugin it gave Unresolved constraint

How do I register a service in OSGi (Apache Felix)?

﹥>﹥吖頭↗ 提交于 2019-12-06 10:31:34
I have successfully managed to start Apache Felix from code and register an own Bundle. Following relation between OSGI-projects is needed: [OsgiInterface] -- provides interfaces. [OsgiModuleA] -- (bundle) provides an implementation of those interfaces. knows [OsgiInterface] [OsgiUsage] -- makes use of one or more bundle. knows [OsgiInterface] and [OsgiModuleA] Now I have problems registering a service which implements an interface. I would guess that my entries in manifest.mf files are wrong. Additional information It would be very kind, if someone could look at the code in my previous

Unresolved JavaFX packages in OSGi Felix Application

◇◆丶佛笑我妖孽 提交于 2019-12-06 06:12:40
问题 I develop a rich application based on JavaFX and the OSGi Felix container. When my JavaFX is started, an org.osgi.framework.BundleException is thrown indicating that the framwork could not wire my JavaFX packages : ERROR: Bundle app-impl-bundle [3] Error starting eclipse-project:T:\workspace\fast-osgi\app-impl-bundle\ (org.osgi.framework.BundleException: Unresolved constraint in bundle app-impl-bundle [3]: Unable to resolve 3.0: missing requirement [3.0] osgi.wiring.package; (&(osgi.wiring

Dependency chain conflicts for Hibernate and Apache Felix

倾然丶 夕夏残阳落幕 提交于 2019-12-06 04:48:54
I understand the concept of OSGi complaining about multiple dependency chains - a package is available more than once and when the importing bundle doesn't specify exactly which version it needs, so the OSGi container can run into the trouble of not knowing what to provide. Unfortunately I ran into such a problem this week, but both involved bundles are third party bundles, so I can't really influence their imports and exports. Here are the two error messages I get: org.osgi.framework.BundleException: Uses constraint violation. Unable to resolve bundle revision org.hibernate.core [28.0]

Where are the Configurations made in OSGi Console saved?

一笑奈何 提交于 2019-12-06 04:47:38
问题 When we update any configuration for a component in the Configurations tab in the Apache Felix Web OSGi Console, where are these configuration settings saved? This is with respect to AEM 6.0 or above. 回答1: The manually saved configuration settings are stored in the the crx-quickstart/launchpad/config directory (in your AEM installation folder in the local file system) and, on top of that, as .config files in the Content Respository at /apps/system/config . For example, if you're looking for

Unresolved constraint in bundle, missing requirement osgi.wiring.package

对着背影说爱祢 提交于 2019-12-06 01:37:01
问题 I am having a project using OSGi-(felix), SpringDM, hibernate, maven. when I installed bundle, it is ok, the output when I run bundle id is: LastModified 1384619994484 Headers [Manifest-Version=1.0, Bundle-Vendor=NguyenVinhLinh, Bnd-LastModified=1384619954778, Tool=Bnd-2.1.0.20130426-122213, Bundle-Name=DrugManager, Built-By=nguyenvinhlinh, Import-Package=org.hibernate,org.hibernate.classic,org.hibernate.criterion,org.springframework.beans.factory;version="[2.5,3)",org.springframework.core.io

How Apache Karaf sorts bundles to install and start?

£可爱£侵袭症+ 提交于 2019-12-05 18:21:38
I have defined four bundles: bundle 1 : export package x version 1 bundle 2 : import package x ver [1,2] and export package y;y uses x bundle 3 : export package x version 2 bundle 4 : import package y and also import package x version 2 Using apache felix (distribuable binary), I found that I should manually impose to not resolve (or start) the bundle 1 and then bundle 2 before starting the bundle 3 (otherwise a uses constraint problem appears because bundle 2 will use package x version 1 and in bundle 4 will appear package x version 1 and version 2 --> uses constraint violation). Thanks to