Hi Reto,

I am now able to reproduce this by the following

(1) start the Stanbol launcher within the target folder
(2) make a mvn clean install while the stanbol is still running in the
./target folder
(4) stop the Stanbol launcher (of the in the meantime deleted folder)
(5) go to the newly created ./target folder
(6) start the stanbol launcher within the target folder

I think this is because in (4) the launcher writes some data to the
./target/stanbol folder of the new one. Because of that the
initialisation of the new launcher in (6) fails with the reported
exception.

Could this be related to the cases you are reporting?

best
Rupert

On Wed, Nov 14, 2012 at 1:29 PM, Reto Bachmann-Gmür <[email protected]> wrote:
> Now tha I saw the same error again its bundle 105 which is
> slinginstall:org.apache.stanbol.commons.solr.core-0.10.1-SNAPSHOT.jar.
> Again same symptoms.
>
> Reto
>
> On Wed, Oct 10, 2012 at 3:06 PM, Rupert Westenthaler <
> [email protected]> wrote:
>
>> Reto,
>>
>> have you looked what module bundle64 refers to?
>>
>> On Wed, Oct 10, 2012 at 11:53 AM, Reto Bachmann-Gmür <[email protected]>
>> wrote:
>> > Occasionally when starting a fresh stanbol launcher I get the following
>> > error message. Does anybody knows what is causing this? After deleting
>> the
>> > stanbol dectory and retrying the problem doesn't appear again.
>> >
>> > Cheers,
>> > Reto
>> >
>> > ERROR: Error reloading cached bundle, removing it:
>> >
>> /home/reto/projects/apache/stanbol/launchers/full/target/stanbol/felix/bundle64
>> > (java.lang.Exception: No valid revisions in bundle archive directory:
>> >
>> /home/reto/projects/apache/stanbol/launchers/full/target/stanbol/felix/bundle64)
>> > java.lang.Exception: No valid revisions in bundle archive directory:
>> >
>> /home/reto/projects/apache/stanbol/launchers/full/target/stanbol/felix/bundle64
>> >     at
>> >
>> org.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.java:205)
>> >     at
>> >
>> org.apache.felix.framework.cache.BundleCache.getArchives(BundleCache.java:223)
>> >     at org.apache.felix.framework.Felix.init(Felix.java:656)
>> >     at org.apache.sling.launchpad.base.impl.Sling.init(Sling.java:363)
>> >     at org.apache.sling.launchpad.base.impl.Sling.<init>(Sling.java:228)
>> >     at
>> >
>> org.apache.sling.launchpad.base.app.MainDelegate$1.<init>(MainDelegate.java:181)
>> >     at
>> >
>> org.apache.sling.launchpad.base.app.MainDelegate.start(MainDelegate.java:181)
>> >     at org.apache.sling.launchpad.app.Main.startSling(Main.java:424)
>> >     at org.apache.sling.launchpad.app.Main.doStart(Main.java:349)
>> >     at org.apache.sling.launchpad.app.Main.main(Main.java:123)
>> >     at org.apache.stanbol.launchpad.Main.main(Main.java:61)
>>
>>
>>
>> --
>> | Rupert Westenthaler             [email protected]
>> | Bodenlehenstraße 11                             ++43-699-11108907
>> | A-5500 Bischofshofen
>>



-- 
| Rupert Westenthaler             [email protected]
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Reply via email to