You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Laci Gaspar <la...@gmail.com> on 2015/02/10 13:35:50 UTC
reset bundle id
Hi
Just a cosmetic question. Is it possible to reset the bundle id?
Currently my highest installed bundle has id 202 but the next bundle I
install gets bundle id 1729 because beforehand the bundles went up to
that id.
Is it possible to reset the id so that karaf continues at 203?
thanks
Laci
Re: reset bundle id
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
With shutdown (which is better for sure), change the
data/cache/bundle0/bundle.id should work ;)
Regards
JB
On 02/11/2015 11:41 AM, Laci Gaspar wrote:
> No, not on the fly. I'd shut down karaf to do it.
>
> I found that in data/cache/bundle0/bundle.id the next bundle id is stored.
>
> Thanks!
> Laci
>
>
> On 10.02.2015 13:46, Jean-Baptiste Onofré wrote:
>> Hi Laci,
>>
>> you mean on the fly ?
>>
>> Purging the cache might do the trick.
>> The cache uses the following structure:
>>
>> data/cache
>> bundlex/
>> bundle.id
>> bundle.lastmodified
>> bundle.location
>> bundle.startlevel
>> bundle.state
>> data/
>> versionx.x/
>>
>> Regards
>> JB
>>
>> On 02/10/2015 01:35 PM, Laci Gaspar wrote:
>>> Hi
>>> Just a cosmetic question. Is it possible to reset the bundle id?
>>> Currently my highest installed bundle has id 202 but the next bundle I
>>> install gets bundle id 1729 because beforehand the bundles went up to
>>> that id.
>>> Is it possible to reset the id so that karaf continues at 203?
>>>
>>> thanks
>>> Laci
>>
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: reset bundle id
Posted by Laci Gaspar <la...@gmail.com>.
No, not on the fly. I'd shut down karaf to do it.
I found that in data/cache/bundle0/bundle.id the next bundle id is stored.
Thanks!
Laci
On 10.02.2015 13:46, Jean-Baptiste Onofré wrote:
> Hi Laci,
>
> you mean on the fly ?
>
> Purging the cache might do the trick.
> The cache uses the following structure:
>
> data/cache
> bundlex/
> bundle.id
> bundle.lastmodified
> bundle.location
> bundle.startlevel
> bundle.state
> data/
> versionx.x/
>
> Regards
> JB
>
> On 02/10/2015 01:35 PM, Laci Gaspar wrote:
>> Hi
>> Just a cosmetic question. Is it possible to reset the bundle id?
>> Currently my highest installed bundle has id 202 but the next bundle I
>> install gets bundle id 1729 because beforehand the bundles went up to
>> that id.
>> Is it possible to reset the id so that karaf continues at 203?
>>
>> thanks
>> Laci
>
Re: reset bundle id
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Laci,
you mean on the fly ?
Purging the cache might do the trick.
The cache uses the following structure:
data/cache
bundlex/
bundle.id
bundle.lastmodified
bundle.location
bundle.startlevel
bundle.state
data/
versionx.x/
Regards
JB
On 02/10/2015 01:35 PM, Laci Gaspar wrote:
> Hi
> Just a cosmetic question. Is it possible to reset the bundle id?
> Currently my highest installed bundle has id 202 but the next bundle I
> install gets bundle id 1729 because beforehand the bundles went up to
> that id.
> Is it possible to reset the id so that karaf continues at 203?
>
> thanks
> Laci
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com