Pax Runner is a tool to provision OSGi bundles in all major open source OSGi framework implementations (Felix, Equinox, Knopflerfish, Concierge).
Questions tagged [pax-runner]
34 questions
15
votes
1 answer
OSGi and Transitive Dependencies
I’m using Felix Framework for my OSGi project, but I’ve came across a severe problem concerning third party dependencies.
I’m using eclipse and maven-bundle-plugin to generate my bundles from the sources and the MANIFEST.MF from the POM.XML file. So…

PedroD
- 5,670
- 12
- 46
- 84
9
votes
4 answers
Continuous deployment of OSGi-based application on jenkins
After spending a couple of hours trying to understand how to make continuous deployment work in the case of an OSGi-based application, I am finally posing my first question on stackoverflow, hoping for some indications on what I might have done…

evandor
- 799
- 1
- 10
- 23
5
votes
1 answer
'Platform is not supported' supported when trying to run OSGi debug target
I'm trying to run a tiny OSGi project from IntelliJ Idea. I've added the Equinox container in the OSGi configuration section in Idea. Then I added the OSGi facet to the project. Everything looks ok to this point.
However as soon as I try to run the…

Gamlor
- 12,978
- 7
- 43
- 70
5
votes
1 answer
Deploy war files in Apache Felix?
I'm trying to deploy an application to Apache Felix. It was a gwt application but I've been simplifying the problem until just a hello world html file so my problem is to deploy any kind of web application in a war file. I've also tried to deploy…

blaxter
- 335
- 3
- 10
4
votes
1 answer
How to profile the execution of an OSGi deployment?
I'm starting the development of an OSGi bundle for an application that will be deployed in a device with some hardware limitations. I'd like to know how could I profile the execution of that bundle to be always sure that it's going to fit with its…

Jaime Soriano
- 7,309
- 2
- 33
- 45
3
votes
2 answers
How to update Bundle in Apache Felix OSGi Framework
I'm having troubles updating my bundle from the gogo shell.
I have a gogo shell running on terminal. My bundles are active in there.
Now when I make changes to the code, what steps are necessary to forward these changes into the running OSGi…

hooch
- 1,135
- 1
- 16
- 31
3
votes
2 answers
Pax runner eclipse plugin updatesite
I'm having difficulties setting up Pax Runner Eclipse plugin so I can run Felix inside Eclipse.
I followed the instructions on https://ops4j1.jira.com/wiki/display/paxrunner/Plugin+Installation but looks like the updatesite…

ktran9.lbs
- 191
- 3
- 7
3
votes
1 answer
Configuring pax-logging in a native container with pax-exam
I know this is a bit specific, but I've tried everything I could think of. I am running some integration tests using pax-exam, and logging is supposed to use pax-logging.
This works fine when directly running the felix container, but if I start it…

Miquel
- 15,405
- 8
- 54
- 87
2
votes
2 answers
logback in spring-OSGI with pax-runner
We are running OSGI bundles with pax-runner. We are logging using logback over slf4j.
The problem is logback tries to look for logback.xml in classpath, but in pax-runner where should I place logback.xml so that pax-runner configure logback…

Ritesh
- 1,053
- 5
- 16
- 29
2
votes
2 answers
How to speed up deployment with maven pax:provision
I'm recently started working on a project with about 40 other developers. We are using OSGi together with Apache Felix. We build and deploy using Maven with the maven-pax-plugin. OSGi and pax are both very new to me so I don't know any specifics…

Final Frag
- 21
- 1
2
votes
1 answer
PaxExam exception running tests
I am new to Pax Exam and trying to run tests by calling my OSGI service. I am getting following exception when running paxexam test in eclipse.
java.lang.ClassNotFoundException: org.ops4j.pax.swissbox.framework.ServiceLookupException (no …

Rahul Rohilla
- 105
- 1
- 2
- 8
2
votes
1 answer
maven-pax-provision + equinox: java.lang.Long cannot be cast to java.lang.String
i am experiencing some strang, non reproducible, behavior.
I am developing an OSGi Application using the maven-bundle-plugin and the maven-pax-plugin to run it in Apache Felix and Eclipse Equinox.
Since today i sometimes get the following error when…

hueck
- 193
- 3
- 15
1
vote
1 answer
Test Internal Class Using Pax Exam
Currently I have test class for testing internal class using Pax-Exam 5.
@ProbeBuilder
public TestProbeBuilder probeConfiguration(TestProbeBuilder probe) {
probe.setHeader("Fragment-Host", "com.mycompany.abc");
return probe;
}
The reason I…

Abraham
- 85
- 5
1
vote
2 answers
How to update a bundle from Maven artifact with running Apache Felix
Currently I have a situation, where I develop a project, then run mvn install and it get's put into my local Maven repository as a simple JAR file
Then, I have a crafted by some other guys "environment" which includes a whole lot of bundles and…

62mkv
- 1,444
- 1
- 16
- 28
1
vote
1 answer
Can I find any sample of latest PAX Exam for testing OSGi declarative service bundle with Java 8?
I am trying to create test environment with latest pax-exam-container-forked and Java 8, but there are many conflicts but it is not being resolved due to many dependency with different versions on maven.
I have taken ref from earcam's answer, that…

Umesh Rajani
- 139
- 2
- 13