I am attempting to create a Java Maven OSGI Desktop Application which can be launched using Karaf. The project includes several bundles. I believe I need to create features and assemble them? From Karaf’s documentation it seems there is a new and “old” way. https://svn.apache.org/repos/asf/karaf/site/production/manual/latest/custom-distribution.html I am still confused about the following: In addition to my parent/child bundle projects, should
Tag: apache-karaf
Simple OSGi application with dependencies inside bundle
Simple OSGi application with dependencies inside bundle. I am playing with karaf. I started by writing a simple rest application. https://github.com/YaroslavTir/osgi-jersey-hibertate/tree/stackoverflow/examples/karaf-rest-core I took karaf examples as backbond and it was quite simple to run my first bundle with rest endpoints, but then I faced an issue when I added maven dependency. I added guava as an example and got an
Apache Karaf – Unable to resolve root: missing requirement – caused by: Unable to resolve java-api
I have Apache Karaf 4.0.1 running on a Linux Centos 7 server. I get the following error: Any ideas? I am a novice with apache-karaf/OSGi, so please excuse me if there is pertinent information lacking in this question, I would be glad to add info when suggested. More info: I build it using maven with Java1.7. I also tried building
Setting Java Heap Size under Apache Karaf
I apologize if this is a duplicate, but I can’t seem to find this answered anywhere. What is the best way to increase the maximum Java heap size when using Apache Karaf? Currently, I modified the following line in the karaf.bat file: set DEFAULT_JAVA_OPTS=-server -Xmx<NewMaxValue>M. I feel like modifying the bat file is not the best solution. Additionally, none of