java.io.FileNotFoundException

/opt/sonatype/nexus/etc/org.apache.karaf.command.acl.system.cfg (Permission denied)

Solutions on the web2512

  • via Sonatype JIRA by Joe Tom, 9 months ago
    /opt/sonatype/nexus/etc/org.apache.karaf.command.acl.system.cfg (Permission denied)
  • /opt/sonatype/nexus/etc/karaf/org.apache.karaf.command.acl.system.cfg (Permission denied)
  • via GitHub by rcarmich
    , 8 months ago
    /opt/sonatype/nexus/etc/org.apache.karaf.command.acl.feature.cfg (Permission denied)
  • Stack trace

    • java.io.FileNotFoundException: /opt/sonatype
    • exus/etc/org.apache.karaf.command.acl.system.cfg (Permission denied) at java.io.FileOutputStream.open0(Native Method)[na:1.8.0_77] at java.io.FileOutputStream.open(FileOutputStream.java:270)[na:1.8.0_77] at java.io.FileOutputStream.<init>(FileOutputStream.java:213)[na:1.8.0_77] at java.io.FileOutputStream.<init>(FileOutputStream.java:162)[na:1.8.0_77] at org.apache.felix.utils.properties.Properties.save(Properties.java:152)[org.apache.karaf.features.core:4.0.4] at org.apache.felix.utils.properties.Properties.save(Properties.java:148)[org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeatureConfigInstaller.updateStorage(FeatureConfigInstaller.java:292)[org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeatureConfigInstaller.installFeatureConfigs(FeatureConfigInstaller.java:107)[org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:1166)[org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:778)[org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1089)[org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:985)[org.apache.karaf.features.core:4.0.4] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_77] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_77] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_77] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_77]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.