java.io.FileNotFoundException: File does not exist: /tmp/karaf7576566762912840191/caches/pan/data-1/cache/bundle12/data/config/org/apache/karaf/management.config

Pentaho BI Platform Tracking | Alexander Schurman | 4 months ago
  1. 0

    On the HELP documentation, there is a new property included in Pentaho 6.1 https://help.pentaho.com/Documentation/6.1/0P0/100/Karaf_Performance_Tuning The parameter called **pentaho.karaf.root.transient=true** is used when non ADMIN uses need to execute PDI Jobs and transformations but the Install Folder has READ ONLY. The error reported is the following: {code} Deleting configuration from org.pentaho.features.cfg Deleting configuration from pentaho.marketplace.di.cfg Deleting configuration from jmx.acl.cfg Deleting configuration from mondrian.cfg Deleting configuration from org.apache.karaf.command.acl.system.cfg Deleting configuration from org.apache.karaf.webconsole.cfg Deleting configuration from org.pentaho.caching-default.cfg Deleting configuration from jmx.acl.osgi.compendium.cm.cfg Deleting configuration from org.apache.karaf.command.acl.scope_bundle.cfg 11:44:22,350 ERROR [KarafBoot] Unable to delete karaf directory /tmp/karaf420566567662495474 java.io.IOException: Unable to delete directory /tmp/karaf420566567662495474/caches/pan/data-1/cache/bundle12/data/config. at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1337) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.pentaho.platform.osgi.KarafBoot$1.run(KarafBoot.java:136) at java.lang.Thread.run(Thread.java:745) {code} Other errors like {code} Deleting configuration from jmx.acl.org.apache.karaf.security.jmx.cfg Deleting configuration from org.pentaho.caching-default.cfg Deleting configuration from jmx.acl.osgi.compendium.cm.cfg Deleting configuration from org.ops4j.pax.url.mvn.cfg Deleting configuration from org.apache.karaf.management.cfg Deleting configuration from org.apache.karaf.command.acl.scope_bundle.cfg Deleting configuration from pentaho.metaverse.cfg Deleting configuration from jmx.acl.org.apache.karaf.bundle.cfg Deleting configuration from org.apache.karaf.command.acl.shell.cfg 12:51:47,204 ERROR [KarafBoot] Unable to delete karaf directory /tmp/karaf7576566762912840191 java.io.FileNotFoundException: File does not exist: /tmp/karaf7576566762912840191/caches/pan/data-1/cache/bundle12/data/config/org/apache/karaf/management.config at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1915) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331) at org.pentaho.platform.osgi.KarafBoot$1.run(KarafBoot.java:136) at java.lang.Thread.run(Thread.java:745) {code} This does not happen ALWAYS, it happens randomly.

    Pentaho BI Platform Tracking | 4 months ago | Alexander Schurman
    java.io.FileNotFoundException: File does not exist: /tmp/karaf7576566762912840191/caches/pan/data-1/cache/bundle12/data/config/org/apache/karaf/management.config
  2. 0

    Minimizing error

    GitHub | 2 years ago | patriciog
    java.io.FileNotFoundException: File does not exist: o ut4\jre\lib\rt\com\sun\corba \se
  3. 0

    PDI won't start because of Karaf Plugin not being able to deal with blanks in file path Once the blank is removed, it works as expected See stacktrace below: {noformat} data-integration 2 $ sh spoon.sh 14:34:35,447 WARN [KarafBoot] No custom.properties file for in karaf distribution. 14:34:35,456 ERROR [KarafBoot] Error starting Karaf java.io.FileNotFoundException: File /Users/pstoellberger/Downloads/data-integration/./karaf-copy//etc/KarafPorts.yaml does not exist. Could not determine karaf port assignment at org.pentaho.platform.osgi.KarafInstancePortFactory.process(KarafInstancePortFactory.java:68) at org.pentaho.platform.osgi.KarafBoot.startup(KarafBoot.java:150) at org.pentaho.di.osgi.registryExtension.OSGIPluginRegistryExtension.init(OSGIPluginRegistryExtension.java:105) at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:558) at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:101) at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:97) at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:75) at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:585) at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:577) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) 14:34:46,075 ERROR [KarafLifecycleListener] The Kettle Karaf Lifycycle Listener failed to execute properly. Releasing lifecycle hold, but some services may be unavailable. java.lang.NullPointerException at org.pentaho.di.core.svg.SvgSupport.isPngName(SvgSupport.java:90) at org.pentaho.di.core.svg.SvgSupport.toSvgName(SvgSupport.java:97) at org.pentaho.di.ui.util.SwtSvgImageUtil.getImageAsResource(SwtSvgImageUtil.java:112) at org.pentaho.di.ui.core.gui.GUIResource.loadCommonImages(GUIResource.java:796) {noformat}

    Pentaho BI Platform Tracking | 9 months ago | Paul Stoellberger
    java.io.FileNotFoundException: File /Users/pstoellberger/Downloads/data-integration/./karaf-copy//etc/KarafPorts.yaml does not exist. Could not determine karaf port assignment
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    PDI won't start because of Karaf Plugin not being able to deal with blanks in file path Once the blank is removed, it works as expected See stacktrace below: {noformat} data-integration 2 $ sh spoon.sh 14:34:35,447 WARN [KarafBoot] No custom.properties file for in karaf distribution. 14:34:35,456 ERROR [KarafBoot] Error starting Karaf java.io.FileNotFoundException: File /Users/pstoellberger/Downloads/data-integration/./karaf-copy//etc/KarafPorts.yaml does not exist. Could not determine karaf port assignment at org.pentaho.platform.osgi.KarafInstancePortFactory.process(KarafInstancePortFactory.java:68) at org.pentaho.platform.osgi.KarafBoot.startup(KarafBoot.java:150) at org.pentaho.di.osgi.registryExtension.OSGIPluginRegistryExtension.init(OSGIPluginRegistryExtension.java:105) at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:558) at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:101) at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:97) at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:75) at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:585) at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:577) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) 14:34:46,075 ERROR [KarafLifecycleListener] The Kettle Karaf Lifycycle Listener failed to execute properly. Releasing lifecycle hold, but some services may be unavailable. java.lang.NullPointerException at org.pentaho.di.core.svg.SvgSupport.isPngName(SvgSupport.java:90) at org.pentaho.di.core.svg.SvgSupport.toSvgName(SvgSupport.java:97) at org.pentaho.di.ui.util.SwtSvgImageUtil.getImageAsResource(SwtSvgImageUtil.java:112) at org.pentaho.di.ui.core.gui.GUIResource.loadCommonImages(GUIResource.java:796) {noformat}

    Pentaho BI Platform Tracking | 9 months ago | Paul Stoellberger
    java.io.FileNotFoundException: File /Users/pstoellberger/Downloads/data-integration/./karaf-copy//etc/KarafPorts.yaml does not exist. Could not determine karaf port assignment
  6. 0

    Karaf - Dev - Startup errors with the trunk

    nabble.com | 1 year ago
    java.io.FileNotFoundException: /Volumes/HD2/java/karaf/assembly/target/apache-karaf-2.1.99-SNAPSHOT/data/cache/bundle5/version0.-1/revision.location (No such file or directory)

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.FileNotFoundException

      File does not exist: /tmp/karaf7576566762912840191/caches/pan/data-1/cache/bundle12/data/config/org/apache/karaf/management.config

      at org.apache.commons.io.FileUtils.forceDelete()
    2. Commons IO
      FileUtils.deleteDirectory
      1. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1915)
      2. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
      3. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
      4. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910)
      5. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
      6. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
      7. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910)
      8. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
      9. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
      10. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910)
      11. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
      12. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
      13. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910)
      14. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
      15. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
      16. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910)
      17. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
      18. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
      19. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910)
      20. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
      21. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
      22. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910)
      23. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
      24. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
      25. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910)
      26. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
      27. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
      28. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910)
      29. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
      30. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
      31. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910)
      32. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
      33. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
      33 frames
    3. org.pentaho.platform
      KarafBoot$1.run
      1. org.pentaho.platform.osgi.KarafBoot$1.run(KarafBoot.java:136)
      1 frame
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame