java.io.FileNotFoundException: logs/artifactory.bootstrap.log (No such file or directory)

JFrog JIRA | Yoav Landman | 8 years ago
  1. 0

    Should create the file automatically if it is not there. Currently getting: 14:09:30,933 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - setFile(logs/artifactory.bootstrap.log,true) call failed. java.io.FileNotFoundException: logs/artifactory.bootstrap.log (No such file or directory) at java.io.FileNotFoundException: logs/artifactory.bootstrap.log (No such file or directory) at at java.io.FileOutputStream.openAppend(Native Method) at at java.io.FileOutputStream.<init>(FileOutputStream.java:177) at at java.io.FileOutputStream.<init>(FileOutputStream.java:102) at at ch.qos.logback.core.FileAppender.openFile(FileAppender.java:152) at at ch.qos.logback.core.FileAppender.start(FileAppender.java:101) at at ch.qos.logback.core.rolling.RollingFileAppender.start(RollingFileAppender.java:57) at at ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:92) at at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:304) at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:184) at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:171) at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:48) at at ch.qos.logback.core.joran.spi.Interpreter.play(Interpreter.java:321) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:98) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:74) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:38) at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:43) at at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:88) at at org.slf4j.impl.StaticLoggerBinder.initialize(StaticLoggerBinder.java:70) at at org.slf4j.impl.StaticLoggerBinder.<init>(StaticLoggerBinder.java:61) at at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:48) at at org.slf4j.LoggerFactory.staticInitialize(LoggerFactory.java:83) at at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:73) at at org.artifactory.webapp.servlet.ArtifactoryContextConfigurer.<clinit>(ArtifactoryContextConfigurer.java:44) at at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at at java.lang.Class.newInstance0(Class.java:355) at at java.lang.Class.newInstance(Class.java:308) at at org.mortbay.jetty.webapp.WebXmlConfiguration.newListenerInstance(WebXmlConfiguration.java:649) at at org.mortbay.jetty.webapp.WebXmlConfiguration.initListener(WebXmlConfiguration.java:630) at at org.mortbay.jetty.webapp.WebXmlConfiguration.initWebXmlElement(WebXmlConfiguration.java:367) at at org.mortbay.jetty.webapp.WebXmlConfiguration.initialize(WebXmlConfiguration.java:289) at at org.mortbay.jetty.webapp.WebXmlConfiguration.configure(WebXmlConfiguration.java:222) at at org.mortbay.jetty.webapp.WebXmlConfiguration.configureWebApp(WebXmlConfiguration.java:180) at at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1231) at at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:460) at at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) at at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at at org.mortbay.jetty.Server.doStart(Server.java:222) at at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at at org.artifactory.standalone.main.Main.main(Main.java:72) 14:09:30,933 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Popping appender named [FILE] from the object stack 14:09:30,933 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [/artifactory] to true 14:09:30,934 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - /artifactory level set to INFO 14:09:30,934 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[/artifactory] 14:09:30,937 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[/artifactory] 14:09:30,937 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [org.mortbay] to true 14:09:30,937 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - org.mortbay level set to WARN 14:09:30,937 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[org.mortbay] 14:09:30,937 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[org.mortbay] 2008-12-30 14:09:31,940 [INFO ] (/artifactory ) Determining artifactory.home... 2008-12-30 14:09:31,961 [INFO ] (/artifactory ) Looking for '-Dartifactory.home=<path>' vm parameter... 2008-12-30 14:09:31,961 [INFO ] (/artifactory ) Found vm parameter value: /home/maven/artifactory/current. 2008-12-30 14:09:31,962 [INFO ] (/artifactory ) Using artifactory.home at '/home/maven/artifactory/current'. 2008-12-30 14:09:32,374 [INFO ] (o.a.w.s.ArtifactoryContextConfigurer:52) - _ _ __ _ /\ | | (_)/ _| | | / \ _ __| |_ _| |_ __ _ ___| |_ ___ _ __ _ _ / /\ \ | '__| __| | _/ _` |/ __| __/ _ \| '__| | | | / ____ \| | | |_| | || (_| | (__| || (_) | | | |_| | /_/ \_\_| \__|_|_| \__,_|\___|\__\___/|_| \__, | Version: 1.3.0-rc-2 Revision: 3392 __/ | |___/

    JFrog JIRA | 8 years ago | Yoav Landman
    java.io.FileNotFoundException: logs/artifactory.bootstrap.log (No such file or directory)
  2. 0

    Should create the file automatically if it is not there. Currently getting: 14:09:30,933 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - setFile(logs/artifactory.bootstrap.log,true) call failed. java.io.FileNotFoundException: logs/artifactory.bootstrap.log (No such file or directory) at java.io.FileNotFoundException: logs/artifactory.bootstrap.log (No such file or directory) at at java.io.FileOutputStream.openAppend(Native Method) at at java.io.FileOutputStream.<init>(FileOutputStream.java:177) at at java.io.FileOutputStream.<init>(FileOutputStream.java:102) at at ch.qos.logback.core.FileAppender.openFile(FileAppender.java:152) at at ch.qos.logback.core.FileAppender.start(FileAppender.java:101) at at ch.qos.logback.core.rolling.RollingFileAppender.start(RollingFileAppender.java:57) at at ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:92) at at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:304) at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:184) at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:171) at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:48) at at ch.qos.logback.core.joran.spi.Interpreter.play(Interpreter.java:321) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:98) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:74) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:38) at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:43) at at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:88) at at org.slf4j.impl.StaticLoggerBinder.initialize(StaticLoggerBinder.java:70) at at org.slf4j.impl.StaticLoggerBinder.<init>(StaticLoggerBinder.java:61) at at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:48) at at org.slf4j.LoggerFactory.staticInitialize(LoggerFactory.java:83) at at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:73) at at org.artifactory.webapp.servlet.ArtifactoryContextConfigurer.<clinit>(ArtifactoryContextConfigurer.java:44) at at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at at java.lang.Class.newInstance0(Class.java:355) at at java.lang.Class.newInstance(Class.java:308) at at org.mortbay.jetty.webapp.WebXmlConfiguration.newListenerInstance(WebXmlConfiguration.java:649) at at org.mortbay.jetty.webapp.WebXmlConfiguration.initListener(WebXmlConfiguration.java:630) at at org.mortbay.jetty.webapp.WebXmlConfiguration.initWebXmlElement(WebXmlConfiguration.java:367) at at org.mortbay.jetty.webapp.WebXmlConfiguration.initialize(WebXmlConfiguration.java:289) at at org.mortbay.jetty.webapp.WebXmlConfiguration.configure(WebXmlConfiguration.java:222) at at org.mortbay.jetty.webapp.WebXmlConfiguration.configureWebApp(WebXmlConfiguration.java:180) at at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1231) at at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:460) at at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) at at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at at org.mortbay.jetty.Server.doStart(Server.java:222) at at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at at org.artifactory.standalone.main.Main.main(Main.java:72) 14:09:30,933 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Popping appender named [FILE] from the object stack 14:09:30,933 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [/artifactory] to true 14:09:30,934 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - /artifactory level set to INFO 14:09:30,934 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[/artifactory] 14:09:30,937 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[/artifactory] 14:09:30,937 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [org.mortbay] to true 14:09:30,937 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - org.mortbay level set to WARN 14:09:30,937 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[org.mortbay] 14:09:30,937 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[org.mortbay] 2008-12-30 14:09:31,940 [INFO ] (/artifactory ) Determining artifactory.home... 2008-12-30 14:09:31,961 [INFO ] (/artifactory ) Looking for '-Dartifactory.home=<path>' vm parameter... 2008-12-30 14:09:31,961 [INFO ] (/artifactory ) Found vm parameter value: /home/maven/artifactory/current. 2008-12-30 14:09:31,962 [INFO ] (/artifactory ) Using artifactory.home at '/home/maven/artifactory/current'. 2008-12-30 14:09:32,374 [INFO ] (o.a.w.s.ArtifactoryContextConfigurer:52) - _ _ __ _ /\ | | (_)/ _| | | / \ _ __| |_ _| |_ __ _ ___| |_ ___ _ __ _ _ / /\ \ | '__| __| | _/ _` |/ __| __/ _ \| '__| | | | / ____ \| | | |_| | || (_| | (__| || (_) | | | |_| | /_/ \_\_| \__|_|_| \__,_|\___|\__\___/|_| \__, | Version: 1.3.0-rc-2 Revision: 3392 __/ | |___/

    JFrog JIRA | 8 years ago | Yoav Landman
    java.io.FileNotFoundException: logs/artifactory.bootstrap.log (No such file or directory)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    FileNotFoundException: catalina.base_IS_UNDEFINED/logs/52n-sos-webapp.log (No such file or directory)

    GitHub | 2 years ago | johnjohndoe
    java.io.FileNotFoundException: catalina.base_IS_UNDEFINED/logs/52n-sos-webapp.log (No such file or directory)
  5. 0

    java.lang.ClassCircularityError while deploying artifact on server

    Stack Overflow | 1 year ago | chandu
    java.io.FileNotFoundException: LogisticsServices.log (Access is denied)
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

    logs/artifactory.bootstrap.log (No such file or directory)

    at java.io.FileOutputStream.openAppend()
  2. Java RT
    FileOutputStream.<init>
    1. java.io.FileOutputStream.openAppend(Native Method)
    2. java.io.FileOutputStream.<init>(FileOutputStream.java:177)
    3. java.io.FileOutputStream.<init>(FileOutputStream.java:102)
    3 frames
  3. Logback Core Module
    GenericConfigurator.doConfigure
    1. ch.qos.logback.core.FileAppender.openFile(FileAppender.java:152)
    2. ch.qos.logback.core.FileAppender.start(FileAppender.java:101)
    3. ch.qos.logback.core.rolling.RollingFileAppender.start(RollingFileAppender.java:57)
    4. ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:92)
    5. ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:304)
    6. ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:184)
    7. ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:171)
    8. ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:48)
    9. ch.qos.logback.core.joran.spi.Interpreter.play(Interpreter.java:321)
    10. ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:98)
    11. ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:74)
    12. ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:38)
    12 frames
  4. Logback Classic Module
    ContextInitializer.autoConfig
    1. ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:43)
    2. ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:88)
    2 frames
  5. SLF4J LOG4J-12 Binding
    StaticLoggerBinder.<clinit>
    1. org.slf4j.impl.StaticLoggerBinder.initialize(StaticLoggerBinder.java:70)
    2. org.slf4j.impl.StaticLoggerBinder.<init>(StaticLoggerBinder.java:61)
    3. org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:48)
    3 frames
  6. SLF4J API Module
    LoggerFactory.<clinit>
    1. org.slf4j.LoggerFactory.staticInitialize(LoggerFactory.java:83)
    2. org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:73)
    2 frames
  7. org.artifactory.webapp
    ArtifactoryContextConfigurer.<clinit>
    1. org.artifactory.webapp.servlet.ArtifactoryContextConfigurer.<clinit>(ArtifactoryContextConfigurer.java:44)
    1 frame
  8. Java RT
    Class.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    5. java.lang.Class.newInstance0(Class.java:355)
    6. java.lang.Class.newInstance(Class.java:308)
    6 frames
  9. Jetty Server
    WebAppContext.doStart
    1. org.mortbay.jetty.webapp.WebXmlConfiguration.newListenerInstance(WebXmlConfiguration.java:649)
    2. org.mortbay.jetty.webapp.WebXmlConfiguration.initListener(WebXmlConfiguration.java:630)
    3. org.mortbay.jetty.webapp.WebXmlConfiguration.initWebXmlElement(WebXmlConfiguration.java:367)
    4. org.mortbay.jetty.webapp.WebXmlConfiguration.initialize(WebXmlConfiguration.java:289)
    5. org.mortbay.jetty.webapp.WebXmlConfiguration.configure(WebXmlConfiguration.java:222)
    6. org.mortbay.jetty.webapp.WebXmlConfiguration.configureWebApp(WebXmlConfiguration.java:180)
    7. org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1231)
    8. org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
    9. org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:460)
    9 frames
  10. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    1 frame
  11. Jetty Server
    ContextHandlerCollection.doStart
    1. org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
    2. org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
    2 frames
  12. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    1 frame
  13. Jetty Server
    HandlerCollection.doStart
    1. org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
    1 frame
  14. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    1 frame
  15. Jetty Server
    Server.doStart
    1. org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
    2. org.mortbay.jetty.Server.doStart(Server.java:222)
    2 frames
  16. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    1 frame
  17. org.artifactory.standalone
    Main.main
    1. org.artifactory.standalone.main.Main.main(Main.java:72)
    1 frame