Re: Launch felix within eclipse

2011-05-18 Thread Christopher Armstrong
Hi Konstantinos I developed a plugin for Eclipse that lets you run Apache Felix as an Eclipse target platform. It doesn't depend on Pax Runner. You might be able to extend it so that it can navigate a maven repository and add bundles from it to the target platform. See http://code.google.com/p/fe

Re: DependencyManager vs iPOJO

2011-05-18 Thread Marcel Offermans
Hello Marian, On 18 May 2011, at 22:15 , marian grigoras wrote: > I would like to understand the relation between DependencyManager and iPOJO. > I see that both are apache projects, both under active development - is > there any difference in the problem they try to solve? They solve the same pr

Re: Felix/pax runner cyclic dependency issue - whats the common way to solve this?

2011-05-18 Thread Matt Madhavan
Hello All, Thanks for the reply! I kind of get the recommended solution! This is my working scenerio 1. I create the project using mvn pax:createproject 2. Then I run bunch of mvn pax:create-bundle -Dpackage=com.xxx -Dversion=xxx 3. when I do mvn pax:provision - a folder called runne

DependencyManager vs iPOJO

2011-05-18 Thread marian grigoras
Hi, I would like to understand the relation between DependencyManager and iPOJO. I see that both are apache projects, both under active development - is there any difference in the problem they try to solve? I'm currently using DependencyManager and appreciate defining components (and their depen

Re: Felix/pax runner cyclic dependency issue - whats the common way to solve this?

2011-05-18 Thread Alasdair Nottingham
Hi, It would also be worth asking the geronimo project to take a look. The geronimo JMS and geronimo JTA bundles do not seem to work nicely together which is a shame. Alasdair On 18 May 2011 18:09, Bartosz Kowalewski wrote: > Hi, > > Felix itself does not provide JTA packages, but the system bu

Re: Felix/pax runner cyclic dependency issue - whats the common way to solve this?

2011-05-18 Thread Bartosz Kowalewski
Hi, Felix itself does not provide JTA packages, but the system bundle exports plenty of javax.* (and non-javax) packages. The packages that are exported are defined in Pax Runner Profiles: https://github.com/ops4j/org.ops4j.pax.runner/tree/master/pax-runner-platform/src/main/resources/META-INF/pla

Re: Felix/pax runner cyclic dependency issue - whats the common way to solve this?

2011-05-18 Thread Richard S. Hall
[removing the cross posting] You have a few choices: 1. Resolve bundle 33 before 88, which will raise the priority of its javax.transaction.xa package. 2. Modify 88's import of javax.transaction.xa to include a version range that excludes 0.0.0 (i.e., the system bundle). 3. Modif

Re: Native library crash in OSGi

2011-05-18 Thread CD Rasmussen
Also check out rOSGi, which is Remote OSGi. The point here is not so much the remoteness but that it can be used for any process not in the current container. Cheers. On Wed, May 18, 2011 at 11:13 AM, niiba...@gmail.com wrote: > Hello! > > I wonder, is anybody tested such behavior: > > We have on

Felix/pax runner cyclic dependency issue - whats the common way to solve this?

2011-05-18 Thread Matt Madhavan
Hello, I ran into a strange issue today. I'm running Felix container (3.2.0) with some provisioned bundles by invoking *mvn pax:provision* The OpenJpa bundle does not resolve (its in the installed stage!). I see the following issue in the Felix console! [qtp9097155-32 - /system/console/bundles/87

Re: Native library crash in OSGi

2011-05-18 Thread Richard S. Hall
On 5/18/11 11:13, niiba...@gmail.com wrote: Hello! I wonder, is anybody tested such behavior: We have one bundle with native library inside. Library throws, for example, "AccessViolation". Usually, when operation system catches such exception, it asks you to kill process. I wonder, what would

Felix as a Daemon?

2011-05-18 Thread Robert Fischer
Is there any good (including up-to-date) documentation on running Felix as a daemon? Where might I find it? ~~ Robert. - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix

Native library crash in OSGi

2011-05-18 Thread niiba...@gmail.com
Hello! I wonder, is anybody tested such behavior: We have one bundle with native library inside. Library throws, for example, "AccessViolation". Usually, when operation system catches such exception, it asks you to kill process. I wonder, what would be with felix? Whole instance will fail or

Re: Launch felix within eclipse

2011-05-18 Thread Přemek Brada
Hello Kostas, have a look at classes ApacheACERunner and VMLauncherUtility at http://www.assembla.com/code/eclipse-ace/subversion/nodes/trunk/src/src/cz/zcu/kiv/apacheace - the first calls the second, which creates a lauch configuration with VM instance that loads Pax Runner daemon class from a pa

Re: Launch felix within eclipse

2011-05-18 Thread Konstantinos Giannoutakis
Dear Premek, It would be great if you point me to specific parts of code. Actually I am interested in creating the Felix framework and installing bundles on it programmatically. Thank you in advance, Kostas On 18/5/2011 5:30 μμ, Přemek Brada wrote: Hello, in our ACE IDE project (http://ww

Re: Launch felix within eclipse

2011-05-18 Thread Přemek Brada
Hello, in our ACE IDE project (http://www.assembla.com/spaces/eclipse-ace/), we are using Pax Runner to launch Felix loaded with local Apache ACE server/gateway from within Eclipse Helios (3.6) - it works without problems, though we are not loading bundles from a maven repo. I will be happy to po

Launch felix within eclipse

2011-05-18 Thread Konstantinos Giannoutakis
Hi, I am developing an eclipse plugin where the user should be able to run Felix with some bundles installed. All bundles are stored within a Maven repository, and the plugin should be able to start the Felix framework with these bundles installed. The pax runner plugin does this job, but it