apache-felix

JavaFx + Felix on windows WinPlatformFactory not found

試著忘記壹切 提交于 2021-02-09 07:01:18
问题 I have a desktop application that uses Apache felix and swing, with embebed javafx UIs, javafx is being loaded into the project by a maven embebed dependency, and it works fine on mac. But when i run it on windows it gives me the following error: java.lang.ClassNotFoundException: com.sun.glass.ui.win.WinPlatformFactory not found by my-software [38] at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1574) at org.apache.felix.framework

How to deploy multiple processes(bundles) in 1 jar onto OSGI felix

拟墨画扇 提交于 2021-02-08 08:51:22
问题 I'm quite new to OSGI framework so I do not how to deploy multiple processes(bundles) in 1 jar onto it. Particularly, I have installed the Apache Felix With Web Console following this link. I have also tried to deploy my jar file and started it as the bundle. The jar's purpose is like a job to process some activities. However, I would like to have multiple jobs in just 1 jar file so that when I deploy that jar on Felix the framework can identifies and presents them as individual parts. For

Deploy multiple instance in 1 bundle OSGI

六眼飞鱼酱① 提交于 2020-04-30 06:24:31
问题 I want to deploy some jobs as instances in my jar (bundle) and when I deploy that jar onto Felix, maybe the Web Console can define the jar as 1 bundle but it could present these instances also. Moreover, I could do some bundle function on the instances like update/start/stop/... 来源: https://stackoverflow.com/questions/60808451/deploy-multiple-instance-in-1-bundle-osgi

“Unsatisfied native code filter” when exporting OSGi bundle containing native Android lib

风格不统一 提交于 2020-01-25 03:34:24
问题 I try to create an OSGi bundle using native C/C++ code for deployment on an Android device running Felix. I was able to compile the native code and link it to a shared object using the Android NDK arm-linux-androideabi toolchain. Now, I try to export the OSGi bundle to a .jar file using eclipse PDE (Export->Deployable plug-ins and fragments). This fails. The error-window popping up tells me: 'Export Plug-ins' has encountered a problem. Processing inclusion from feature org.eclipse.pde

Launching OSGI Felix on android gives error: “java.lang.UnsupportedOperationException: can't load this type of class file”

巧了我就是萌 提交于 2020-01-24 19:57:45
问题 I am trying to launch OSGI Felix framework on android. I followed this link and things were going fine. In the bundle directory, I added a bundle that was an eclipse plugin project that I created earlier in order to launch it on android. It has only one activator class with a "Hello" Message in the start() method. Now, when I launched Felix on android shell, I noticed that the bundle I added is causing a problem and can't be launched on android. Here's the errors I get when I launch Felix:

Error starting bundle in karaf: “via two dependency chains”

跟風遠走 提交于 2020-01-17 06:32:39
问题 I am currenty developing a camel route which reads from a netty4/mllp endpoint and store the hl7 message to a amqp queue. This is my environment: apache-maven-3.3.9 apache-karaf-4.1.1 apache-camel-2.18.3 apache-artemis-2.0.0 this is my pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>****

Is Apache Aries running in Felix?

社会主义新天地 提交于 2020-01-13 07:00:28
问题 I'm trying to build a Blueprint bundle to run in Apache Felix. I tried to make it running but I didn't succeed. The blueprint bundle works fine in Karaf but not in Felix. Is it any documentation or a running example on the web to explain how to run a Blueprint bundle only with plain Felix. I suppose I have to manually add Aries to Felix platform but it didn't seem to work. To be more precise, I want a simple service to see that it's loaded from a blueprint.xml XML config file as a Blueprint

How do you deserialize an object from bytes in osgi

放肆的年华 提交于 2020-01-11 04:45:09
问题 In my osgi application I have three bundles, travel.api , table.api and utils . travel.api depends on table.api which depends on utils . Note that travel.api doesn't directly depend on utils . I use aQute Bnd to generate the manifests and I believe it is working fine. The manifests are displayed below. There is a class called PageData that has a field of type TableData , which in turn has a field of type TestObject . PageData is located in travel.api , TableData is located in table.api and