Questions tagged [pax-runner]

Pax Runner is a tool to provision OSGi bundles in all major open source OSGi framework implementations (Felix, Equinox, Knopflerfish, Concierge).

34 questions
1
vote
2 answers

How to debug a GWT application running on OSGi?

I'm developing a web UI using GWT. While working only with the widgets I could debug from Eclipse using the Firefox extension, but now that I'm integrating the UI with other OSGi bundles I cannot use this solution. For deploying the GWT application…
Jaime Soriano
  • 7,309
  • 2
  • 33
  • 45
1
vote
0 answers

Maven Pax Runner cannot parse provision file

if I have a profile defined as follows in the Maven plugin: org.ops4j maven-pax-plugin --log=debug …
Qeychon
  • 477
  • 1
  • 5
  • 15
1
vote
1 answer

Class loading issue in Blueprint/OSGi

I've a blueprint with two managed service factories, like following:
mhshams
  • 16,384
  • 17
  • 55
  • 65
1
vote
2 answers

OSGI Pax logging

I want to write a custom appender which will collect all the logs coming to Fuse.log in Fuse container and relay them over Scribe to a central log store. I want to add a event listener for that in the container. But I couldn't figure out how I can…
Nipun Talukdar
  • 4,975
  • 6
  • 30
  • 42
1
vote
1 answer

Error with Pax runner

I am using Maven pax plugin to start equinox container within which my osgi bundles should be deployed.As pax runner by default starts a felix container I have explicitly given instructions to start an equinox container. This is my pax plugin…
Maheshwaran K
  • 1,982
  • 5
  • 19
  • 22
1
vote
1 answer

Apache OSGI Karaf's features-maven-plugin:create-kar is failing on a features.xml bundle using the PAX wrap/bnd syntax

The problematic line is the first bundle in this features snippet wrap:mvn:org.springframework/ldap/1.3.0.RELEASE,mvn:com.mycompany.stuff/stuff-common-security/1.0-SNAPSHOT/bnd/spring-ldap
marathon
  • 7,881
  • 17
  • 74
  • 137
1
vote
2 answers

Loading ipojo Maven Bundle in Pax Exam Test

I am trying to create a test using Pax Exam, where some of the bundles that I am loading for the test depend on the package "org.apache.felix.ipojo". If I were to leave out a line loading this bundle in the Pax Exam configuration,…
user1991839
  • 1,993
  • 2
  • 14
  • 11
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
0 answers

System works fine using Pax-runner , but don't work with Karaf. Datastax exception. Pool is busy

I'm working on a feature, here at the company, which aims to substitute the OSGi deploy (which uses Pax-runner now with equinox as framework, using pax:provision), for a full Karaf container. Here are the steps that I'm doing: 1 - Run a…
Lucas Vecchete
  • 113
  • 1
  • 1
  • 6
0
votes
1 answer

Pax Runner: Any experiences with the in-process executor?

I am currently deciding which pax executor to use when running OSGi applications from the IDE (see http://paxrunner.ops4j.org/space/Executors for a list of available one's). There basically two choices for me when I want to run a process from the…
Jan Thomä
  • 13,296
  • 6
  • 55
  • 83
0
votes
1 answer

How to give a repository url in karaf paxexam configuration

The below code tries to install the artifacts defined in feature from this location http://repository.apache.org/content/groups/snapshots-group/ is there a way to give another repository location for download and install. @Configuration …
Charity
  • 213
  • 1
  • 5
  • 23
0
votes
0 answers

Confgure pax-exam with --definitionURL

From Dmytro Pishchukhin's blog I learned that pax-exam's runner can configure itself from an extension xml containing platform definition in the following way: @Configuration public static Option[] configurePlatform() { return options( …
0
votes
2 answers

Pax Exam execute command against Karaf

I am trying to run a PAX Exam test which starts a Karaf instance version 4.0.2 and then deploys some features. Everything works so far. However, I also want to run some commands to check that the bundles have been installed i.e. run "bundle:list"…
Souciance Eqdam Rashti
  • 3,143
  • 3
  • 15
  • 31
0
votes
1 answer

Is it possible to start pax-run without the Gogo shell?

I'm trying to deploy an application which is provisioned with pax-run. However, it seems that it insists on installing the Gogo bundles. Since when the application is executed it does not get a terminal allocated, Gogo closes and stops the…
Robert Munteanu
  • 67,031
  • 36
  • 206
  • 278
0
votes
2 answers

java.lang.AbstractMethodError/ClassCastException when creating integration test for osgi using felix, osgi and PaxRunner Framework

I am trying to create integration test for my bundle. basically I want to mimic the setup I have in normal web app project(wherein the test are in src/test folder) I am almost there except that I have exception when the bundle tries to…