pax-runner

logback in spring-OSGI with pax-runner

爱⌒轻易说出口 提交于 2019-12-05 03:43:15
问题 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 accordingly? I have tried with JoranConfigurator to load logback.xml which is included in bundle classpath, but it assumes classpath as the container in which the bundle is running (in my case it is runner folder where all the bundle jars are placed). Any

'Platform is not supported' supported when trying to run OSGi debug target

此生再无相见时 提交于 2019-12-05 00:31:59
问题 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 project I get into trouble. I use the 'OSGi Bundles' runner from IntelliJ Idea. There I select my project bundles and the OSGi container and run it. Here the issue starts. I always the the same error message: ___ / / / / Oops, there has been a

Continuous deployment of OSGi-based application on jenkins

ぐ巨炮叔叔 提交于 2019-12-04 08:35:27
问题 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 wrong or missed - somehow I feel being on the wrong track... This is what I want to achieve: build some bundles and install them to the maven repository (no problem here, using bnd) now having all the bundles making up my application (passing all

logback in spring-OSGI with pax-runner

戏子无情 提交于 2019-12-03 21:54:56
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 accordingly? I have tried with JoranConfigurator to load logback.xml which is included in bundle classpath, but it assumes classpath as the container in which the bundle is running (in my case it is runner folder where all the bundle jars are placed). Any help would be appreciated. Thanks in advace. The usual approach would be to create a fragment bundle

Continuous deployment of OSGi-based application on jenkins

自古美人都是妖i 提交于 2019-12-03 00:08:19
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 wrong or missed - somehow I feel being on the wrong track... This is what I want to achieve: build some bundles and install them to the maven repository (no problem here, using bnd) now having all the bundles making up my application (passing all tests and so on), I want to deploy and run the application, that is, start some OSGi framework using those