Re: auto deploy bundles after starting dependencies

2009-10-27 Thread Andrew Williams
Quite right, thanks for the walkthrough though. I was able to find that the problem was some configuration properties were being mangled. I had got to the difficult situation that the properties last generated were almost what I was trying to test but not quite. Sorry for wasting your time.

Re: auto deploy bundles after starting dependencies

2009-10-27 Thread Richard S. Hall
On 10/27/09 16:33, Richard S. Hall wrote: On 10/27/09 16:28, Richard S. Hall wrote: On 10/27/09 16:15, Andrew Williams wrote: Hi there, I am getting to know felix a little more now and appreciating much that it has to offer. One thing that has me puzzled though is how to use the auto deploym

Re: auto deploy bundles after starting dependencies

2009-10-27 Thread Richard S. Hall
On 10/27/09 16:28, Richard S. Hall wrote: On 10/27/09 16:15, Andrew Williams wrote: Hi there, I am getting to know felix a little more now and appreciating much that it has to offer. One thing that has me puzzled though is how to use the auto deployment at a particular startlevel. And for th

Re: auto deploy bundles after starting dependencies

2009-10-27 Thread Richard S. Hall
On 10/27/09 16:15, Andrew Williams wrote: Hi there, I am getting to know felix a little more now and appreciating much that it has to offer. One thing that has me puzzled though is how to use the auto deployment at a particular startlevel. And for that matter - how to iterate through the star

auto deploy bundles after starting dependencies

2009-10-27 Thread Andrew Williams
Hi there, I am getting to know felix a little more now and appreciating much that it has to offer. One thing that has me puzzled though is how to use the auto deployment at a particular startlevel. And for that matter - how to iterate through the startlevels on load. The first problem is th

Re: LogService start order - can st art be forced before othér bundles?

2009-10-27 Thread Richard S. Hall
On 10/27/09 10:47, Niko_K wrote: Richard S. Hall wrote: You have two options: 1. You can modify your other bundles to wait until a log service is available before continuing, thus they won't try to use it before it appears. 2. You can install the log service into star

Re: LogService start order - can start be forced bef ore othér bundles?

2009-10-27 Thread Guo Du
On Tue, Oct 27, 2009 at 2:47 PM, Niko_K wrote: > > > Richard S. Hall wrote: >> >> You have two options: >> >>    1. You can modify your other bundles to wait until a log service is >>       available before continuing, thus they won't try to use it before >>       it appears. >>    2. You can inst

Re: LogService start order - can st art be forced before othér bundles?

2009-10-27 Thread Niko_K
Richard S. Hall wrote: > > You have two options: > >1. You can modify your other bundles to wait until a log service is > available before continuing, thus they won't try to use it before > it appears. >2. You can install the log service into start level 1 and all your >

Re: LogService start order - can st art be forced before othér bundles?

2009-10-27 Thread Richard S. Hall
You have two options: 1. You can modify your other bundles to wait until a log service is available before continuing, thus they won't try to use it before it appears. 2. You can install the log service into start level 1 and all your other bundles into start level 2 (look in t

RE: iPojo & EclipseLink

2009-10-27 Thread Joel Schuster
Well stink! I just tried to recreate my problem by redoing the project and everything worked just fine! Sorry to bother you with this. - Joel > -Original Message- > From: Clement Escoffier [mailto:clement.escoff...@gmail.com] > Sent: Tuesday, October 27, 2009 5:01 AM > To: users@felix.a

Re: iPojo & EclipseLink

2009-10-27 Thread Clement Escoffier
Hi, I quickly implements an example the EclipseLink example (OSGi in PDE), that I migrate on Felix with iPOJO. I didn't get any issue: - I first tried by using only on bundles (containing the persistence.xml file and the component using it and the Person class) - Then, I created two bundles.

Re: RMI Server in osgi bundle.

2009-10-27 Thread Toni Menzel
Hi, we do this at Pax Exam all the time. Actually its important to work around the classloader when accessing the rmiregistry. Have a look at https://scm.ops4j.org/repos/ops4j/projects/pax/exam/pax-exam-container-rbc/src/main/java/org/ops4j/pax/exam/rbc/internal/Activator.java Because you have t

Re: Starting processes from Apache Felix Runtime - Write protection of files in Runtime-Path?

2009-10-27 Thread Tim Dauer
Fixed the problem - I am not sure whether this was an Felix issue anyway... sorry! The Solution was quite simple: Instead of opening a complete new Process using the runtime I instantiated a org.hsqldb.Server object with the proper parameters - and it works. Sorry to bother you! So long. T

RMI Server in osgi bundle.

2009-10-27 Thread kamil szabo
Hey, i'm having hard times to run RMI server in an OSGI budnle... The problem is totally understandable: java.rmi.StubNotFoundException: Stub class not found: sk.procus.pax.server.remoteaccess.RemoteServer_Stub I googled and found nothing usefull - everyone just knows why it doesn't work, but no

LogService start order - can star t be forced before othér bundles?

2009-10-27 Thread Niko_K
I am trying to use the Apache Felix LogService in my own bundles to provide logging to several bundles (i use a jdk-log delegation to make logging as simple as possible) However, the LogService-Bundle itself seems to start after my bundles. Although logging is possible after some time when using

Re: iPojo & EclipseLink

2009-10-27 Thread Clement Escoffier
Hi, On 26.10.2009, at 23:20, Joel Schuster wrote: I've been able to get EclipseLink to work against and embedded Derby instance within Felix working from the Equinox examples. However, this is only when using the standard OSGi BundleActivator implementation, not when using iPojo. As all