java.io.FileNotFoundException: atlassian-bamboo.log (Access is denied )

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.

  • Error log {noformat} jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. jvm 1 | jvm 1 | Port = 8085 jvm 1 | Web App = ../webapp jvm 1 | contextPath = / jvm 1 | 2011-02-11 11:01:47.609:INFO::jetty-7.2.1.v20101111 jvm 1 | log4j:ERROR setFile(null,true) call failed. jvm 1 | java.io.FileNotFoundException: atlassian-bamboo.log (Access is denied ) jvm 1 | at java.io.FileOutputStream.openAppend(Native Method) jvm 1 | at java.io.FileOutputStream.<init>(Unknown Source) jvm 1 | at java.io.FileOutputStream.<init>(Unknown Source) jvm 1 | at org.apache.log4j.FileAppender.setFile(FileAppender.java:290) jvm 1 | at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppen der.java:194) jvm 1 | at org.apache.log4j.FileAppender.activateOptions(FileAppender.ja va:164) jvm 1 | at org.apache.log4j.config.PropertySetter.activate(PropertySette r.java:257) jvm 1 | at org.apache.log4j.config.PropertySetter.setProperties(Property Setter.java:133) jvm 1 | at org.apache.log4j.config.PropertySetter.setProperties(Property Setter.java:97) jvm 1 | at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyC onfigurator.java:689) jvm 1 | at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyC onfigurator.java:647) jvm 1 | at org.apache.log4j.PropertyConfigurator.configureRootCategory(P ropertyConfigurator.java:544) jvm 1 | at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyCon figurator.java:440) jvm 1 | at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyCon figurator.java:476) jvm 1 | at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(O ptionConverter.java:471) jvm 1 | at org.apache.log4j.LogManager.<clinit>(LogManager.java:125) jvm 1 | at org.apache.log4j.Logger.getLogger(Logger.java:118) jvm 1 | at com.atlassian.bamboo.setup.BootstrapLoaderListener.<clinit>(B ootstrapLoaderListener.java:28) jvm 1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) jvm 1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) jvm 1 | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unk nown Source) jvm 1 | at java.lang.reflect.Constructor.newInstance(Unknown Source) jvm 1 | at java.lang.Class.newInstance0(Unknown Source) jvm 1 | at java.lang.Class.newInstance(Unknown Source) jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler$Context.creat eListener(ServletContextHandler.java:712) jvm 1 | at org.eclipse.jetty.webapp.StandardDescriptorProcessor.newListe nerInstance(StandardDescriptorProcessor.java:1216) jvm 1 | at org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitLis tener(StandardDescriptorProcessor.java:1186) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Sourc e) jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source) jvm 1 | at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(I terativeDescriptorProcessor.java:80) jvm 1 | at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process (IterativeDescriptorProcessor.java:67) jvm 1 | at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:285) jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppCon text.java:1158) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doStart(Conte xtHandler.java:576) jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext. java:492) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:55) jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(Handl erWrapper.java:93) jvm 1 | at org.eclipse.jetty.server.Server.doStart(Server.java:243) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:55) jvm 1 | at com.atlassian.bamboo.server.Server.main(Server.java:77) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Sourc e) jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source) jvm 1 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimple App.java:240) jvm 1 | at java.lang.Thread.run(Unknown Source) jvm 1 | 2011-02-11 11:01:55,230 INFO [WrapperSimpleAppMain] [lifecycle] Real path of servlet context: C:\Program Files\Bamboo\webapp jvm 1 | 2011-02-11 11:01:55,347 INFO [WrapperSimpleAppMain] [lifecycle] Start ing Bamboo 3.0 (build #2302) jvm 1 | 2011-02-11 11:01:55.349:INFO:/:Initializing Spring root WebApplicatio nContext jvm 1 | 2011-02-11 11:01:56,014 INFO [WrapperSimpleAppMain] [BambooBootstrapP laceholderConfigurer] Loading properties file from class path resource [bamboo-i nit.properties] {noformat}
    via by Michael Truong,
  • Error log {noformat} jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. jvm 1 | jvm 1 | Port = 8085 jvm 1 | Web App = ../webapp jvm 1 | contextPath = / jvm 1 | 2011-02-11 11:01:47.609:INFO::jetty-7.2.1.v20101111 jvm 1 | log4j:ERROR setFile(null,true) call failed. jvm 1 | java.io.FileNotFoundException: atlassian-bamboo.log (Access is denied ) jvm 1 | at java.io.FileOutputStream.openAppend(Native Method) jvm 1 | at java.io.FileOutputStream.<init>(Unknown Source) jvm 1 | at java.io.FileOutputStream.<init>(Unknown Source) jvm 1 | at org.apache.log4j.FileAppender.setFile(FileAppender.java:290) jvm 1 | at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppen der.java:194) jvm 1 | at org.apache.log4j.FileAppender.activateOptions(FileAppender.ja va:164) jvm 1 | at org.apache.log4j.config.PropertySetter.activate(PropertySette r.java:257) jvm 1 | at org.apache.log4j.config.PropertySetter.setProperties(Property Setter.java:133) jvm 1 | at org.apache.log4j.config.PropertySetter.setProperties(Property Setter.java:97) jvm 1 | at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyC onfigurator.java:689) jvm 1 | at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyC onfigurator.java:647) jvm 1 | at org.apache.log4j.PropertyConfigurator.configureRootCategory(P ropertyConfigurator.java:544) jvm 1 | at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyCon figurator.java:440) jvm 1 | at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyCon figurator.java:476) jvm 1 | at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(O ptionConverter.java:471) jvm 1 | at org.apache.log4j.LogManager.<clinit>(LogManager.java:125) jvm 1 | at org.apache.log4j.Logger.getLogger(Logger.java:118) jvm 1 | at com.atlassian.bamboo.setup.BootstrapLoaderListener.<clinit>(B ootstrapLoaderListener.java:28) jvm 1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) jvm 1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) jvm 1 | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unk nown Source) jvm 1 | at java.lang.reflect.Constructor.newInstance(Unknown Source) jvm 1 | at java.lang.Class.newInstance0(Unknown Source) jvm 1 | at java.lang.Class.newInstance(Unknown Source) jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler$Context.creat eListener(ServletContextHandler.java:712) jvm 1 | at org.eclipse.jetty.webapp.StandardDescriptorProcessor.newListe nerInstance(StandardDescriptorProcessor.java:1216) jvm 1 | at org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitLis tener(StandardDescriptorProcessor.java:1186) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Sourc e) jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source) jvm 1 | at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(I terativeDescriptorProcessor.java:80) jvm 1 | at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process (IterativeDescriptorProcessor.java:67) jvm 1 | at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:285) jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppCon text.java:1158) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doStart(Conte xtHandler.java:576) jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext. java:492) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:55) jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(Handl erWrapper.java:93) jvm 1 | at org.eclipse.jetty.server.Server.doStart(Server.java:243) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:55) jvm 1 | at com.atlassian.bamboo.server.Server.main(Server.java:77) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Sourc e) jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source) jvm 1 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimple App.java:240) jvm 1 | at java.lang.Thread.run(Unknown Source) jvm 1 | 2011-02-11 11:01:55,230 INFO [WrapperSimpleAppMain] [lifecycle] Real path of servlet context: C:\Program Files\Bamboo\webapp jvm 1 | 2011-02-11 11:01:55,347 INFO [WrapperSimpleAppMain] [lifecycle] Start ing Bamboo 3.0 (build #2302) jvm 1 | 2011-02-11 11:01:55.349:INFO:/:Initializing Spring root WebApplicatio nContext jvm 1 | 2011-02-11 11:01:56,014 INFO [WrapperSimpleAppMain] [BambooBootstrapP laceholderConfigurer] Loading properties file from class path resource [bamboo-i nit.properties] {noformat}
    via by Michael Truong,
  • 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
    ,
  • Hadoop 2.1.0-beta Release Notes
    via by Unknown author,
    • java.io.FileNotFoundException: atlassian-bamboo.log (Access is denied ) at java.io.FileOutputStream.openAppend(Native Method) at java.io.FileOutputStream.<init>(Unknown Source) at java.io.FileOutputStream.<init>(Unknown Source) at org.apache.log4j.FileAppender.setFile(FileAppender.java:290) at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:194) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:164) at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:133) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:97) at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:689) at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:647) at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:544) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:440) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:476) at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:471) at org.apache.log4j.LogManager.<clinit>(LogManager.java:125) at org.apache.log4j.Logger.getLogger(Logger.java:118) at com.atlassian.bamboo.setup.BootstrapLoaderListener.<clinit>(BootstrapLoaderListener.java:28) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at org.eclipse.jetty.servlet.ServletContextHandler$Context.createListener(ServletContextHandler.java:712) at org.eclipse.jetty.webapp.StandardDescriptorProcessor.newListenerInstance(StandardDescriptorProcessor.java:1216) at org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitListener(StandardDescriptorProcessor.java:1186) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(IterativeDescriptorProcessor.java:80) at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process(IterativeDescriptorProcessor.java:67) at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:285) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1158) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:576) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:93) at org.eclipse.jetty.server.Server.doStart(Server.java:243) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) at com.atlassian.bamboo.server.Server.main(Server.java:77) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) at java.lang.Thread.run(Unknown Source)

    Users with the same issue

    Eric Henderson
    Eric Henderson6 times, last one,
    jpvee
    jpvee1 times, last one,
    Kawada
    Kawada7 times, last one,
    Unknown visitor1 times, last one,
    sriharshakiran
    sriharshakiran2 times, last one,
    137 more bugmates