incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reto Bachmann-Gmür (JIRA) <j...@apache.org>
Subject [jira] [Created] (CLEREZZA-526) updating bundles with a new launcher using -R all doesn't work
Date Sat, 14 May 2011 15:28:47 GMT
updating bundles with a new launcher using -R all doesn't work
--------------------------------------------------------------

                 Key: CLEREZZA-526
                 URL: https://issues.apache.org/jira/browse/CLEREZZA-526
             Project: Clerezza
          Issue Type: Bug
            Reporter: Reto Bachmann-Gmür


The -R all options should update/revert all bundles with the versions contained in the launcher
but this doesn't seem to work:

$ /usr/bin/java -XX:MaxPermSize=256M -Xmx1g -jar platform.launcher.tdb-0.5-incubating-20110514.110352-69.jar
-R all 
setting log-level to: INFO
starting felix
java.lang.ClassNotFoundException: org.apache.clerezza.platform.security.conditions.NotBundleLocationCondition
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:186)
        at org.apache.felix.framework.security.util.Conditions.isSatisfied(Conditions.java:147)
        at org.apache.felix.framework.security.condpermadmin.ConditionalPermissionAdminImpl.eval(ConditionalPermissionAdminImpl.java:1079)
        at org.apache.felix.framework.security.condpermadmin.ConditionalPermissionAdminImpl.hasPermission(ConditionalPermissionAdminImpl.java:994)
        at org.apache.felix.framework.SecurityProviderImpl.hasBundlePermission(SecurityProviderImpl.java:123)
        at org.apache.felix.framework.Felix.impliesBundlePermission(Felix.java:3789)
        at org.apache.felix.framework.BundleProtectionDomain.impliesDirect(BundleProtectionDomain.java:73)
        at org.apache.felix.framework.ExtensionManager.addExtensionBundle(ExtensionManager.java:297)
        at org.apache.felix.framework.Felix.installBundle(Felix.java:2560)
        at org.apache.felix.framework.Felix.installBundle(Felix.java:2449)
        at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:142)
        at org.apache.clerezza.platform.launcher.Main.installBundles(Main.java:96)
        at org.apache.clerezza.platform.launcher.Main.installBundlesForStartLevels(Main.java:352)
        at org.apache.clerezza.platform.launcher.Main.main(Main.java:232)
org.osgi.framework.BundleException: Could not create bundle object.
level 1 bundles installed
java.lang.ClassNotFoundException: org.apache.clerezza.platform.security.conditions.NotBundleLocationCondition
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:186)
        at org.apache.felix.framework.security.util.Conditions.isSatisfied(Conditions.java:147)
        at org.apache.felix.framework.security.condpermadmin.ConditionalPermissionAdminImpl.eval(ConditionalPermissionAdminImpl.java:1079)
        at org.apache.felix.framework.security.condpermadmin.ConditionalPermissionAdminImpl.hasPermission(ConditionalPermissionAdminImpl.java:994)
        at org.apache.felix.framework.SecurityProviderImpl.hasBundlePermission(SecurityProviderImpl.java:123)
        at org.apache.felix.framework.Felix.impliesBundlePermission(Felix.java:3789)
        at org.apache.felix.framework.BundleProtectionDomain.impliesDirect(BundleProtectionDomain.java:73)
        at org.apache.felix.framework.ExtensionManager.addExtensionBundle(ExtensionManager.java:297)
        at org.apache.felix.framework.Felix.installBundle(Felix.java:2560)
        at org.apache.felix.framework.Felix.installBundle(Felix.java:2449)
        at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:142)
        at org.apache.clerezza.platform.launcher.Main.installBundles(Main.java:96)
        at org.apache.clerezza.platform.launcher.Main.installBundlesForStartLevels(Main.java:352)
        at org.apache.clerezza.platform.launcher.Main.main(Main.java:232)
org.osgi.framework.BundleException: Could not create bundle object.
level 2 bundles installed
Could not create framework: java.lang.IllegalStateException: Cannot uninstall an uninstalled
bundle.
java.lang.IllegalStateException: Cannot uninstall an uninstalled bundle.
        at org.apache.felix.framework.Felix.uninstallBundle(Felix.java:2306)
        at org.apache.felix.framework.BundleImpl.uninstall(BundleImpl.java:995)
        at org.apache.clerezza.platform.launcher.Main.getRevertArtifacts(Main.java:465)
        at org.apache.clerezza.platform.launcher.Main.installBundlesForStartLevels(Main.java:349)
        at org.apache.clerezza.platform.launcher.Main.main(Main.java:232)


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message