Questions tagged [pax]
100 questions
0
votes
1 answer
Change the base url / context path for a karaf/osgi blueprint web app
I have a Web app with several servlets configured in my OSGI-INF/blueprint/web-blueprint.xml using pax web. The web app consists of two pages /LoginPage.html and /Dashboard.html, but the latter supports several views, each associated with an own…
0
votes
1 answer
Karaf How to implement changes to a bundle made in features.xml file without reinstalling
In my features.xml file I modified a custom bundle to use a Pax URL Wrap in order to dynamically Import dependencies. I changed the below line:
mvn:abc.def/aid/1.1
to

greenTea
- 5
- 2
0
votes
2 answers
Tips on making PAX (OSGI testing) framework faster
I know PAX is doing a lot of stuff and that creating the container and copying all those jars is not cheap but are there any general tips to improve performance. I have tests that execute outside the container in a fraction of a second while inside…

mP.
- 18,002
- 10
- 71
- 105
0
votes
1 answer
Configuring pax-logging in OSGi environment built with Gradle and BND
I am trying to get Log4J2 working via Pax Logging but online docs focus on Log4J (v1). My project is Java, Gradle with BND plugin for OSGi bundles aimed at the Equinox environment.
I am using Gradle 6.8.3
I have my build.gradle file for an OSGi…

majixin
- 186
- 9
0
votes
0 answers
Pax logging issue with karaf 4.2.6
I am updating karaf 2 to karaf 4. Seeing below error with karaf 4
2/10/22
10:14:50.724 AM
2022-02-10 04:44:50,724 | ERROR | FelixStartLevel | Felix | | Bundle…

mohit patidar
- 1
- 1
0
votes
1 answer
How to generate a PAX Tar archive with an Global Extended Attributes ('g') initial entry?
In Linux, I am trying to generate an uncompressed PAX archive containing a Global Extended Attributes entry using either one of the following commands:
A) Specifying the pax options (implies --xattrs):
tar cvf file.tar folder/* --xattrs…

Carlos Sánchez López
- 69
- 7
0
votes
1 answer
How to open custom Application when Clicking Print Button From Chrome In Android
I have PAX A920 Device for printing invoice, and we have odoo POS system.
When I click print button from chrome browser it is opening default printing Service of android which not detect build in printer in Device. I want to know can I open my…

Shoaib Anwar
- 819
- 2
- 12
- 29
0
votes
1 answer
pdflatex not working with files which having space in its name
I am using PdfLaTeX and using pax package. I need to combine the uploaded pdf files and generate a composite pdf with links clickable.
It is working when I upload pdf files with no spaces in its name (eg., test1.pdf, test2.pdf). But links are not…

Rebin Joseph
- 1
- 3
0
votes
0 answers
POS link payment integration in c# or Vb.net using pax devices
Our payment processor has provided us with Semi-Integrated PAX S300 EMV Terminals. These terminals allow us to initiate an EMV/Mag/NFC Credit Card Transaction with just a few lines of code via the PAX POSLink DLLs. The terminals then take care of…

Kinfo
- 1
- 2
0
votes
1 answer
mirror to a transformed files' structure
I'd like to synchronize a files structure to another, but transformed one, eg:
filesStructureA/ --[transformation(T)]--> filesStructureB/
Is it possible doing this with rsync? I saw rsync accept a list of files as input (--files-from), but don't…

abernier
- 27,030
- 20
- 83
- 114
0
votes
1 answer
Karaf bundle can not find Log4j LogManager.class in the run time.
Currently I am working on a project which I need to wave third party JAR into our Karaf D-OSGi application. We aren't suppose to change any code inside the jar, but with limited source code we can debug into it.
The issue is that the third party…

Paul Ning
- 1
- 1
0
votes
1 answer
PAX-CDI + Drool + @Inject @KSession @KReleaseId Not working
The pax cdi + weld + drool not working getting the following exception
WELD-001408: Unsatisfied dependencies for type KieSession with qualifiers @KSession
https://salaboy.com/2015/10/20/back-to-the-basics-getting-started-with-drools-6-3-0-final/

athish sreeram
- 65
- 7
0
votes
1 answer
Apache CXF + Karaf 4.0.8 SAXParseException: 'ptp:ParameterizedInt'
I am trying to Implement PAX-CDI + CXF + Karaf 4.0.8
My REST Service:
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
//Maps for the `say` in the URL
@Path("say")
public interface HelloRestService {
@GET
…

athish sreeram
- 65
- 7
0
votes
1 answer
Build OSGI application with Maven
I'm trying to build standalone OSGI application with Maven. There are several sub-modules containing "bundles" and one "distribution" module that produces a directory (zip) with my bundles, framework's bundles and required configuration files. The…

Anton
- 29
- 6
0
votes
1 answer
PAX-CDI: CdiContainerFactory and BundleTracker
I use felix and pax-cdi 0.13 and weld. I have two bundles A in B. In bundle A I have BundleTracker and Customizer, in bundle B I have CDI beans. So I want in bundle tracker to get cdi beans from bundle B using bean manager. So I have method in…

Pavel_K
- 10,748
- 13
- 73
- 186