Hi Laci,

understandable, though I think it's mostly related to your
installing/un-installing of features many times.
I'm gonna give the way it works a look later today. So maybe more tomorrow
:)

Regards, Achim



2014-07-31 14:28 GMT+02:00 Laci Gaspar <[email protected]>:

>  Hi
> It's not a problem to start from scratch, since it's a development
> installation. I just wanted to know if there's a way to fix such a
> situation in case we run into it in a production environment. There it
> would be nicer if I could "fix" it somehow instead of setting up a clean
> installation.
>
> Thanks anyway.
> Regards,
> Laci
>
>
> On 31.07.2014 09:54, Achim Nierbeck wrote:
>
> Hi,
>
>  right now I don't know of any means of "fixing" this file, need to
> inspect that a bit further.
> As it seems to work with a clean data dir, why don't you start from
> scratch?
>
>  regards, Achim
>
>
>
> 2014-07-31 9:06 GMT+02:00 Laci Gaspar <[email protected]>:
>
>>  Hi
>> Yes, there seems to be something wrong in the data/cache directory. With
>> an empty data directory I can install the features.
>>
>> In the cache directory for the FeatureService there is a file
>> FeaturesServiceState.properties which lists features which are not
>> installed.
>> Is there a possibility to rebuild that file? I don't quite understand the
>> syntax of it.
>>
>> Regards,
>> Laci
>>
>>
>> On 30.07.2014 22:26, Achim Nierbeck wrote:
>>
>> Hi,
>>
>>  strange enough it's not installing any bundles.
>> Could you try this with a clean data folder?
>>
>>  regards, Achim
>>
>>
>> 2014-07-30 9:14 GMT+02:00 Laci Gaspar <[email protected]>:
>>
>>>  Very strange...
>>> karaf says it's installing the features:
>>> karaf@root> features:install -c -v mspEtg-development
>>> Installing feature mspEtg-development 1.1.0-SNAPSHOT
>>> Installing feature DeliverInvoiceToDossier-development 1.1.0-SNAPSHOT
>>> Installing feature DisableDossierDelivery-development 1.1.0-SNAPSHOT
>>>
>>> but they are not there:
>>> features:list | grep -i DeliverInvoiceToDossier
>>> karaf@root>
>>>
>>> when I try to uninstall them:
>>> karaf@root> features:uninstall DeliverInvoiceToDossier-development
>>> Error executing command: Feature named
>>> 'DeliverInvoiceToDossier-development' has multiple versions installed
>>> (1.0.0-SNAPSHOT, 1.1.0-SNAPSHOT). Please specify the version to uninstall.
>>>
>>> but they are not there...
>>> karaf@root> features:uninstall
>>> DeliverInvoiceToDossier-development/1.0.0-SNAPSHOT
>>> Error executing command: Feature named
>>> 'DeliverInvoiceToDossier-development' with version '1.0.0-SNAPSHOT' is not
>>> installed
>>> karaf@root> features:uninstall
>>> DeliverInvoiceToDossier-development/1.1.0-SNAPSHOT
>>> Error executing command: Feature named
>>> 'DeliverInvoiceToDossier-development' with version '1.1.0-SNAPSHOT' is not
>>> installed
>>>
>>> any ideas?
>>>
>>> Thanks,
>>> Laci
>>>
>>>
>>>
>>>
>>>
>>>
>>> On 29.07.2014 20:41, Achim Nierbeck wrote:
>>>
>>> Hi Laci,
>>> give installing with -c and -v a try.
>>> This way you'll see more of what is happening.
>>>
>>> Regards, Achim
>>>
>>> sent from mobile device
>>> Am 29.07.2014 17:05 schrieb "Laci Gaspar" <[email protected]>:
>>>
>>>> Hi
>>>> I'm having a strange problem in ONE of my karaf installations.
>>>> I have a feature (mspEtg) which serves only as an 'envelope' for other
>>>> features (the features.xml lists several other features which should be
>>>> installed all at once).
>>>>
>>>> If I install mspEtg in one of my installation then 'nothing' happens.
>>>> mspEtg gets installed but none of the features listed in features.xml.
>>>> In another karaf installation it works fine.
>>>>
>>>> How can I find out what's going on?
>>>>
>>>> Thanks,
>>>> Laci
>>>>
>>>
>>>
>>
>>
>>  --
>>
>> Apache Member
>> Apache Karaf <http://karaf.apache.org/> Committer & PMC
>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer
>> & Project Lead
>> blog <http://notizblog.nierbeck.de/>
>>
>>  Software Architect / Project Manager / Scrum Master
>>
>>
>>
>
>
>  --
>
> Apache Member
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
> Project Lead
> blog <http://notizblog.nierbeck.de/>
>
>  Software Architect / Project Manager / Scrum Master
>
>
>


-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>

Software Architect / Project Manager / Scrum Master

Reply via email to