java.io.FileNotFoundException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • This does not interrupt the process and is trivial. {code:none} $ drush -v -u 1 --uri=http://localhost islandora_book_batch_preprocess --type=zip --target=/vagrant/book-batch.zip $ drush -v --user=admin --uri=http://localhost islandora_batch_ingest Initialized Drupal 7.44 root directory at /var/www/drupal [notice] Initialized Drupal site localhost at sites/default [notice] log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: ./fits.log (Permission denied) at java.io.FileOutputStream.open0(Native Method) at java.io.FileOutputStream.open(FileOutputStream.java:270) at java.io.FileOutputStream.<init>(FileOutputStream.java:213) at java.io.FileOutputStream.<init>(FileOutputStream.java:133) at org.apache.log4j.FileAppender.setFile(FileAppender.java:294) at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165) at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104) at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842) at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768) at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:648) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580) at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526) at org.apache.log4j.LogManager.<clinit>(LogManager.java:127) at org.apache.log4j.Logger.getLogger(Logger.java:117) at edu.harvard.hul.ois.fits.Fits.<init>(Fits.java:162) at edu.harvard.hul.ois.fits.Fits.<init>(Fits.java:128) at edu.harvard.hul.ois.fits.Fits.<init>(Fits.java:117) at edu.harvard.hul.ois.fits.Fits.main(Fits.java:261) Sep 21, 2016 6:08:00 PM edu.harvard.hul.ois.jhove.JhoveBase init SEVERE: Testing SEVERE level log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: ./fits.log (Permission denied) at java.io.FileOutputStream.open0(Native Method) at java.io.FileOutputStream.open(FileOutputStream.java:270) at java.io.FileOutputStream.<init>(FileOutputStream.java:213) at java.io.FileOutputStream.<init>(FileOutputStream.java:133) at org.apache.log4j.FileAppender.setFile(FileAppender.java:294) at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165) at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104) at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842) at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768) at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:648) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580) at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526) at org.apache.log4j.LogManager.<clinit>(LogManager.java:127) at org.apache.log4j.Logger.getLogger(Logger.java:117) at edu.harvard.hul.ois.fits.tools.tika.TikaTool.<clinit>(TikaTool.java:368) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at edu.harvard.hul.ois.fits.tools.ToolBelt.init(ToolBelt.java:117) at edu.harvard.hul.ois.fits.tools.ToolBelt.<init>(ToolBelt.java:77) at edu.harvard.hul.ois.fits.Fits.<init>(Fits.java:210) at edu.harvard.hul.ois.fits.Fits.<init>(Fits.java:128) at edu.harvard.hul.ois.fits.Fits.<init>(Fits.java:117) at edu.harvard.hul.ois.fits.Fits.main(Fits.java:261) Command dispatch complete [notice] {code}
    via by Don Richards,
  • GitHub comment 31#174837038
    via GitHub by swapnil70007
    ,
  • SIFT feature extraction
    via GitHub by swapnil70007
    ,
  • Configure FITS webservice log
    via GitHub by ruebot
    ,
  • LOG4j issue
    via GitHub by RoyalMattc
    ,
  • log4j cannot set ${webapp.root} value
    via Stack Overflow by Martin Dai
    ,
  • Nothing there after install
    via GitHub by whiteadam
    ,
  • log4j custom configuration
    via Stack Overflow by maksim2020
    ,
    • java.io.FileNotFoundException: ./fits.log (Permission denied) at java.io.FileOutputStream.open0(Native Method) at java.io.FileOutputStream.open(FileOutputStream.java:270) at java.io.FileOutputStream.<init>(FileOutputStream.java:213) at java.io.FileOutputStream.<init>(FileOutputStream.java:133) at org.apache.log4j.FileAppender.setFile(FileAppender.java:294) at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165) at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104) at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842) at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768) at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:648) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580) at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526) at org.apache.log4j.LogManager.<clinit>(LogManager.java:127) at org.apache.log4j.Logger.getLogger(Logger.java:117) at edu.harvard.hul.ois.fits.Fits.<init>(Fits.java:162) at edu.harvard.hul.ois.fits.Fits.<init>(Fits.java:128) at edu.harvard.hul.ois.fits.Fits.<init>(Fits.java:117) at edu.harvard.hul.ois.fits.Fits.main(Fits.java:261)

    Users with the same issue

    Eric HendersonEric Henderson
    6 times, last one,
    jpveejpvee
    1 times, last one,
    KawadaKawada
    7 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    sriharshakiransriharshakiran
    2 times, last one,
    161 more bugmates