Questions tagged [pax]
100 questions
29
votes
3 answers
Programmatically Start OSGi (Equinox)?
I'd like to be able to easily start an OSGi framework (preferably Equinox) and load up any bundles listed in my pom from a java main.
Is this possible? If so, how?
It seems like the pax tools would do this, but I can't seem to find any…

javamonkey79
- 17,443
- 36
- 114
- 172
20
votes
1 answer
PaxHeaders in tarball
I'm doing a tar like in C, and I've got a problem.
I just want to archive and unarchive files and diretories, so I operate this command: tar -cvf NAME.tar FILE1 [FILE2...]
Now I'm trying to get the header POSIX of this archive :
struct…

Liroo Pierre
- 875
- 2
- 9
- 25
5
votes
1 answer
Using Jacoco with Pax-Exam
I'm currently working on an application built on the OSGi model. All the testing process of my application is made by using Pax-Exam which create a new JVM by using Karaf.
I tried to use Jacoco for my integration tests code coverage but it doesn't…

Bigz
- 51
- 1
5
votes
2 answers
Getting "pax archive volume change required" prompt during build configuration
I am trying to build fastjet-3.0.1 on my Ubuntu 14.04 LTS.
On running the following:
./configure --enable-allcxxplugins
I get the following message:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is…

Man
- 151
- 7
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
5
votes
2 answers
Add my own bundle sources to pax-exam when building with pax-maven-plugin
I'm trying to build my OSGI bundle with pax-maven-build and in the same time test it with pax-exam. It have some bundle in provision than I can test with the following pax-exam test…

Kartoch
- 7,610
- 9
- 40
- 68
4
votes
1 answer
How to print receipt with PAX a 920?
I have Pax A920 which runs with android .
So how to using printing service in java?

Abanuob Fouad
- 75
- 3
- 6
4
votes
1 answer
PaX and buffer overflow
Is it possilbe to overflow buffer in linux that have PaX in kernel. I want to exploit into a executable by changing the return address using proper input.I'm using Ubuntu 10.04 and I test this with paxtest but I don't what the result means. This is…

MKoosej
- 3,405
- 3
- 21
- 29
4
votes
1 answer
Docker and PaX host
I've spent the last few days messing with trying to get docker containers to run correctly on Gentoo Hardened.
The first problem that took me days to discover was motivated by my own paranoia: The partition I placed the Docker root into was mounted…

RN3AOH
- 86
- 2
- 6
4
votes
1 answer
Error while deploying a web application in OSGI container using pax web
Hello I am trying to deploy a web application in a Felix container.
I have all the required configuration done with my web app like the setting up of the manifest headers:
Webapp-Context:
Bundle-ClassPath:
Bundle-Activator:…

RaulDM
- 41
- 3
4
votes
3 answers
How does Arquillian compare to Pax Exam for OSGi (integration) testing?
I am currently investigating how best to test our OSGi application intended to run on Apache Karaf. The obvious option is Pax Exam with labs-paxexam-karaf (see http://iocanel.blogspot.com/2012/01/advanced-integration-testing-with-pax.html for a…

Alexey Romanov
- 167,066
- 35
- 309
- 487
3
votes
2 answers
BundleContext is null in unit tests using pax-exam
I'm using pax-exam to load, activate and access osgi bundles.
The following source code is my pax-exam test and it runs using pax-exam 2.3 using native container.
package fr.xlim.ssd.vtg.osgi;
import java.net.URISyntaxException;
import…

Kartoch
- 7,610
- 9
- 40
- 68
3
votes
1 answer
log4j2 with pax-logging: can't use values from StructuredDataMessage
I'm using pax-logging-api along with pax-logging-log4j2 for logging from my OSGi bundles. I would like to utilize Log4J2's StructuredDataMessage (using EventLogger) to write some messages to a database. However, I'm unable to read the values I put…

roadkill
- 315
- 1
- 2
- 12
3
votes
1 answer
Cannot Run WAR From Root Context in Karaf 2.2.0 OSGi Container
I have been struggling to get an web application to run in the root application context in Karaf 2.2.0 (it works fine in Karaf 2.1.4). I have been able to isolate the issue to something easily duplicated using the Tomcat sample WAR.
Run the…

Adam
- 1,011
- 2
- 19
- 37
3
votes
1 answer
PAX-URL: "Protocol not supported" at Felix's startup
I'm using PAX-URL to launch a Felix based project from Eclipse. I use the assembly protocol to avoid having to pre-pack my bundles.
In the project, felix is started using the felix.jar and a config.properties which includes…

Miquel
- 15,405
- 8
- 54
- 87