|
|
Re: OSGI Service Problem after update a feature [message #788085 is a reply to message #787992] |
Wed, 01 February 2012 10:35 |
Henrik Lindberg Messages: 2509 Registered: July 2009 |
Senior Member |
|
|
Unless a bundle is a singleton, you are allowed to install multiple
versions. If when you say you "update", you actually "install" the new
version, this is exactly what you get. If you instead perform an update
p2 replaces the older version with the newer.
Regards
- henrik
On 2012-01-02 9:05, Christian Eugster wrote:
> Hi, maybe, I have been a little unclear, what the problem is: I have a
> rcp application with install/update capability using p2. I create a
> plugin (say plugin1.0.0.qualifier) with an osgi service component
> installable with p2. I install this plugin. After a while I add
> functionality to this plugin1.0.0.qualifier, so creating another plugin
> (plugin1.0.1.qualifier), also installable throught p2. Now, I update my
> application (downloading and installing plugin1.0.1.qualifier) and
> restart the application. After a while I get in the console the message,
> that two service components with the same name (service 1 from
> plugin1.0.0.qualifier and service 2 from plugin1.0.1.qualifier) are
> found. ss plugin shows that both plugins are active. In my oppinion that
> not should be the case. What is going wrong here?
>
> Thank you for answering!
>
> Christian Eugster
|
|
|
|
Powered by
FUDForum. Page generated in 0.03481 seconds