You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stanbol.apache.org by Reto Bachmann-Gmür <re...@apache.org> on 2012/10/10 11:53:14 UTC

"Error reloading cached bundle"

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)

Re: "Error reloading cached bundle"

Posted by Reto Bachmann-Gmür <re...@apache.org>.
Hi Rupert,

Indeed this could be what I've been doing. Thanks for finding this out!

Weird however, especially as I can't see s stanbol folder in the new target
folder...

Cheers,
Reto

On Fri, Nov 23, 2012 at 6:10 AM, Rupert Westenthaler <
rupert.westenthaler@gmail.com> wrote:

> 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 <re...@apache.org>
> 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 <
> > rupert.westenthaler@gmail.com> wrote:
> >
> >> Reto,
> >>
> >> have you looked what module bundle64 refers to?
> >>
> >> On Wed, Oct 10, 2012 at 11:53 AM, Reto Bachmann-Gmür <re...@apache.org>
> >> 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             rupert.westenthaler@gmail.com
> >> | Bodenlehenstraße 11                             ++43-699-11108907
> >> | A-5500 Bischofshofen
> >>
>
>
>
> --
> | Rupert Westenthaler             rupert.westenthaler@gmail.com
> | Bodenlehenstraße 11                             ++43-699-11108907
> | A-5500 Bischofshofen
>

Re: "Error reloading cached bundle"

Posted by Rupert Westenthaler <ru...@gmail.com>.
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 <re...@apache.org> 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 <
> rupert.westenthaler@gmail.com> wrote:
>
>> Reto,
>>
>> have you looked what module bundle64 refers to?
>>
>> On Wed, Oct 10, 2012 at 11:53 AM, Reto Bachmann-Gmür <re...@apache.org>
>> 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             rupert.westenthaler@gmail.com
>> | Bodenlehenstraße 11                             ++43-699-11108907
>> | A-5500 Bischofshofen
>>



-- 
| Rupert Westenthaler             rupert.westenthaler@gmail.com
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Re: "Error reloading cached bundle"

Posted by Reto Bachmann-Gmür <re...@apache.org>.
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 <
rupert.westenthaler@gmail.com> wrote:

> Reto,
>
> have you looked what module bundle64 refers to?
>
> On Wed, Oct 10, 2012 at 11:53 AM, Reto Bachmann-Gmür <re...@apache.org>
> 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             rupert.westenthaler@gmail.com
> | Bodenlehenstraße 11                             ++43-699-11108907
> | A-5500 Bischofshofen
>

Re: "Error reloading cached bundle"

Posted by Rupert Westenthaler <ru...@gmail.com>.
Reto,

have you looked what module bundle64 refers to?

On Wed, Oct 10, 2012 at 11:53 AM, Reto Bachmann-Gmür <re...@apache.org> 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             rupert.westenthaler@gmail.com
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen