Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-4472

Various concurrency issues in fileinstall

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: fileinstall-3.2.8
    • Fix Version/s: fileinstall-3.4.0
    • Component/s: File Install
    • Labels:
      None

      Description

      Here an exception that can happen:

      2014-03-30 15:39:36,058 | ERROR | Thread-11        | fileinstall                      | 6 - org.apache.felix.fileinstall - 3.2.8 | Failed to install artifact: /Users/gnodet/work/git/karaf3x/assemblies/apache-karaf-minimal/target/apache-karaf-minimal-4.0.0-SNAPSHOT/etc/org.apache.karaf.command.acl.bundle.cfg
      java.lang.IllegalStateException: Configuration Admin service has been unregistered
      	at org.apache.felix.cm.impl.ConfigurationAdminImpl.getConfigurationManager(ConfigurationAdminImpl.java:300)[5:org.apache.felix.configadmin:1.8.0]
      	at org.apache.felix.cm.impl.ConfigurationAdminImpl.listConfigurations(ConfigurationAdminImpl.java:179)[5:org.apache.felix.configadmin:1.8.0]
      	at org.apache.felix.fileinstall.internal.ConfigInstaller.findExistingConfiguration(ConfigInstaller.java:346)[6:org.apache.felix.fileinstall:3.2.8]
      	at org.apache.felix.fileinstall.internal.ConfigInstaller.getConfiguration(ConfigInstaller.java:320)[6:org.apache.felix.fileinstall:3.2.8]
      	at org.apache.felix.fileinstall.internal.ConfigInstaller.setConfig(ConfigInstaller.java:245)[6:org.apache.felix.fileinstall:3.2.8]
      	at org.apache.felix.fileinstall.internal.ConfigInstaller.install(ConfigInstaller.java:84)[6:org.apache.felix.fileinstall:3.2.8]
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:945)[6:org.apache.felix.fileinstall:3.2.8]
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:873)[6:org.apache.felix.fileinstall:3.2.8]
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:499)[6:org.apache.felix.fileinstall:3.2.8]
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:236)[6:org.apache.felix.fileinstall:3.2.8]
      	at org.apache.felix.fileinstall.internal.FileInstall.updated(FileInstall.java:239)[6:org.apache.felix.fileinstall:3.2.8]
      	at org.apache.felix.fileinstall.internal.FileInstall.start(FileInstall.java:125)[6:org.apache.felix.fileinstall:3.2.8]
      	at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645)[org.apache.felix.framework-4.2.1.jar:]
      	at org.apache.felix.framework.Felix.activateBundle(Felix.java:2146)[org.apache.felix.framework-4.2.1.jar:]
      	at org.apache.felix.framework.Felix.startBundle(Felix.java:2064)[org.apache.felix.framework-4.2.1.jar:]
      	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)[org.apache.felix.framework-4.2.1.jar:]
      	at org.apache.karaf.bundle.command.LoadTest$1.run(LoadTest.java:129)[35:org.apache.karaf.bundle.command:4.0.0.SNAPSHOT]
      

        Attachments

          Activity

            People

            • Assignee:
              gnt Guillaume Nodet
              Reporter:
              gnt Guillaume Nodet
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: