Questions tagged [pax]
100 questions
3
votes
1 answer
PAX Exam - Class not found error
I'm working on PAX integration tests for our project and I'm facing few issues with regards to class loading.
I have deployed few bundles in PAX (used karaf container). Once the karaf is up, I could see my bundles and services are up and active.…

Rajasekar
- 31
- 1
3
votes
2 answers
Integrate Eclipse RAP and OSGI/Spring-DM plugins, using Maven for build
The background
I have a project containing my domain model and persistence code (created using Spring-ROO). I've changed this into an OSGi bundle, and build & deploy it using Maven (via PAX Construct scripts). This bundle deploys nicely to Equinox,…

Herman Lintvelt
- 1,791
- 1
- 12
- 14
3
votes
1 answer
NCSA request handler doesn't work in pax-web 1.1.4
I try to enable NCSA request logging in pax-web 1.1.4. The recommended way to do it doesn't work. The file was created but it stays empty. Looking in source code I found that pax web implementation of Jetty server passes requests to…

Sergii Chornenkyi
- 33
- 4
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
3
votes
1 answer
IllegalStateException when running Pax Exam
I get the following exception when running Pax Exam. My configuration includes a single bundle from file system and junit and felix only. Any idea why this happens?
java.lang.IllegalStateException: Stream handler unavailable due to: null
at…

Nufail
- 1,588
- 1
- 17
- 31
2
votes
2 answers
OSGi bundle repository with plain Maven JARs
I am working on to reach a solution to deploy a web application as a bundle to Virgo 3.0.1.RELEASE. My scenario is:
I use Maven Bundle Plugin to generate the manifest.
I exclude all the JAR dependencies using Maven WAR plugin.
I need to command…

nobeh
- 9,784
- 10
- 49
- 66
2
votes
0 answers
Log4J2 StatusLogger messages are not logged in ODL
I have recently upgraded log4j2 in my application. It is running on top of the open day light controller. The pax-logging-log4j2 (version 1.11.3) bundle is added to the karaf start up bundles. With Log4J2, I have enabled the asynchronous logging as…

Loganathan Mohanraj
- 1,736
- 1
- 13
- 22
2
votes
2 answers
Cannot use PAX-URL's assembly protocol with auto started bundles in Felix config.properties
I'm trying to use PAX-URL so I can have non-packed bundles assembled on the fly.
If I put pax-url-assembly-1.2.1.jar in the autostart bundles, and then type
install assembly:path/to/my/folder
everything works. The trouble is, I want to give felix…

Miquel
- 15,405
- 8
- 54
- 87
2
votes
1 answer
Pax-log4j2 logging configuration ignored after OSGi stops
I have a maven project with number of OSGi bundles and I use log4j2 with pax-logging for the logging backend. When I stop the program, after the OSGi framework is shut down the rest of the logs does not follow the log4j2 configurations and so the…

Asma Zinneera Jabir
- 801
- 3
- 13
- 31
2
votes
1 answer
Blueprint with CDI annotations + Karaf + JaxRX CXF ServiceConstructionException: No resource classes found
I am trying to follow the post
http://blog.nanthrax.net/2011/08/jax-rs-services-using-cxf-and-karaf/
I am getting the following exception on installing the Service bundle any advise please where i am going wrong
API Class
REST API
package…

athish sreeram
- 65
- 7
2
votes
0 answers
Unable to successfully start the simplest Camel CDI route in Karaf 4.1.0 or ServiceMix 7.0.0 (Karaf 4.0.8)
I've been trying without success to build and deploy a simple route with Camel and CDI. I'm focused on deploying to ServiceMix 7.0.0, but have also tried this on a plane jane Karaf 4.1.0 and get precisely the same results.
I built a very simple…

Bob Blackard
- 211
- 1
- 8
2
votes
1 answer
Creating PostgreSQL DataSource via pax-jdbc config file on karaf 4
On my karaf 4.0.8 I've installed the feature pax-jdbc-postgresql. The DataFactory for PostgreSQL is installed:
org.osgi.service.jdbc.DataSourceFactory]
osgi.jdbc.driver.class org.postgresql.Driver
osgi.jdbc.driver.name PostgreSQL JDBC…

9ilsdx 9rvj 0lo
- 7,955
- 10
- 38
- 77
2
votes
0 answers
Eclipse Scout with PAX-logger
I am trying to set logging in scout application, so I am trying to set PAX-logger.
I add pax-logging-api-1.7.0.jar, pax-logging-service-1.7.0.jar and pax-confman-propsloader-0.2.1.jar into my target.
I import all three into rap product.
In…

Marko Zadravec
- 8,298
- 10
- 55
- 97
2
votes
0 answers
Apache Karaf feature:repo-add fails in first run and succeeds in second run
I have an annoying problem in Apache Karaf 3.0.2. I want to add a feature repository. It is located in my private Nexus Snapshot Repository and protected by username and password. Everything is correctly stated in my…

Herr-Herner
- 491
- 6
- 22
2
votes
1 answer
How to get rid of the logging startup messages in the console when using PAX logging?
I have been asked to implement PAX logging on our RCP application. Basically, I have followed this tutorial.
As you may noticed, it says that when "you run your RCP application, you should see Pax ConfMan logging output to your console". Please…

AuroMetal
- 928
- 3
- 14
- 32