Hi,

No problem to start several Felx on the same machine. As said by Rick, you
need to use different cache:
java -jar bin/felix.jar cache1
java -jar bin/felix.jar cache2

The tutorial http://felix.apache.org/site/apache-felix-ipojo-dosgi.htmlstarts
two instances of Felix on the same machine that interact with
distributed services.

Small hints:
- if you want to use an HTTP service, set two different ports
- if you want twice the same set of bundles (or close), you can use file
install in both instances and configure them on the same directory.

Regards,

Clement

2009/8/11 Richard S. Hall <[email protected]>

> On 8/10/09 23:55, James Carroll wrote:
>
>> This might sound silly, but what happens when I start Felix twice on the
>> same machine?  I'm wanting to make sure that its started before I deploy
>> to my test machine, so I was thinking an ant task would be good, but I
>> don't to have additional instances running every time I do.
>>
>>
>
> I assume you mean starting Felix concurrently...
>
> If you are starting multiple instances of the Felix framework concurrently,
> you need to make sure each has its own bundle cache directory, since it
> cannot handle concurrent access from multiple frameworks. Otherwise, you
> should be okay.
>
> -> richard
>
>
>  Thanks,
>> James
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to