Bamboo
  1. Bamboo
  2. BAM-8016

Windows x64 installation error: FileNotFoundException (Access is denied) when running BambooConsole.bat

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Answered
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0
    • Component/s: None
    • Labels:
    • Environment:

      Windows 7 x64

    • Last commented by user?:
      true
    • Comments:
      2

      Description

      Error log

      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]
      

        Activity

        Hide
        Mark Chaimungkalanont [Atlassian] added a comment -

        This doesn't block the running of Bamboo, although it means you don't get the atlassian-bamboo.log file. This occurs when you don't have write permission to the installation directory of Bamboo. To correct this, either run BambooCOnsole.bat as a user with the available permissions, or allow the current user permissions to the current running directory.

        Show
        Mark Chaimungkalanont [Atlassian] added a comment - This doesn't block the running of Bamboo, although it means you don't get the atlassian-bamboo.log file. This occurs when you don't have write permission to the installation directory of Bamboo. To correct this, either run BambooCOnsole.bat as a user with the available permissions, or allow the current user permissions to the current running directory.
        Hide
        Mark Chaimungkalanont [Atlassian] added a comment -

        Docced

        Show
        Mark Chaimungkalanont [Atlassian] added a comment - Docced

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Last commented:
              3 years, 9 weeks, 6 days ago